Is there a program you can run that will automaticly save your data on your computer every day or something? so if your site gets hacked and you lose your data then you can just laugh at the hacker and put everything back up? and then fix the problem?
You can do it easily if you are using a *nix system on your computer with a cron job and a little bash scripting
Yes, agree with rootbinbash, it's a very straightforward practice on *nix boxes. Also, if you don't have the capacity or just don't want to pull down hundreds of MB or several GB per day then also look at snapshot backups with rsync.
well of course toby you can use rysnc 2.(you can find detailed info at man pages or http://www.hmug.org/man/1/rsync.php )But i am an old boy so i use old methods First plan what yo want to do.If you want to backup your public_html folder you can write a bash script that can login to ssh via root,gzip the whole public_html,rename it to whatever you want,and move it to anywhere yo want (of course you can download it 2,also you can send it to your pc and delete after sending it).You can do a cron job or if you put it to your local.start it can do automatically when you boot your pc..Etc. Well i dont like backup servers : ) EDIT : But dont forget to remove .bash_history (you have to include it to the script),if not when some1 rooted your server,he can also hack your pc easily cos first 2 things a hacker will do is checkin the users online and .bash_history
Hi, rsync is a well documented tool. Just check Google for something like "rsync backup" and you'll be overwhelmed with info. gzipping an archive and dragging it across the Internet is all very well for small amounts of data but impractical when you have more than a few hundred MB. rsync enables you to just pull the differences across the 'net reducing significantly what it is your drag across thin pipes. Also, if you have databases, don't for get to include a dump of those in your backup. Just mysqldump them to a text file and include them in your gzipped archive. And of course if you use "history" clear it (cat /dev/null > ~/.mysql_history etc.)
I'd go for rsnapshot (google it) if you want to go down the rsync route. rsync will also require shell access. Get a good host with remote backup - probably the easiest way to prevent the issue.