Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in backup #150

Open
omdaezz50 opened this issue Oct 6, 2023 · 0 comments
Open

bug in backup #150

omdaezz50 opened this issue Oct 6, 2023 · 0 comments

Comments

@omdaezz50
Copy link

when i press on backup button this error happen

Traceback (most recent call last):
File "/mnt/extra-addons/queue_job/controllers/main.py", line 104, in runjob
self._try_perform_job(env, job)
File "/mnt/extra-addons/queue_job/controllers/main.py", line 36, in _try_perform_job
job.perform()
File "/mnt/extra-addons/queue_job/job.py", line 517, in perform
self.result = self.func(*tuple(self.args), **self.kwargs)
File "/mnt/extra-addons/saas_backups/models/saas_db_backup.py", line 57, in _create_backup_job
res = self.origin_build_id.operator_id._create_backup(self.origin_build_id.name)
File "/mnt/extra-addons/saas/models/saas_operator.py", line 183, in _create_backup
return self._create_backup_internal(db_name)
File "/mnt/extra-addons/saas/models/saas_operator.py", line 179, in _create_backup_internal
return cluster.create_backup(db_name)
File "/mnt/extra-addons/saas_cluster_simple/main.py", line 132, in create_backup
db.dump_db(db_name, f)
File "", line 2, in dump_db
File "/usr/lib/python3/dist-packages/odoo/service/db.py", line 41, in if_db_mgt_enabled
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/db.py", line 245, in dump_db
odoo.tools.exec_pg_command(*cmd)
File "/usr/lib/python3/dist-packages/odoo/tools/misc.py", line 133, in exec_pg_command
raise Exception('Postgres subprocess %s error %s' % (args2, rc))
Exception: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpfgx_f4u1/dump.sql', 'smart') error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant