Skip to content

Issue with writing file to /archive #63

@alenmestrov

Description

@alenmestrov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions