[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using wildcards to remove archives



On Thu, 14 Mar 2019 16:28:25 -0700
Craig Hartnett <craig.lists@subs4.sitnominedigna.com> wrote:

> Thanks, but wow, that seems unnecessarily complicated and
> time-consuming.
> 
> I think I'll stop naming my back-ups with a time stamp and just use a
> date stamp, and then in my back-up script (which I run once daily)
> I'll use "date" to calculate a date x days in the past and delete
> that single archive. Since this machine isn't on 24/7 I'll have to
> manually remove archives once in a while, but that's preferable to
> the current situation.

Before re-inventing the wheel, take a look at ACTS:

 https://www.tarsnap.com/helper-scripts.html