View previous topic :: View next topic |
Author |
Message |
Wesly n00b
Joined: 13 Mar 2005 Posts: 24
|
Posted: Sun Mar 13, 2005 4:04 am Post subject: Backup and restore using LiveCD? |
|
|
I'd like to make a backup of my ext3 partition (where everything expect /boot and swap is stored on) and save the backup on a separate backup partition so i can restore my whole system incase i mess up the partition and can't boot into Gentoo anymore.
More detailed i'm going to try resizing my ext3 partition while keeping the data on it (using PartitionMagic since parted won't work due a bug). Because this operation isn't without data-loss risk i decided to make a backup.
Through the search-function i found two suggested utils: rdiff-backup and rsnapshot.
The problem is that if i mess up the partition when the resize operation goes wrong and can't boot in anymore,...the backup created with these tools are useless since i can't boot with the LiveCD and restore the partition (The Gentoo LiveCD doesn't include the two packages IIRC).
Does anyone know a way to backup the ext3 partition in a way that can be restored from the Gentoo LiveCD (i thought of tar or cp,..but i'm not sure if tar is capable of backing up device files etc)?
Thanks
Last edited by Wesly on Sun Mar 13, 2005 4:22 am; edited 1 time in total |
|
Back to top |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Sun Mar 13, 2005 4:21 am Post subject: |
|
|
Code: |
cp -pidRv /old_drive/* /new_drive/. |
|
|
Back to top |
|
|
Wesly n00b
Joined: 13 Mar 2005 Posts: 24
|
Posted: Sun Mar 13, 2005 10:04 pm Post subject: |
|
|
Thanks for the help.
I made the backup using the suggested command and resized the partition.
Luckily everything went right and the backup was never needed.
Thanks again. |
|
Back to top |
|
|
|