Script fails due to (presumably) double slash "//" in file path.
Opened this issue · 0 comments
uranderu commented
Hi all,
I cloned the script but I can't get it to work. I changed the password and path (/home/bellerophon/mariadb_backup) variables up top. But every time I run it I get these errors:
[00] 2021-11-09 18:50:17 Error: cannot open /home/bellerophon/mariadb_backup/incr/2021-11-09_18-37-04/2021-11-09_18-50-00//xtrabackup_checkpoints
[00] 2021-11-09 18:50:17 mariabackup: error: failed to read metadata from /home/bellerophon/mariadb_backup/incr/2021-11-09_18-37-04/2021-11-09_18-50-00//xtrabackup_checkpoints
Full log:
----------------------------
run-mariabackup.sh: MySQL backup script
started: Tue Nov 9 18:50:17 CET 2021
Lock directory created
Check completed OK
New incremental backup
[00] 2021-11-09 18:50:17 Error: cannot open /home/bellerophon/mariadb_backup/incr/2021-11-09_18-37-04/2021-11-09_18-50-00//xtrabackup_checkpoints
[00] 2021-11-09 18:50:17 mariabackup: error: failed to read metadata from /home/bellerophon/mariadb_backup/incr/2021-11-09_18-37-04/2021-11-09_18-50-00//xtrabackup_checkpoints
Cleaning up old backups (older than 40320 minutes) and temporary files
took 0 seconds
completed: Tue Nov 9 18:50:17 CET 2021
Lock directory removed
I'm using Ubuntu 20.04.03 LTS (LXC container) and MariaDB server version: 10.3.31-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04
Thanks in advance!