mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 03:09:22 +01:00
backup-ops2l-vmc.bash: verbose chmod
This commit is contained in:
parent
6104f90c81
commit
d0a7dbd4a7
@ -13,9 +13,9 @@ mkdir -p $BACKUPDIR
|
|||||||
cp -arv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M%S)"
|
cp -arv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M%S)"
|
||||||
|
|
||||||
# Samba is fun with permissions
|
# Samba is fun with permissions
|
||||||
chmod -R 777 $VMCDIR/..
|
chmod -Rv 777 $VMCDIR/..
|
||||||
chmod -R 777 $VMCDIR
|
chmod -Rv 777 $VMCDIR
|
||||||
chmod -R 777 $BACKUPDIR
|
chmod -Rv 777 $BACKUPDIR
|
||||||
|
|
||||||
# If duperemove is installed, perform FS based deduplication of backups
|
# If duperemove is installed, perform FS based deduplication of backups
|
||||||
if hash duperemove 2> /dev/null; then
|
if hash duperemove 2> /dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user