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

Script fails due to (presumably) double slash "//" in file path. #9

Open
uranderu opened this issue Nov 9, 2021 · 0 comments
Open

Comments

@uranderu
Copy link

uranderu commented Nov 9, 2021

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!

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