Update backup scripts

This commit is contained in:
iFargle 2023-12-26 09:50:07 +09:00
parent 3f31408f4a
commit 434cb85d55

View file

@ -58,32 +58,32 @@ rsync -avr --delete --exclude=luks.img root@nuc-docker01:/Storage/Backups/Manual
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Backups/Backblaze/ /mnt/$drive1/Backups/Backblaze/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Backups/Backblaze/ /mnt/$drive1/Backups/Backblaze/"
rsync -avr --delete root@nuc-docker01:/Storage/Backups/Backblaze/ /mnt/$drive1/Backups/Backblaze/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Backups/Logs/ /mnt/$drive1/Backups/Backblaze/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Backups/Logs/ /mnt/$drive1/Backups/Logs/"
rsync -avr --delete root@nuc-docker01:/Storage/Backups/Logs/ /mnt/$drive1/Backups/Logs/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Backups/Docker/ /mnt/$drive1/Backups/Docker/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Backups/Docker/ /mnt/$drive1/Backups/Docker/"
rsync -avr --delete root@nuc-docker01:/Storage/Backups/Docker/ /mnt/$drive1/Backups/Docker/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/Pictures/ /mnt/$drive1/Pictures/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/Pictures/ /mnt/$drive1/Pictures/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/Pictures/ /mnt/$drive1/Pictures/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/Books/ /mnt/$drive1/Books/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/Books/ /mnt/$drive1/Books/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/Books/ /mnt/$drive1/Books/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/Music/ /mnt/$drive1/Music/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/Music/ /mnt/$drive1/Music/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/Music/ /mnt/$drive1/Music/
# echo -e "================================================================================"
@ -93,32 +93,32 @@ rsync -avr --delete root@nuc-docker01:/Storage/Video/Music/ /mnt/$drive1/Music/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/Movies/ /mnt/$drive2/Movies/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/Movies/ /mnt/$drive2/Movies/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/Movies/ /mnt/$drive2/Movies/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/TV_Shows/[0-9]* /mnt/$drive1/TV_Shows/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[0-9]* /mnt/$drive1/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[0-9]* /mnt/$drive1/TV_Shows/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/TV_Shows/[A-K]* /mnt/$drive1/TV_Shows/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[A-K]* /mnt/$drive1/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[A-E]* /mnt/$drive1/TV_Shows/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/TV_Shows/[L-M]* /mnt/$drive2/TV_Shows/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[L-M]* /mnt/$drive2/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[F-M]* /mnt/$drive2/TV_Shows/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/TV_Shows/[N-Z]* /mnt/$drive3/TV_Shows/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[N-Z]* /mnt/$drive3/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[N-Z]* /mnt/$drive3/TV_Shows/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete /Storage/Video/YouTube /mnt/$drive3/YouTube/"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/YouTube /mnt/$drive3/YouTube/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/YouTube/ /mnt/$drive3/YouTube/
echo -e "================================================================================"
@ -185,7 +185,7 @@ fi
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete --exclude=Downloads/ /Storage/Data/ /mnt/$drive1/Data/"
echo -e "rsync -avr --delete --exclude=Downloads/ root@nuc-docker01:/Storage/Data/ /mnt/$drive1/Data/"
rsync -avr --delete --exclude=Downloads/ root@nuc-docker01:/Storage/Data/ /mnt/$drive1/Data/
echo -e "======= Time: `date`"