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

Issue with writing file to /archive #63

Open
alenmestrov opened this issue Oct 30, 2023 · 1 comment
Open

Issue with writing file to /archive #63

alenmestrov opened this issue Oct 30, 2023 · 1 comment

Comments

@alenmestrov
Copy link

Hi,

when I'm running command docker-compose exec backup ./backup.sh

it gives me following output:

[INFO] Backup starting

2 containers running on host in total
1 containers marked to be stopped during backup

[INFO] Stopping containers

d8413dc4001b

[INFO] Creating backup

tar: Removing leading `/' from member names
/backup/
/backup/prisma-volume/

[INFO] Starting containers back up

d8413dc4001b

[INFO] Waiting before processing

Sleeping 0 seconds...

[INFO] Archiving backup

copied 'backup-2023-10-30T13-52-57.tar.gz' -> '/archive/backup-2023-10-30T13-52-57.tar.gz'
mv: cannot create regular file '/archive/backup-2023-10-30T13-52-57.tar.gz': No such file or directory

[INFO] Cleaning up

removed 'backup-2023-10-30T13-52-57.tar.gz'

[INFO] Collecting metrics

docker_volume_backup
host=8927feb4ae76
size_compressed_bytes=148
containers_total=2
containers_stopped=1
time_wall=1.05225872993469
time_total=1.05225872993469
time_compress=0.0112252235412598
time_upload=0

[INFO] Backup finished

Will wait for next scheduled backup

The issue is in line: mv: cannot create regular file '/archive/backup-2023-10-30T13-52-57.tar.gz': No such file or directory

Do you maybe know what could be the reason for this issue?

Thank you in advance

@alenmestrov
Copy link
Author

Sorry,

I figured it out...
I needed to create folder backups in current folder.

Thank you and kind regards.

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