[mythtv-users] mythconverg_backup.pl --rotate 10

Richard Morton richard.e.morton at gmail.com
Sun Apr 3 09:44:00 UTC 2011


> echo "rotate=20" >> $HOME/.mythtv/backuprc
>
> Then, don't specify --rotate on the command line.

$ ls /var/lib/mythtv/backups
mythconverg-1254-20110328033803.sql     mythconverg-1254-20110402033802.sql.gz
mythconverg-1254-20110329033801.sql     mythconverg-1254-20110403033802.sql.gz
mythconverg-1254-20110331221833.sql.gz

$ ls .mythtv
MythBrowser  channels    mysql.txt  remotecache  themes
backuprc     config.xml  osdcache   themecache   tmp

$ cat ~/.mythtv/backuprc
rotate=20


and doing sudo crontab -e (with the same user) has the following line
38 3 * * * /usr/share/mythtv/mythconverg_backup.pl

so unless cronruns with a different user???


More information about the mythtv-users mailing list