Updated rsync command to correct owner/group permissions.
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ if [ ! -d "$PAPERLESS_SOURCE" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rsync -av --progress "$PAPERLESS_SOURCE" "$PAPERLESS_DESTINATION"
|
rsync -av --no-owner --no-group --progress "$PAPERLESS_SOURCE" "$PAPERLESS_DESTINATION"
|
||||||
|
|
||||||
# Post-rsync status check for the Paperless-ngx backup directory.
|
# Post-rsync status check for the Paperless-ngx backup directory.
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user