On Saturday, June 28, 2025 8:50:09 AM CDT j@bitminer.ca wrote:
> >> 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
I have pax called from cron every day of the week on the home lab. I hadn't
caught on to the utility of the "-l" (little "ell") option before. You learn
something every day.
No comments:
Post a Comment