[mythtvnz] How to increase the number of DB backups rotated

Nick Rout nick.rout at gmail.com
Sun Nov 10 05:33:00 GMT 2013


On Sun, Nov 10, 2013 at 11:40 AM, Paulgir <paulgir at gmail.com> wrote:
> Nick Rout suggests in this thread to institute daily DB backups and change
> the  number of copies saved to a larger number (21)
>
> I have moved the mythtv-database to /etc/cron.daily and it is creating a
> backup each day.I also created a backuprc file with this command: echo
> "DBBackupDirectory=/var/lib/mythtv/db_backups" > ~/.mythtv/backuprc and
> added rotate=21 to it. -i.e.
>
> DBBackupDirectory=/var/lib/mythtv/db_backups
> rotate=21
>
>
> But it is still only saving 5 backups.What have I done wrong?
>
> -Paul

Just taking a look to check. That cron script is surely run as root,
but my backuprc file is in ~/.mythtv . I'll need to figure this out...


>
>
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>



More information about the mythtvnz mailing list