You are herersync
rsync
Accidently hosed a post last night
I accidentally hosed a post last night. I was trying to delete an attachment to a post but instead deleted the entire post. Luckily I have nightly backups, so restore was quick and easy. It was the first time in a LONG time that I've had to restore the database, but I am extremely relieved that my backup system is working perfectly. I also rsync the backups to my home computer they are stored in two different places.,
rsync --delete is dangerous!
I hosed my entire home directory on this server last night with an incorrect rsync command. I tried syncing my svn repository to the server like this:
rsync -az -e ssh --delete /var/svn/repos/ servername:/home/username/