update bfds backup script

This commit is contained in:
rob committed 2019-05-02 12:14:34 +02:00
1 parent a1f556d7d1
commit 7285fc4b90
4 files changed
+26 -20

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
#!/bin/bash
rsync -e ssh --rsync-path=/storage/.xbmc/addons/network.backup.rsync/bin/rsync -a --stats --progress /home/rob root@192.168.0.15:/media/3TB/Backup/lappi_rsync
+24
View File
@@ -0,0 +1,24 @@
#!/bin/zsh
sourceDir="/home/rob"
destinationDir="/media/3TB/Backup/tp_t520_d3v"
excludefile='--exclude-from=rsync_exclude_list'
#includefile='--include-from=rsync_include_list'
if [ -d "$sourceDir" ]; then
scope="code"
rsync -arlh --stats --progress $excludefile $includefile $sourceDir/$scope bfds:$destinationDir/$scope
#rsync -arlh "$excludes" "$includes" --stats $sourceDir root@kodi:$destinationDir -vvv
scope="data"
rsync -arlh --stats --progress $excludefile $includefile $sourceDir/$scope bfds:$destinationDir/$scope
#Documents
rsync -arlh --stats --progress $excludefile $includefile $sourceDir/Documents bfds:$destinationDir/Documents
#dotfiles
fi
-16
View File
@@ -1,16 +0,0 @@
#!/bin/zsh
sourceDir="/home/rob/"
destinationDir="/mnt/3TB/Backup/lappi_rsync/rob"
excludefile='--exclude-from=rsync_exclude_list'
#includefile='--include-from=rsync_include_list'
#scriptdir=$(dirname $0)/
#cd $scriptdir
cd /home/rob/code/lokale-scripte/
if [ -d "$sourceDir" ]; then
rsync -arlh --stats --progress $excludefile $includefile $sourceDir sshuser@kodi:$destinationDir
#rsync -arlh "$excludes" "$includes" --stats $sourceDir root@kodi:$destinationDir -vvv
fi
+2 -2
View File
@@ -31,8 +31,8 @@ tmux new-window -n 'code' -d
tmux new-window -n 'c3d2' -d tmux new-window -n 'c3d2' -d
#remotes #remotes
tmux new-window -n 'boogie' -d tmux new-window -n 'gERD' -d
tmux new-window -n 'Mittwald' -d tmux new-window -n 'esycore' -d
tmux new-window -n 'sbz' -d tmux new-window -n 'sbz' -d
tmux new-window -n 'bfds' -d tmux new-window -n 'bfds' -d