Hi,
I tryed to backup my mailcow data but got these errors:
root@mail:/opt/mailcow-dockerized# MAILCOW_BACKUP_LOCATION=“/backup” /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all
Using 1 Thread(s) for this run.
Notice: You can set the Thread count with the THREADS Variable before you run this script.
Using /backup as backup/restore location.
Found project name mailcowdockerized
/bin/tar: /vmail: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
/bin/tar: /crypt: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
OK
/bin/tar: /redis: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
/bin/tar: /rspamd: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
/bin/tar: /postfix: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
These are the files in /backup
root@mail:/opt/mailcow-dockerized# ls -l /backup/mailcow-2024-01-25-06-25-10/
total 60
-rw-r–r– 1 root root 45 Jan 25 06:25 backup_crypt.tar.gz
-rw-r–r– 1 root root 235 Jan 25 06:25 backup_mariadb.tar.gz
-rw-r–r– 1 root root 45 Jan 25 06:25 backup_postfix.tar.gz
-rw-r–r– 1 root root 45 Jan 25 06:25 backup_redis.tar.gz
-rw-r–r– 1 root root 45 Jan 25 06:25 backup_rspamd.tar.gz
-rw-r–r– 1 root root 45 Jan 25 06:25 backup_vmail.tar.gz
-rw-r–r– 1 root root 22826 Jan 25 06:25 docker-compose.yml-2024-01-25-06-25-10
-rw——- 1 root root 9512 Jan 25 06:25 mailcow.conf
I tryed to understand the command to find the problem but I did’nt found help to these parameters
docker run –name mailcow-backup –rm -v /backup/mailcow-2024-01-26-13-12-54:/backup:z -v :/vmail:ro,z mailcow/backup:latest /bin/tar –warning=no-file-ignored –use-compress-program=pigz –rsyncable -p 1 -Pcvpf /backup/backup_vmail.tar.gz /vmail
what may be wrong?
I see the variable $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$) is empty
but why?
I see the variable $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$) is empty
but why?
I see the variable $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$) is empty
but why?
[unknown]
I see the variable $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$) is empty
but why?
I see the variable $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$) is empty
but why?