← Back to team overview

mythbuntu-bugs team mailing list archive

Re: [Bug 1094739] Re: no way to disable database backup

 

On 13-01-02 11:18 AM, Mario Limonciello wrote:
> I think the easiest solution for you would be to just comment out the
> line in the cron job in /etc.

Yeah.  I've done that in the meanwhile.

> If we ever add something else to that
> cron job it will do a conffile prompt on upgrade.

Right.  Yet another conffile modification to resolve on every upgrade.
There are just too many in Ubuntu in general anymore so thus my search
for an cleaner solution.

> The other solution would be for there to be a switch in something in
> /etc/default/mythtv-database or /etc/default/mythtv-common or similar
> that enabled/disabled the backup.  You would run into the same problem
> with conffile prompts should we add anything to that /etc/default file
> at any time.

Right.  But at least if such changes were in a more common file like
those in /etc/default, there is a hope that one could whack a bunch of
"diff"s all in one file rather than having to resolve multiple files in
a given package.

> What's better for you?

Neither.  :-)  But having to choose one or the other, the latter I
suppose.

Cheers.

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/1094739

Title:
  no way to disable database backup

Status in “mythtv” package in Ubuntu:
  New

Bug description:
  In /etc/cron.weekly/mythtv-database there is:

  /usr/share/mythtv/mythconverg_backup.pl

  Which ends up producing an error:

  ERROR: DBBackupDirectory not specified, stopped at /usr/share/mythtv/mythconverg_backup.pl line 856.
  run-parts: /etc/cron.weekly/mythtv-database exited with return code 255

  if a database backup directory is not specified anywhere.  But in my
  case, I don't specify one because I have an independent database dump
  and backup process attached to my nightly backups so having
  /etc/cron.weekly/mythtv-database do it is redundant.  Yet there is no
  way for me, as a user/admin/operator to opt to disable this backup and
  instead I just get these error messages in my e-mail every week.

  There really ought to be a way for me to prefer to not have the MythTV
  package itself do a backup if I know it's being done elsewhere.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: mythtv-database 2:0.25.3+fixes.20121124.76d9c3e-0ubuntu0mythbuntu3
  ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
  Uname: Linux 3.2.0-31-generic i686
  .var.log.mythtv.mythavtest.log:
   
  .var.log.mythtv.mythtv.setup.log:
   
  .var.log.mythtv.mythutil.log:
   
  .var.log.mythtv.mythwelcome.log:
   
  ApportVersion: 2.0.1-0ubuntu15
  Architecture: i386
  CrashDB: mythbuntu
  Date: Sun Dec 30 14:17:55 2012
  Installed_mythtv_dbg: 2:0.25.3+fixes.20121124.76d9c3e-0ubuntu0mythbuntu3
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: mythtv
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.mysql.conf.d.mythtv.cnf:
   [mysqld]
   bind-address=0.0.0.0
   max_connections=100
  mtime.conffile..etc.mysql.conf.d.mythtv.cnf: 2012-11-28T07:22:17

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1094739/+subscriptions


References