exclude mysql and postgres volumes as they are dumped into sql file

This commit is contained in:
julien 2025-01-19 17:15:58 +01:00
parent 92fd1726df
commit 27669cd441

View File

@ -27,7 +27,7 @@ if [ -d "volumes" ]; then
# Compress all volumes excerpt mysql and postgres # Compress all volumes excerpt mysql and postgres
BACKUP=${PWD##*/}.tar.zst BACKUP=${PWD##*/}.tar.zst
tar --zstd -cf /tmp/$BACKUP -C volumes . tar --zstd --exclude={"mysql", "postgres"} -cf /tmp/$BACKUP -C volumes .
# Put it into the storage box (pubkey needed) # Put it into the storage box (pubkey needed)
STORAGE_BOX=u442569@u442569.your-storagebox.de STORAGE_BOX=u442569@u442569.your-storagebox.de