![]() ![]() ![]() Sounds difficult, but it’s something you end up doing several times a day, so you get good at it pretty quickly. Them MERGE all you changes back together. Then go about fixing your problems in the TRUNK, or make a BRANCH to fix a specific problem. With just a couple of commands, you can be back to a working TAG. made a huge mistake the client is furious about). The real benefit of having your project in version control is that you can roll back changes that you have made (ex. Keep in mind that just because you have a project under version control, that doesn’t mean it’s backed up, unless you are using a remote repository and/or server. But to be honest, you have to understand the fundamentals of SVN before the GUIs will make any sense to you. You can tell Capistrano to keep X number of versions on the server, compressed if you are several GUIs for Subversion that make managing a repository a little easier. So where is the backup in Capistrano? On the webserver. Trust me, once you capify, you won’t go back. I can take the side down for maintenance, push updates, rollback to previous versions. It allows me to execute a series of remote scripts via SSH on the server to wrap everything up in a tar ball and SCP it back to me. Capistrano is typically used by Ruby on Rails developers, but it works just as well for any website. And it’s farily unobtrusive.įinally, I use Capistrano to manage most of my websites. TM makes getting back to a known state or previous version of a graphic not only simple, but very quick. At first, I thought it was just a gimmick and too simplistic for how I work. Subversion is good too, but branching is a pain. SCM may sound like overkill for static websites, but it’s not. So not only is everything backed up there, I have a complete history of additions, deletions, and changes. I keep my Git repositories on my linux server here in the office. Even if your host does it, consider doing at least a monthly database backup, just in case.įirst, I keep all my sites in SCM. I can’t stress enough how important it is to have backups. I think someone even wrote something up for people using CPanel and S3Sync (the Ruby utility I based my script on). It would certainly be faster/more automated. I have it set to replace an existing copy (I’m not doing anything where I need recursive backups), but it would be easy to set it to store 7 days worth at a time before overwriting.ĭonnie - you could avoid Jungled Disk altogether and just have a separate CRON job that sends the backup straight to S3. It was incredibly easy to do (and I have full instructions/screencast here - they are aimed at (mt) media temple customers but the script can be modified to run on any server that has Ruby installed) and I get and updated copy every day on S3. I run a Ruby script on my webserver that compresses my domain folders and databases and automatically uploads them to my Amazon S3 account. The actual poll is over in the sidebar! RSS Readers will have to make the jump over to the site to actually cast your vote. I have some kind of automated solution.Doesn’t my host do that for me? (maybe, you should check).I wish I was using something a bit more automated though. My entire system is redundantly backed up, so I figured I’m cool there. What I do is periodically download the entire contents of a site (include database dumps) and throw them in backups folder locally. ![]() ![]() So how about it folks? How do you back up websites? Do you do it at all? I have to admit I’m not as good at it as I should be. If you do client work, the duty of backing up is even more important! But… it’s certainly possible and ultimately, you are responsible for your sites. It’s highly unlikely, of course, and it’s more likely that your host does a better job of backing up data than you do. What if you hosting provider calls you one day and tells you they had a catastrophic fire at their facility and every bit of data on their (your!) servers is gone! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |