[Skip-CI] Move instead of copy

This commit is contained in:
erik 2023-10-24 14:40:34 +02:00
parent 780ee0f4e2
commit 581aadb8ae

View file

@ -14,7 +14,7 @@ function main() {
# Restore latest snapshot into /var/backups/restore # Restore latest snapshot into /var/backups/restore
restore-directory '/var/backups/restore' restore-directory '/var/backups/restore'
cp -r /var/backups/restore/* /media mv /var/backups/restore/* /media
# adjust file permissions for the taiga user # adjust file permissions for the taiga user
chown -R 999:999 /media chown -R 999:999 /media