home : change photo out location.

This commit is contained in:
Dmitry Voronin 2023-11-19 09:19:37 +03:00
parent 343e1d0b83
commit abbc6c92bd
2 changed files with 3 additions and 3 deletions

View file

@ -40,9 +40,9 @@ rm $path_docker/${dow}_*.tgz
# copy media.
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/music/ /var/mnt/backup/backup/music/ || notify 'backup : copy music failed'
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/book/ /var/mnt/backup/backup/book/ || notify 'backup : copy book failed'
# /usr/bin/rsync -a --delete /var/mnt/storage/hot/media/book/ /var/mnt/backup/backup/book/ || notify 'backup : copy book failed'
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/porn/ /var/mnt/backup/backup/porn/ || notify 'backup : copy porn failed'
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/family/ /var/mnt/backup/backup/family/ || notify 'backup : copy family failed'
# /usr/bin/rsync -a --delete /var/mnt/storage/hot/media/family/ /var/mnt/backup/backup/family/ || notify 'backup : copy family failed'
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/paper/ /var/mnt/backup/backup/paper/ || notify 'backup : copy paper failed'
/usr/bin/rsync -a --delete /var/mnt/storage/hot/media/list/ /var/mnt/backup/backup/list/ || notify 'backup : copy list failed'

View file

@ -1,6 +1,6 @@
#!/bin/bash
in="/var/roothome/docker/cloud/data/data/cakee/files/media/photo/"
out="/mnt/storage/hot/media/family/dima/photo/"
out="/var/mnt/backup/backup/family/dima/photo/"
/usr/bin/docker run --rm -v "${in}":/in -v "${out}":/out voronind.com/photoprocess:latest