Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm not that great about backing up my site, which is something I want to improve on. Currently, I save backups of my site on my local computer and on an external thumb drive.

I was thinking of purchasing some online storage so I could store my website backups there instead. I'd like to hear about what everyone here does for website backups, thanks.

share|improve this question
add comment

3 Answers

There are a variety of methods and your approach will depend on the type of website you're running and what your budget looks like. If you're working on a basic, small static site on your computer and publishing it to a server somewhere, then you already have two copies (local and the remote server) and are probably safe. You could add a basic service like Dropbox and periodically put a copy in there to push it to another off-site location.

If you're running a more complex site on a dedicated server, then I'd recommend keeping a copy of everything (including database SQL scripts) in a source control system. Services such as Unfuddle offer free basic accounts which will give you access to source control and a basic ticketing system, among other things, which not only keeps a copy of the website in its off-site source control repository, but also tracks changes as they're checked in. You can add to this a service such as Tomahawk, which runs on the server, to keep the server's copy of the files and live data backed up regularly and automatically.

For larger deployments with multiple servers, it's likely that you will have someone with more experience available who can provide guidance and the use of on-site backup tools in concert with more robust off-site backup solutions to ensure nothing is ever lost.

share|improve this answer
add comment

I currently use a cronjob that exports everything in MySQL, and then rsyncs that and everything to my local machine in a Dropbox folder and an external hard drive.

Also, since I use Subversion, the main code itself is backed up both on my local machine and on the SVN server.

However, with so many duplicate versions of the code I would be a bit scared about actually restoring a backup, so any ideas as to how to handle that are welcome.

share|improve this answer
add comment

I tar.gz my site and upload it to dropbox, thats if its under 2 GB

Calum

share|improve this answer
    
+1 Wow, just checked out DropBox, looks like a winner. –  sooprise Apr 17 '11 at 22:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.