exclude mysql and postgres volumes as they are dumped into sql file
This commit is contained in:
parent
92fd1726df
commit
27669cd441
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user