LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-27-2006, 03:20 AM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
How can I back up my system?


Essentially I want to backup the / partition. What I want to be able to do is if I reformat and install Ubuntu from the install CD, I want to be able to copy the backed up / partition to the new install so that I effectively start where I am again.

Hope that makes sense.
 
Old 04-27-2006, 04:37 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
I just create copies of important config files that I have edited in /var/backups. Check out /etc/cron.daily/standard, which already does this for some files. It is simple to edit and add additional files to back up. Then I back up /var/backups and /home/iball to a CD from time to time.

This way, if I reinstall, I can restore everything as it was before without keeping backups of things that I haven't changed (binaries, etc).

If you want to create an exact copy, try dd. Alternatively, use rsync to a remote computer (if you have one), ie "rsync -avz / root@<remoteServer>:/home/backup" or something.

I hope this helps
--Ian
 
Old 04-27-2006, 10:45 AM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
This is how I will do it
 
Old 04-27-2006, 10:03 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
That looks like a good idea. The only thing I would see as a problem would be the size of the backup tarball. You would possibly need to split the backup over several DVDs, depending on how big the tarball actually is.

Maybe it would be worth doing /home separately, so your data is stored separate from the system files.

--Ian
 
Old 04-28-2006, 03:14 AM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Oh the Ubuntu system i have is quite minimal. The tarball came out at about 1.5GB.

But at least your post sent me in the right direction. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A Simple System Back-Up Suggestion? Yamabob217 Linux - Newbie 2 01-12-2006 11:41 PM
complete system back-up netsurf SUSE / openSUSE 1 06-03-2005 06:59 AM
System Time keeps going back to Moscow hongman Linux - Newbie 7 03-08-2005 04:05 PM
How to back up Thunderbird when system crashed? SonoranFun Linux - Software 8 12-26-2004 11:40 PM
system back-up powadha Linux - Software 1 12-26-2003 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration