Saturday, June 28, 2025

Re: does openbsd support file history?

>>
>> No, but your backup system should give you the ability to recover
>> historic versions of files. Maybe not with the granularity you would
>> like.
>
> that's true. daily would be granular enough, though more often would
> be nice.

If you want daily history, irrespective of how many changes were
made that day, then make hard links (-l) to a date-coded directory
using pax in copy mode (-r -w). In this case, your filesystem will
never get smaller even after "deleting" files.

Additional, smarter options are possible with pax, and cron, or both.

J

No comments:

Post a Comment