backup : fix checksum notification messages.
This commit is contained in:
parent
c9e9003b12
commit
ff8cf52ac4
|
@ -44,8 +44,8 @@ rm $path_docker/${dow}_*.tgz
|
||||||
|
|
||||||
# Update checksums.
|
# Update checksums.
|
||||||
cd /var/mnt/storage/hot/media/book/ && recursive checksum_create || notify 'Backup : checksum book failed.'
|
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/music/ && recursive checksum_create || notify 'Backup : checksum music failed.'
|
||||||
cd /var/mnt/storage/hot/media/paper/ && recursive checksum_create || notify 'Backup : checksum book failed.'
|
cd /var/mnt/storage/hot/media/paper/ && recursive checksum_create || notify 'Backup : checksum paper failed.'
|
||||||
|
|
||||||
# copy media.
|
# copy media.
|
||||||
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/book/ /var/mnt/backup/backup/tmp/book/ || notify 'backup : copy book failed'
|
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/book/ /var/mnt/backup/backup/tmp/book/ || notify 'backup : copy book failed'
|
||||||
|
|
Reference in a new issue