Backup and Restore

Tom H tomh0665 at gmail.com
Fri Dec 11 01:52:02 UTC 2009


>>> Using a command in terminal

>>> sudo dump -0uf /dev/sdb1 /

>>> This backs up the system to a external hard drive, how do I retrieve the
>>> information.

>>> The instructions say

>>> cd/xxx
>>> sudo restore -if /dev/sdb1

>>> after using this command nothing happens.

>>> cd/xxx is were the back up is, what instruction do I tell the terminal
>>> to display the contents of sdb1 external hard drive.

>> In your restore command "i" stands for interactive. Is this what you
>> really want? Are you trying to select certain files and directories to
>> restore?

>> If that is the case, I have no idea (and am sorry for the noise)
>> because I have never used that flag, but if you wast to restore your
>> entire dump (assuming that the disk that you want to restore to is
>> sda1 and the disk that you are restoring from is sdb1):
>> mkfs.ext2 -j /dev/sda1
>> mount -t ext3 /dev/sda1 /mnt
>> cd /mnt
>> restore -rf /dev/sdb1

> Thanks Tom

You're welcome.

I should have added yesterday that I _assume_ that if you want to use
"i" you are cd'ing to the wrong directory, the backup directory
whereas, if you follow the logic for a full restore, you should be
cd'ing to the restore directory.




More information about the ubuntu-users mailing list