Backup software

Lee Braiden lee_b at digitalunleashed.com
Mon Aug 29 07:56:22 UTC 2005


On Monday 29 August 2005 05:15, Charles Yao wrote:
> Any backup software you guys can recommend? im getting tiredof manualy
> copying files on our server to back it up.

I use faubackup.  It's very simple to use, yet complete.

Basically, you have a configuration file, which sets where to store backups, 
and whether to use ssh (advisable) or rsync for backing up remote machines.  
The configuration file also sets how many backup days,weeks,months, and years 
you want.  So, for example, you can say "keep a copy of the last three days, 
four weeks, six months, and two years".

Then there is just a cron file, which is run once each day, and calls 
faubackup for each directory to backup.  The important part of my cron 
scripts (which I slightly altered from debian's defaults) looks something 
like this:

------------------------------

# backup machine1
backup /etc machine1
backup /home machine1
backup /var/lib machine1
backup /usr/local machine1
backup /logs machine1

# backup this machine
backup /etc
backup /home
backup /var/lib
backup /usr/local
backup /www
backup /logs

# backup remote website (hosted with ISP)
backup /htdocs webaccount at websiteserver

------------------------------

I wrote a backup function to make this just a little bit tidier, but even the 
original, which calls faubackup on each of those lines, isn't much different.

Very simple and easy to use, as you can see.  Remote logins are handled by 
SSH's public key method (just run ssh-keygen on your backup server, and 
copy /root/.ssh/id_rsa.pub to the remote 
machine's /root/.ssh/authorized_keys).

You do need to install faubackup on both client and server machines, if you're 
doing network backups.  But it's a very small piece of software anyway, and I 
setup my systems to back up *each other*, so it's perfect for me.

-- 
Lee Braiden
http://www.DigitalUnleashed.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050829/84926a01/attachment.sig>


More information about the ubuntu-users mailing list