Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Backup and restore using LiveCD?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Wesly
n00b
n00b


Joined: 13 Mar 2005
Posts: 24

PostPosted: Sun Mar 13, 2005 4:04 am    Post subject: Backup and restore using LiveCD? Reply with quote

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
View user's profile Send private message
thoughtform
l33t
l33t


Joined: 24 May 2004
Posts: 600

PostPosted: Sun Mar 13, 2005 4:21 am    Post subject: Reply with quote

Code:

cp -pidRv /old_drive/* /new_drive/.
Back to top
View user's profile Send private message
Wesly
n00b
n00b


Joined: 13 Mar 2005
Posts: 24

PostPosted: Sun Mar 13, 2005 10:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum