Backup and restore onto different hard drive
Paul Gear
paul at libertysys.com.au
Fri Nov 27 21:37:47 GMT 2009
Matthew Hannigan wrote:
> I'd use the -a option to cp rather than dd.
> dd preservies/copies far more than you want or need, and requires
> you to resize afterwards.
>
> So..
>
>
> cd source && cp -a . destination
I have to say i agree with the other guys - cp is not the best option
for filesystem backup/restore/migration. A block-level copy like dd,
clonezilla, etc. is a much better option.
The best option of all, in my opinion, is to use a volume manager like
LVM. When i move my laptop to a larger hard disk, i'll just put the new
hard disk in a caddy, move the volume group using LVM's pvmove, then
reboot with the new hard disk inside.
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paul.vcf
Type: text/x-vcard
Size: 203 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20091128/43705019/attachment.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4646 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20091128/43705019/attachment.bin
More information about the ubuntu-au
mailing list