Home: Update backup script.
This commit is contained in:
parent
dd17839c41
commit
f4da0b24b5
|
@ -52,6 +52,9 @@
|
||||||
mv ''${paper} ''${path_backup}/paper/ || report "Backup: Failed to save paper!"
|
mv ''${paper} ''${path_backup}/paper/ || report "Backup: Failed to save paper!"
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
rcp_merge_fast ''${path_src}/sync/save/ ''${path_backup}/save/tmp/ || report "Backup: Failed to save game saves!"
|
||||||
|
rcp_merge_fast ''${path_src}/sync/photo/ ''${path_backup}/photo/tmp/ || report "Backup: Failed to save photos!"
|
||||||
|
|
||||||
# Prune media copies.
|
# Prune media copies.
|
||||||
cd ''${path_backup}/paper/
|
cd ''${path_backup}/paper/
|
||||||
archive_prune Paper 7
|
archive_prune Paper 7
|
||||||
|
@ -88,6 +91,7 @@ in {
|
||||||
mount
|
mount
|
||||||
procps
|
procps
|
||||||
pv
|
pv
|
||||||
|
rsync
|
||||||
xz
|
xz
|
||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
|
|
Loading…
Reference in a new issue