KB ID: 10039
Product: vProtect
Version: not applicable
Published: 2021-04-18
Last modified: 2021-04-18
Problem
Cannot backup vProtect database using GUI
Panel | ||
---|---|---|
| ||
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 if you don't need it
Panel | ||||
---|---|---|---|---|
| ||||
[root@vprotect ~]# ls -la /tmp/vprotect_db.sql.gz -rw-r--r--. 1 nobody nobody 4123003 Apr 18 22:04 vprotect_db.sql.gz #change permissions: #remove file: [root@vprotect ~]# rm /tmp/vprotect_db.sql.gz |