Version Control for Binary Files?

Augie Fackler raf at durin42.com
Mon Jan 3 22:28:31 UTC 2022



> On Dec 30, 2021, at 10:38 AM, Simon Harrison <info at simonh.uk> wrote:
> 
> Hi list. This is a bit of a stab in the dark, and I'm just after some
> pointers/ideas really. 
> 
> For a project I'm working on, I'm hosting some PDF's, docx's etc for
> various companies. Obviously, files will be added, moved, deleted,
> renamed. 
> 
> What I'm wondering is if there's a program that will take a snapshot
> either at a given time each day, or as changes occur (automatically) so
> a file can be undeleted / restored.
> 
> By the way, this is using Apache httpd and WebDAV shares. I've seen
> that I could use SVN autocommit, but before I go down that road, I'd
> like to know if:
> 
> 1. Could Mercurial do this?

You’d have to write the auto-commit part yourself. For someone conversant in UNIX tooling you could get away with a cron job, I suppose.

> 2. If not, are you aware of another tool that will?

It’s a commercial product, but DropBox gives you that. Syncthing appears to have a (somewhat complicated?) feature for this as well: https://docs.syncthing.net/users/versioning.html <https://docs.syncthing.net/users/versioning.html> and I assume that many of the other OSS DropBox competitors would at least provide that option.

> 3. It's not worth the trouble (my view at the moment).

Do you have a backup tool in use already? That might give you what you need. If you don’t already use one, I’ve had good luck with Restic and there’s a reasonably-priced service (https://relicabackup.com/ <https://relicabackup.com/>) that sounds like it makes Restic even nicer if you don’t have good off-site storage options.

Sorry for the slow response. Holidays and all that.

Augie

> 
> Many thanks for any ideas.
> 
> Simon
> 
> -- 
> Web: https://simonh.uk
> Email: mail at simonh.uk
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20220103/c3226a9a/attachment.html>


More information about the Mercurial mailing list