Linux based backup solutions using RSYNC
November 1, 2006 in Backup, Hosting, Linux
This one is of the more manual kind and requires comand line knowledge and you needs to edit batch files to make it work.
Rsync is a Linux/Unix tool that transfers files from one computer to another.
Here’s an example of the use of RSYNC:
rsync -e ssh -av username@servername.domain.com:remote_directory local_directory
The steps to backup your files can be summarised like this
- Make a directory on your Linux-server to store your backups
- Create daily/weekly/monthly snapshots of your files. I havent researched how to do this yet. There’s lots of documentation of this process on the internet
- Find a way to make incremental backups, maybe RSYNC already does this
- Transfer the files to Dreamhost or another webhoster using RSYNC
Pros
- Can do whatevere you want
- Makes use of incredibly cheap storage
- Can be automated
- Uses encryption and can compress files
Cons
- Requires knowledge of Unix comands
- Dependant of the bandwith of the web hoster. Dreamhost is at times slow.
Popularity: 5% [?]