rsync thinkpad T520 on bfds
This commit is contained in:
1 parent
c6cee93cf9
commit
3dafc6ab28
5 files changed
+28
-42
No files matched your search
@@ -0,0 +1,11 @@
|
|||||||
|
;Bilder ##lieber nicht ausschließen
|
||||||
|
Trash
|
||||||
|
.local
|
||||||
|
.cache
|
||||||
|
*.deb
|
||||||
|
Downloads
|
||||||
|
Mate8-SD
|
||||||
|
*\[no_backup\]*
|
||||||
|
*\[no_backup\]*.*
|
||||||
|
*.iso
|
||||||
|
*.ISO
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
Noch nicht probiert, was hier funktioniert und was nicht
|
Noch nicht probiert, was hier funktioniert und was nicht
|
||||||
/code
|
/code
|
||||||
/Dokumente
|
/Dokumente
|
||||||
Executable
+16
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
exclude='--exclude-from=rsync_exclude_list'
|
||||||
|
#includefile='--include-from=rsync_include_list'
|
||||||
|
|
||||||
|
sourceDir="/home/rob"
|
||||||
|
destinationDir="/mnt/bfds/rob/backup/thinkpad-T520/home/rob"
|
||||||
|
if [ -d "$sourceDir" ]; then
|
||||||
|
rsync -az --stats --progress $exclude $includefile $sourceDir/$scope bfds:$destinationDir/$scope
|
||||||
|
fi
|
||||||
|
|
||||||
|
sourceDir="/var/www"
|
||||||
|
destinationDir="/mnt/bfds/rob/backup/thinkpad-T520/www"
|
||||||
|
if [ -d "$sourceDir" ]; then
|
||||||
|
rsync -az --stats --progress $exclude $includefile $sourceDir/$scope bfds:$destinationDir/$scope
|
||||||
|
fi
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
;Bilder ##lieber nicht ausschließen
|
|
||||||
#local/share/Trash
|
|
||||||
Trash
|
|
||||||
local/share/Trash
|
|
||||||
.cache
|
|
||||||
*.deb
|
|
||||||
Musik
|
|
||||||
Videos
|
|
||||||
Downloads
|
|
||||||
Mate8-SD
|
|
||||||
*\[no_backup\]*
|
|
||||||
*\[no_backup\]*.*
|
|
||||||
*.iso
|
|
||||||
*.ISO
|
|
||||||
|
|
||||||
network-manager network-manager-gnome wicd wicd-daemon wicd-gtk wpasupplicant
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
Reference in new issue
Block a user