[mythtv-users] 5 Db rotate

Daryl McDonald darylangela at gmail.com
Mon Nov 24 00:08:36 UTC 2014


On Nov 23, 2014 6:18 PM, "Bill Meek" <keemllib at gmail.com> wrote:
>
> On 11/23/2014 04:59 PM, Daryl McDonald wrote:
>>
>> I copied the script in cron.weekly into cron.daily, chmod'd it and ran
>> "sudo /etc/cron.daily/mythtv-database" and the backup went to the
location
>> indicated by BE storage directories. Will this now happen automagically
>> every day? and rotate to keep the latest five?
>
>
> It will work the same way as it did when run from the command line.
>
> Note you mentioned that you *copied* the script from weekly to daily.
> That means that once a week, it will run twice. You most likely want
> to remove the weekly version. Also, your distribution is likely to
> put the weekly version back if it's version changes or perhaps during
> an upgrade. Nothing wrong, just be aware if it.
>
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

I gksudo gedited it into the cron.daily, copy and paste from clipboard and
commented out each line in cron.weekly/mythtv-database. This should survive
an upgrade without renewing or removing the #'s, right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141123/4e2b8af3/attachment.html>


More information about the mythtv-users mailing list