Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Published: 2021-04-18

Last modified: 2021-04-18

Problem

Cannot backup vProtect database using GUI

...

Panel
titleexample from the vPortect task console output
ExternalAPIException: File could not be saved: Command execution failed: [/opt/vprotect/scripts/backup_db.sh, /tmp/vprotect_db.sql.gz] Return code: 1 output: [] error: [/opt/vprotect/scripts/backup_db.sh: line 5: /tmp/vprotect_db.sql.gz: Permission denied mysqldump: Got errno 32 on write ].


Solution

Go to the vProtect server host and check permissions to /tmp/vprotect_db.sql.gz file. It should be read and write to vprotect user. Or just remove /tmp/vprotect_db.sql.gz file because that file will be overwritten during the next backup.

...