LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   backup procedures [ubuntu] (https://www.linuxquestions.org/questions/linux-newbie-8/backup-procedures-%5Bubuntu%5D-642922/)

Jayla 05-17-2008 04:28 PM

backup procedures [ubuntu]
 
Hi

I'm interested in setting up some kind of backup routine for my home PC,

I have a lot of photos and a large mp3 collection, under /home

/home is on a different partition, so I'm safe for re-installs, but I'd like to back this up to dvd

my home drive (and over physical drives mounted to home) comes to nearly 100gb, so to copy these onto DVDs would be some serious effort

Are there any good backup utilities that also compress the files substantially?

Its going to be a hot summer, and my PC is already heating like an oven, I can see a hard disk or two burning out...

Thanks

archShade 05-17-2008 10:37 PM

you could always tar and bzip/gzip but you'd need space to save the the copied files to first.

The over alternative is to back up to a removable HDD if you've got hundred(s) of gigs to back up this would seem more sensible as even if you compress the data its gonna take up a few DVDs to store it.

http://www.maplin.co.uk/Module.aspx?...rce=1&DOY=18m5 My friend got one of these and hes really happy with it though it comes preformatted with NTFS so if your gonna use it with GNU/Linux you will probably want to reformat it (using fdisk, cfdisk, gparted etc) to ext3 or sommit.

the process is then just a case of copying across but I would suggest using rsync rather than cp or whatever you normally use.

you could also cycle directories every other week

sommit like

rsync -av /home /media/NEWHDD/Back_up_Home_A/ - one week
then
rsync -av /home /media/NEWHDD/Back_up_Home_B/ - the next week.

rsyncs great cos it only changes files which have changed it will take longer than cp the first time but after that faster. It also works well over a network so if you set up a backup server then you could set up cron to do it when your asleep and just forget about it

Edit

Using the -z flag will compress the data on the fly check out full details at http://www.samba.org/ftp/rsync/rsync.html or by typing man rsync into a shell


All times are GMT -5. The time now is 12:56 AM.