backup : fix checksum notification messages.

This commit is contained in:
Dmitry Voronin 2023-12-05 13:02:54 +03:00
parent c9e9003b12
commit ff8cf52ac4

View file

@ -44,8 +44,8 @@ rm $path_docker/${dow}_*.tgz
# Update checksums.
cd /var/mnt/storage/hot/media/book/ && recursive checksum_create || notify 'Backup : checksum book failed.'
cd /var/mnt/storage/hot/media/music/ && recursive checksum_create || notify 'Backup : checksum book failed.'
cd /var/mnt/storage/hot/media/paper/ && recursive checksum_create || notify 'Backup : checksum book failed.'
cd /var/mnt/storage/hot/media/music/ && recursive checksum_create || notify 'Backup : checksum music failed.'
cd /var/mnt/storage/hot/media/paper/ && recursive checksum_create || notify 'Backup : checksum paper failed.'
# copy media.
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/book/ /var/mnt/backup/backup/tmp/book/ || notify 'backup : copy book failed'