17 lines
457 B
Bash
Executable File
17 lines
457 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "running backup music script at $(date)"
|
|
|
|
backup-scripts/start-backup.sh
|
|
|
|
echo "backing up music!"
|
|
# backup music to backups vm
|
|
rsync --stats --progress -arv --ignore-existing /home/sem/Music/* sem@10.10.100.52:/home/sem/music-backup/songs
|
|
|
|
echo "backing up db!"
|
|
rsync --stats --progress -arv /home/sem/navidrome/* --exclude /home/sem/navidrome/data/cache sem@10.10.100.52:/home/sem/music-backup/navidrome
|
|
|
|
backup-scripts/stop-backup.sh
|
|
|
|
|