backup with xz format

This commit is contained in:
Emmanuel Garette 2022-07-08 10:25:53 +02:00
parent f33c8f2d37
commit b021f59e08

View file

@ -32,7 +32,7 @@ for machine in $MACHINES; do
done done
BACKUP_FILE="$BACKUP_DIR/backup_$machine.tar.bz2" BACKUP_FILE="$BACKUP_DIR/backup_$machine.tar.bz2"
rm -f "$BACKUP_FILE" rm -f "$BACKUP_FILE"
tar -cvjf $BACKUP_FILE $machine tar -cvJf $BACKUP_FILE $machine
done done
if [ -z "$START" ]; then if [ -z "$START" ]; then