[mythtv-users] 5 Db rotate

Daryl McDonald darylangela at gmail.com
Sun Nov 23 22:59:30 UTC 2014


On Sat, Nov 22, 2014 at 12:02 PM, Bill Meek <keemllib at gmail.com> wrote:

> On 11/22/2014 08:23 AM, Daryl McDonald wrote:
>
>> Greetings Mythizens, I remember in previous setups having the 5 latest Db
>> backups kept in /var/lib/mythtv/db_backups. That's not happening now, I am
>> getting mythbuntu backups as a result of MCC, but they don't rotate, I go
>> in and cull once in a while. From looking at the wiki I have the backup
>> and
>> restore scripts in /usr/share/mythtv, and I echo'd the location I want the
>> backups to land in, my question is how do I set the frequency to daily and
>> select the time? IIRC this used to happen without a cron job.
>> Sort of related the box doesn't wakeup for Db backups or MFDB's is this
>> even possible?     TIA Daryl
>>
>
> The only automatic backups done by the backend are when the schema changes,
> or for most users, when they upgrade. (I'd like to know if I'm wrong about
> that.)
>
> Like the other replies, I too use a cron script. So, I'd run it manually
> and see what the output says. Probably like this:
>
>     sudo /etc/cron.weekly/mythtv-database
>
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?

>
> Thanks Daryl
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141123/71d12110/attachment.html>


More information about the mythtv-users mailing list