[Skip-CI] Move instead of copy
This commit is contained in:
parent
780ee0f4e2
commit
581aadb8ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue