Saturday, July 11, 2009

Thoughts on Site Backups...

Hey Everyone,

So every major website such as SinlessLinks.com should have a regular backup system. Even if that system is just that someone does a site backup once a week or once a month.

For the longest time that was our backup system. Whenever I remembered and could be hassled to do it, I would make a database backup and a backup of the various files required for the site. Obviously this isn't a very good system... and potentially disasterous if we were to get attacked by some malicious individual.


So overtime I've been playing around with various automatic backup solutions. Finally tonight I've implemented a custom one I've created that is by far my favorite.

Every night, our database and all our site files are automatically backed up. The database is dumped into a file and then all the files are either gzipped or rared.

Now that much is great, but it's also pretty normal. But what if our server were to crash or suffer a harddrive failure? All our backups are on the server. That's a problem. So I went one step further.

After backing up, the files are automatically uploaded to Rapidshare, and the download links for those files are then automatically emailed out to certain designated email addresses.

I think that's a pretty cool system :-). Plus the poetry of it is beautiful. What better way to backup a Rapidshare Links website than to upload it to Rapidshare and save the links?


Learned something cool while testing it too that will make all of you uploaders as jealous as I am right now. The server that the website runs on can upload 40mb to Rapidshare in about 10-15 seconds... that's insanely awesome. Don't we all wish we had that speed?


~SinlessLinks

No comments: