Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Question-dump and restore commands
Name: satimis Date: September 4, 2004 at 02:59:55 Pacific OS: Gentoo 1.4 CPU/Ram: PII-350/256MB
Comment:
Hi folks,
Debian
Can I apply dump and restore commands as follow to clone a partition from Drive-A to Drive-B, connected as slave
Drive-A is the system drive Drive-B is a brand drive, partitioned but without formatted
# dump –f - /var | (cd /mnt/var; restore –rf -)
/var is the 'var' partition of Drive-A /mnt/var is the mount point of an empty partition of Drive-B
Name: Jake2 Date: September 5, 2004 at 02:30:14 Pacific
Reply:
You need to make a filesystem on the new drive and mount it first, but your command looks fine to me. Your pipe will survive changing directories and behave as expected.
I would use (and have a few times) "cp -a" or "tar cpf", but that's mostly because the filesystems I use don't have dump/restore. Dump's only advantage seems to be support for incremental backups, but I can do that with rsync, which I need anyway for Gentoo.
0
Response Number 2
Name: satimis Date: September 7, 2004 at 02:50:25 Pacific
Reply:
Hi Jake2,
Tks for your advice.
I'll create filesystem and mount all partitions excluding 'swap' first.
I'll also consider following command line
cp -a -x /boot /mnt/boot etc.
OR find -print | cpio -pdmv /mnt/ for all partitions simultaneiously.
Summary: If you have a tape drive available, dump is your best option. In case of emegency you will need to boot from a media other than your hard disk and restore from tape. There are several live rescue CDs ...
Summary: Hi, I have a computer running WinXP, Win2000 server and Win98. To multiboot, I have installed System Commander 7. Now, I want to add RedHat 8 on this computer. I have done the Os Wizard of Syst...
Summary: ok, now i'm mad. i am so entirely unimpressed with suse even before i can do anything useful with it. well i bit the bullet and picked "upgrade", and it says "where do you want to put me" so i say ho...