Change rsync options
This commit is contained in:
1 parent
9f76bf82bd
commit
2eab273d16
1 file changed
+1
-1
@@ -76,7 +76,7 @@ if [ ! -z $CARD_READER ]; then
|
|||||||
BACKUP_PATH=$STORAGE_MOUNT_POINT/"$ID"
|
BACKUP_PATH=$STORAGE_MOUNT_POINT/"$ID"
|
||||||
|
|
||||||
# Perform backup using rsync
|
# Perform backup using rsync
|
||||||
rsync -av --exclude "*.id" $CARD_MOUNT_POINT/ $BACKUP_PATH
|
rsync -ah --exclude "*.id" $CARD_MOUNT_POINT/ $BACKUP_PATH
|
||||||
|
|
||||||
# Turn off the ACT LED to indicate that the backup is completed
|
# Turn off the ACT LED to indicate that the backup is completed
|
||||||
sudo sh -c "echo 0 > /sys/class/leds/led0/brightness"
|
sudo sh -c "echo 0 > /sys/class/leds/led0/brightness"
|
||||||
|
|||||||
Reference in new issue
Block a user