[Labs-l] Backups

Ori Livneh ori at wikimedia.org
Tue Dec 11 10:45:48 UTC 2012


For source code, use Git or some other source control management system, and push to a remote repository: either Gerrit, if your code is open source and relevant to MediaWiki / Wikimedia projects, or a third party like GitHub, Bitbucket, Gitorious, etc. (It's quite easy to set up multiple remotes.)

The broad latitude labs gives you to install and configure software makes it relatively easy to implement a backup strategy that suits your particular needs -- have a look at the documentation for rsync, for example. You can also reduce the chance careless errors will result in permanent damage by adopting a suitable file permission scheme. There are also lots of small tricks, like aliasing rm to "rm -i" (which interactively asks you to confirm each deletion). If you explain your needs a bit further, I or something else might be able to offer more specific advice.



On Tuesday, December 11, 2012 at 12:55 AM, legoktm wrote:

> After just accidentally rm -rf'ing all of my files on the bots project, petan informed me on IRC that there are no backups of user files.
> 
> Is this something that can be setup to protect stupid users like myself from problems like this again?
> -- Legoktm
> http://enwp.org/User:Legoktm
> 
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org (mailto:Labs-l at lists.wikimedia.org)
> https://lists.wikimedia.org/mailman/listinfo/labs-l






More information about the Labs-l mailing list