Incremental Backups using RSYNC and SSH

I was studying last semester in Politecnico di Milano, a great university in Milan, Italy. Anyway, I am taking lots and lots of pictures here (Italy is a beautiful country).

I am saving my pictures on my computer, but WHAT IF something goes wrong with my computer?
So what I am doing is backing up my pictures (also other things as work files) to my NAS SERVER in Brazil during the night, using RSYNC via SSH (Of course it’s an incremental backup, as I have more then 300GB of photos).

On my server I don’t run SSH on the regular port 22. I use, for example the port 223.

rsync -av --update --delete -e 'ssh -p 223' /Users/dansku/MyDocs/Fotografias 
[email protected]:/home/daniel/SERVER/Backups/

Where /Users/dansku/MyDocs/Fotografias is the local dir, and /daniel/SERVER/Backups is the remote dir.

This way, even if my computer is stolen, I know my data is backed up!

Leave a Reply

Your email address will not be published. Required fields are marked *