[mythtv-users] 5 Db rotate

Bill Meek keemllib at gmail.com
Sat Nov 22 17:02:00 UTC 2014


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

but your path/name may be different, so if the above doesn't work, look
for the right answer in /etc/cron*/*myth* . Don't just run any file you
find, look at its contents to be sure it's doing a backup.

-- 
Bill


More information about the mythtv-users mailing list