← Back to team overview

openerp-india team mailing list archive

[Bug 1009798] Re: [extra-addons]auto_backup only works when super-administrator password = admin

 

Hello Dries,

You are absolutely correct, in backup_scheduler.py administrator
password is hard-coded. Also I have checked this at my end and whenever
I changed my super administrator pwd database back up doesn't work
correctly additionally I got the following warning msg on server side.

[db_stable6] INFO:backup:Could'nt backup database db_stable6. Bad
database administrator password for server running at
http://localhost:8069

I have checked your solution and it's working charm,

Thank you!

** Summary changed:

- auto_backup only works when super-administrator password = admin
+ [extra-addons]auto_backup only works when super-administrator password = admin

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => Amit Parik (OpenERP) (amp-openerp)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1009798

Title:
  [extra-addons]auto_backup only works when super-administrator password
  = admin

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  openerp version 6.0.4
  addons-extra
  module: auto_backup

  in the module auto_backup the super administrator password is hard-
  coded. So when it is changed then the backups produce files of 0kb. =>
  no backup and you don't know it :-)

  file: backup_scheduler.py
  line 97
                      bkp = execute(conn, 'dump', 'admin', rec.name)

  I changed it to and this seems to do the job:

                      bkp = execute(conn, 'dump',
  tools.config['admin_passwd'], rec.name)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1009798/+subscriptions


References