HATE BASH
I should test locally probably
This commit is contained in:
parent
1c426f81c2
commit
77998dde1d
|
@ -3,7 +3,7 @@
|
||||||
source /.env
|
source /.env
|
||||||
|
|
||||||
FILENAME="$NAME $(date +%Y-%m-%d\ %H-%M).tgz"
|
FILENAME="$NAME $(date +%Y-%m-%d\ %H-%M).tgz"
|
||||||
DIRNAME = "/tmp/$(date +%Y\/%m)"
|
DIRNAME="/tmp/$(date +%Y\/%m)"
|
||||||
# tar volumes
|
# tar volumes
|
||||||
tar -aczf "$DIRNAME/$FILENAME" -C /volumes .
|
tar -aczf "$DIRNAME/$FILENAME" -C /volumes .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue