Hi all, i'm seeing this problem when restoring a database in multiserver setup in db servers. When the job is executed in db servers It seems like the web folder id in /var/backup is not used and therefore the file is not finded. Code: Thu Dec 10 12:20:01 CET 2020 10.12.2020-12:20 - DEBUG - Calling function 'backup_action' from plugin 'backup_plugin' raised by action 'backup_restore'. Thu Dec 10 12:20:01 CET 2020 10.12.2020-12:20 - DEBUG - Restoring MySQL backup /var/backup/web/db_c835aps1_2020-12-02_06-31.sql.gz, backup format "gzip", backup mode "sqlgz" Thu Dec 10 12:20:01 CET 2020 10.12.2020-12:20 - ERROR - Failed to process MySQL backup /var/backup/web/db_c835aps1_2020-12-02_06-31.sql.gz The backup is located in Code: /var/backup/web2321/db_c835aps1_2020-12-02_06-31.sql.gz But when using the restore button it tries to restore Code: /var/backup/web/db_c835aps1_2020-12-02_06-31.sql.gz. Did you seen this behavior before ? Thanks in advance guys
This is a known bug, please try the changes from https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1336/diffs on your system
Thanks Th0m, that fixes the bug: Code: Thu Dec 10 14:24:01 CET 2020 10.12.2020-14:24 - DEBUG - Calling function 'backup_action' from plugin 'backup_plugin' raised by action 'backup_restore'. Thu Dec 10 14:24:02 CET 2020 10.12.2020-14:24 - DEBUG - Restoring MySQL backup /var/backup/web2274/db_c820ddbb998877_2020-09-27_02-47.sql.gz, backup format "gzip", backup mode "sqlgz" Thu Dec 10 14:24:04 CET 2020 10.12.2020-14:24 - DEBUG - safe_exec cmd: gunzip --stdout '/var/backup/web2274/db_c820ddbb998877_2020-09-27_02-47.sql.gz' | mysql -h 'localhost' -u 'root' -p'xxxxx' 'c820ddbb998877' - return code: 0 Thu Dec 10 14:24:04 CET 2020 10.12.2020-14:24 - DEBUG - Restored MySQL backup /var/backup/web2274/db_c820ddbb998877_2020-09-27_02-47.sql.gz