[mythtv-users] 5 Db rotate

Hika van den Hoven hikavdh at gmail.com
Mon Nov 24 05:23:15 UTC 2014


Hoi Daryl,

Monday, November 24, 2014, 5:57:52 AM, you wrote:





> On Sun, Nov 23, 2014 at 10:11 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:

> Hoi Daryl,
>  

>  Monday, November 24, 2014, 1:08:36 AM, you wrote:
>  
>  
 >> 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?
>  
>  
>  
>  

> The best way is to even subtly changing the name. But Bill didn't mean
>  that the new job would get removed. He meant that on any upgrade the
>  old weekly job would get reinserted. That's why I love Gentoo, It
>  asks more in knowing what you do, but it also doesn't try to think
>  for you, without asking! It suggests, but always asks!
>  
>  Tot mails,
>    Hika                            mailto:hikavdh at gmail.com
>  


> Understood, but (here in Ubuntu) if the original
> cron.weekly/mythtv-database remains in place (commented out) and
> that same script is created in cron.daily/mythtv-database, then
> upgrades would see no void to fill, correct? problem averted, yes.

Possibly. I don't know the mythbuntu/ubuntu upgrade strategy. In
Gentoo you would be right.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list