[ubuntu-uk] Automating find and replace
Gareth France
gareth.france at gmail.com
Wed Sep 17 07:25:32 UTC 2014
Sounds great. My backups are stored on a hard drive here so can't be
compromised but I'd love to find a way to automate it. I'll look into this
later.
On 17 Sep 2014 08:21, "Colin Law" <clanlaw at gmail.com> wrote:
> On 17 September 2014 07:34, Gareth France <gareth.france at gmail.com> wrote:
> > I do keep regular backups however the issue is that this has been sitting
> > silently for some time and changes made since the last clean backup would
> > have been lost.
>
> A VCS is much more than a set of backups. Since the master resides
> away from the website the hacks would never have got into the
> repository. But even if they had somehow got there you could find the
> commit that stored them, unroll just that commit (and put back any
> valid changes made during that commit) and magically your master would
> then be fixed without loosing changes made since then.
>
> Even more than that git gives you a complete history of all the
> changes you have ever made, so when something stops working, but you
> do not notice imediately, you can go back through the history until
> you find the point at which it stopped working so that you can rapidly
> find what it was you did wrong.
>
> Give git a go, it is trivial to setup and once you start using it you
> will wonder how you ever managed without it. Seriously. There are
> many tutorials on getting started.
>
> Colin
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20140917/47cbab23/attachment-0001.html>
More information about the ubuntu-uk
mailing list