I'd like to do backups to a remote machine.
I think rsync over ssh is probably the best way, but it leaves a problem: the data won't be secured on the remote server, which is essentially an untrusted box.
I could use gpg to encrypt the data before transfer, but this seems a bit of a hack.
Are you trying to backup to a shared account somewhere? You could always get a low cost dedicated server, or a vps. I guess the question is, what is your level of comfort?
Would you be comfortable with people in the remote datacenter having access to your data (they probably do now with your current server). Are you only worried about hackers & other server mates?
I personally backup data to a remote computer that is on a cable conncection. I am the only one with access, but it makes a quick restore a bit of a problem (no charges at all for the server / over bandwidth though)
Keep your customers in the know with www.KnownOutage.com - free alerting software that you host. Did I mention that it's free?
-filtering disables rsync alogrithm
-source filter makes temporary files in /tmp (there should by enough disk space)
-if source filter fails, data is send unfiltered
-failure of destination filter, causes data loss!!!
-if filter changes size of file, you should use --times-only option
to prevent repeated transfers of unchanged files
I agreed, remember you will want to encrypt each file separately, otherwise rsync will copy the entire archive. Also be aware that it will have to copy the entire file, if it has changed, as it will look completely different when you encrypt it.