Fix another damn typo
This commit is contained in:
parent
6210946589
commit
c64386dd4e
@ -42,7 +42,7 @@ for dir in /home/*; do
|
|||||||
tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/"*
|
tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/"*
|
||||||
if (( "$(date +%d)" == "1" )) || [ -f "$forcefile" ]; then
|
if (( "$(date +%d)" == "1" )) || [ -f "$forcefile" ]; then
|
||||||
log "Detected conditions for monthly dump"
|
log "Detected conditions for monthly dump"
|
||||||
if command -v aws > /dev/null 2>&1 && aws s3 ls "s3://$s3bucket " > /dev/null 2>&1; then
|
if command -v aws > /dev/null 2>&1 && aws s3 ls "s3://$s3bucket" > /dev/null 2>&1; then
|
||||||
# Time for huge backups piped straight to S3
|
# Time for huge backups piped straight to S3
|
||||||
tar \
|
tar \
|
||||||
--exclude "$dir/.ansible" \
|
--exclude "$dir/.ansible" \
|
||||||
|
Loading…
Reference in New Issue
Block a user