[Labs-l] Backups

Petr Bena benapetr at gmail.com
Tue Dec 11 10:49:11 UTC 2012


-f parameter has higher priority than -i so in this case it would be
ignored. You should never use -f unless you know what you want to do


On Tue, Dec 11, 2012 at 4:45 AM, Ori Livneh <ori at wikimedia.org> wrote:

> 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
>
>
>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20121211/e0273bbc/attachment.html>


More information about the Labs-l mailing list