fixed comment
parent
835e994ab3
commit
c1761c5555
|
@ -20,7 +20,7 @@ CURRENTDIR="$BACKUPDIR/current"
|
||||||
POSTFIX=$(date --iso-8601=seconds)
|
POSTFIX=$(date --iso-8601=seconds)
|
||||||
CURRENT_BCKP="$BACKUPDIR/$POSTFIX/"
|
CURRENT_BCKP="$BACKUPDIR/$POSTFIX/"
|
||||||
|
|
||||||
# Backup nextcloud data
|
# Backup data with physical links
|
||||||
rsync -Aax --info=STATS1 --delete --link-dest="$CURRENTDIR" "$SRCDIR" "$CURRENT_BCKP"
|
rsync -Aax --info=STATS1 --delete --link-dest="$CURRENTDIR" "$SRCDIR" "$CURRENT_BCKP"
|
||||||
|
|
||||||
# Create "current" symbolic link to latest backup
|
# Create "current" symbolic link to latest backup
|
||||||
|
|
Loading…
Reference in New Issue