add command to dump Unix rights
This commit is contained in:
parent
27b346a20d
commit
6b26d7fc53
|
@ -269,6 +269,12 @@ if [ "${LOCAL_TASKS}" = "1" ]; then
|
||||||
##disklabel sd0 > ${LOCAL_BACKUP_DIR}/partitions
|
##disklabel sd0 > ${LOCAL_BACKUP_DIR}/partitions
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
## Dump rights
|
||||||
|
#getfacl -R /var > ${LOCAL_BACKUP_DIR}/rights-var.txt
|
||||||
|
#getfacl -R /etc > ${LOCAL_BACKUP_DIR}/rights-etc.txt
|
||||||
|
#getfacl -R /usr > ${LOCAL_BACKUP_DIR}/rights-usr.txt
|
||||||
|
#getfacl -R /home > ${LOCAL_BACKUP_DIR}/rights-home.txt
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##### REMOTE BACKUP ###################################################
|
##### REMOTE BACKUP ###################################################
|
||||||
|
|
Loading…
Reference in a new issue