You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to create a backup it fails with an tmp directory error and creates a linked file in the /backups directory with no data.
Steps to reproduce
running $ backup-now from the cli
What is the expected correct behavior?
Backup file is created and put in my backup directory.
Relevant logs and/or screenshots
[tiredofit/db-backup:4.1.4 17:23:05 /] $ backup-now
2024-10-27.17:23:09 [INFO] ** [db-backup01] Starting Manual Backup for db-backup01
2024-10-27.17:23:10 [NOTICE] ** [01-mssqlserver__school2021_1] Dumping MSSQL database: 'school2021_1'
cat: /tmp/backups/01_dbbackup.1sHDVM/mssql_school2021_1_mssqlserver_20241027-172310.bak: No such file or directory
2024-10-27.17:23:10 [INFO] ** [01-mssqlserver__school2021_1] DB Backup of 'mssql_school2021_1_mssqlserver_20241027-172310.bak' completed successfully
stat: cannot statx '/tmp/backups/01_dbbackup.1sHDVM/mssql_school2021_1_mssqlserver_20241027-172310.bak': No such file or directory
date: /tmp/backups/01_dbbackup.1sHDVM/mssql_school2021_1_mssqlserver_20241027-172310.bak: No such file or directory
stat: cannot statx '/tmp/backups/01_dbbackup.1sHDVM/mssql_school2021_1_mssqlserver_20241027-172310.bak': No such file or directory
2024-10-27.17:23:10 [NOTICE] ** [01-mssqlserver__school2021_1] Backup of 'mssql_school2021_1_mssqlserver_20241027-172310.bak' created with the size of bytes
chmod: cannot access '/tmp/backups/01_dbbackup.1sHDVM/mssql_school2021_1_mssqlserver_20241027-172310.bak': No such file or directory
mv: cannot stat '/tmp/backups/01_dbbackup.1sHDVM/mssql_school2021_1_mssqlserver_20241027-172310.bak': No such file or directory
2024-10-27.17:23:10 [ERROR] ** [01-mssqlserver__school2021_1] Moving of backup 'mssql_school2021_1_mssqlserver_20241027-172310.bak' reported errors
2024-10-27.17:23:10 [NOTICE] ** [01-mssqlserver__school2021_1] DB Backup for 'school2021_1' time taken: Hours: 0 Minutes: 00 Seconds: 00
2024-10-27.17:23:10 [ERROR] ** [01-mssqlserver__school2021_1] Skipping Cleaning up old backups because there were errors in backing up
2024-10-27.17:23:10 [INFO] ** [01-mssqlserver__school2021_1] Backup 01 routines finish time: 2024-10-27 17:23:10 EDT with exit code 0
2024-10-27.17:23:10 [NOTICE] ** [01-mssqlserver__school2021_1] Backup 01 routines time taken: Hours: 0 Minutes: 00 Seconds: 00
Summary
Whenever I try to create a backup it fails with an tmp directory error and creates a linked file in the /backups directory with no data.
Steps to reproduce
running $ backup-now from the cli
What is the expected correct behavior?
Backup file is created and put in my backup directory.
Relevant logs and/or screenshots
Environment
Docker running on Truenas Scale using Dockge
Possible fixes
Any ideas gratefully appreciated.
The text was updated successfully, but these errors were encountered: