excluded temp dirs

This commit is contained in:
Nickiel12 2023-11-15 20:40:01 -08:00
parent ef0f4befca
commit e89a705b65

View file

@ -119,7 +119,8 @@ in
echo "Backing up the nextcloud files" echo "Backing up the nextcloud files"
# -a archive | -v verbose # -a archive | -v verbose
rsync -av ${builtins.toString cfg.nextcloud.root_dir} \ rsync -av ${builtins.toString cfg.nextcloud.root_dir} \
${builtins.toString cfg.tmp_mount_point}/nextcloud ${builtins.toString cfg.tmp_mount_point}/nextcloud \
--exclude '*/appdata_*' --exclude "*/files_trashbin/*" --exclude "*/files_versions/*"
echo "Get nextcloud out of maintenance mode so that normal operations can resume" echo "Get nextcloud out of maintenance mode so that normal operations can resume"
nextcloud-occ maintenance:mode --off nextcloud-occ maintenance:mode --off