Here are options of /etc/backup-manager.conf that are not by default
export BM_REPOSITORY_ROOT="/var/archives"
export BM_ARCHIVE_TTL="7"
export BM_ARCHIVE_METHOD="tarball-incremental"
export BM_TARBALL_FILETYPE="zip"
export BM_TARBALL_DIRECTORIES="/etc /var"
export BM_TARBALL_BLACKLIST="/var/archives"
export BM_TARBALLINC_MASTERDATETYPE="weekly"
export BM_TARBALLINC_MASTERDATEVALUE="0"
export BM_UPLOAD_METHOD="ssh-gpg"
export BM_UPLOAD_HOSTS="xxxx.xxxx.xx"
export BM_UPLOAD_DESTINATION="/home/xxxx-backup/$HOSTNAME/"
export BM_UPLOAD_SSH_USER="xxxx-backup"
export BM_UPLOAD_SSH_KEY="/xxx/xxxx/xxxx-rsa"
export BM_UPLOAD_SSH_HOSTS="xxxx.xxxx.xx"
export BM_UPLOAD_SSH_PORT="22"
export BM_UPLOAD_SSH_DESTINATION="/home/xxxx-backup/$HOSTNAME/"
export BM_UPLOAD_SSH_PURGE="true"
export BM_UPLOAD_SSH_TTL=""
export BM_UPLOAD_SSHGPG_RECIPIENT="xxxxxxxxxx"
export BM_BURNING_METHOD="none"
export BM_PRE_BACKUP_COMMAND="/root/backup-manager-PRE_BACKUP_COMMAND.sh"
the /etc archive is made and exported without problem
The zip compression of /var is launcher but i get not enough space on my hard drive.
the /var/log/user.log show a problem:
backup-manager[29643]: warning * Impossible de créer « /var/archives/xxxx-var.20220517.master.zip », lisez /tmp/bm-tarball.log.XkoNY3 pour les détails.
The end of /tmp/bm-tarball.log.XkoNY3 is:
adding: var/archives/xxxx-etc.20220515.master.zip (stored 0%)
adding: var/archives/xxxx-etc.20220513.master.zip (stored 0%)
adding: var/archives/xxxx-etc.20220514.master.zip (stored 0%)
adding: var/archives/xxxx-var.20220514.master.zip
zip I/O error: No space left on device
zip error: Output file write failure (write error on zip file)
The problem that /var/archives who is the content of BM_TARBALL_BLACKLIST shouldn't be include to the zip !
I am using Debian GNU/Linux 11, kernel SMP Debian 5.10.113-1 (2022-04-29)