mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
excluded temp dirs
This commit is contained in:
parent
ef0f4befca
commit
e89a705b65
1 changed files with 2 additions and 1 deletions
|
@ -119,7 +119,8 @@ in
|
|||
echo "Backing up the nextcloud files"
|
||||
# -a archive | -v verbose
|
||||
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"
|
||||
nextcloud-occ maintenance:mode --off
|
||||
|
|
Loading…
Reference in a new issue