Backup : Update paths.

This commit is contained in:
Dmitry Voronin 2024-01-12 20:16:24 +03:00
parent a4a9666926
commit 3a9007dcac

View file

@ -37,8 +37,8 @@ shopt -s dotglob
cd "${path_src}" cd "${path_src}"
# Save media list. # Save media list.
find ${path_media} -type d > ${path_backup}/media/ColdMedia.txt || report "Backup : Failed to save media list!" find ${path_media} -type d > ${path_backup}/media/cold/ColdMedia.txt || report "Backup : Failed to save media list!"
cd ${path_backup}/media/ cd ${path_backup}/media/cold/
archive_fast ColdMedia.txt && rm ColdMedia.txt || report "Backup : Failed to archive media list!" archive_fast ColdMedia.txt && rm ColdMedia.txt || report "Backup : Failed to archive media list!"
cd - cd -