Scheduled Backups of Home Directory

Clive Menzies clive at clivemenzies.co.uk
Mon Aug 7 09:06:01 UTC 2006


On (06/08/06 23:47), Gregory PiƱero wrote:
> I want to start running scheduled backups of my home directory.  I
> have my eye on writing a bash script to mount my second hard drive
> (ext3 format) and then run rsync on /home.
> 
> Here are the questions I'm having:
> 1. I'm thinking mount and maybe rsync of /home involve sudo.
> a. Is that true?
> b. How can I schedule/automate a script that needs root privledges?
> 
> 2. Is there a way to tell the rsync command to exclude directories?
> a. It's no big deal if I can't, I'm just curious since I obviously
> don't care about the trash folders, etc.
> 
> 3. What file changes detections method is best, checksum, time, or
> something else?  I think these are options?

I put up some notes with useful references to do something like this:

http://clivemenzies.co.uk/help/index.php?option=com_content&task=category&sectionid=8&id=33&Itemid=58

The setup has been running for 18 months.

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business






More information about the ubuntu-users mailing list