Home: Backup use rcp_merge.

This commit is contained in:
Dmitry Voronin 2024-12-12 22:21:21 +03:00
parent 0ee66b4f0f
commit 52e743f5fa
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -52,8 +52,8 @@
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 ''${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!" rcp_merge ''${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/