summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2011-11-06 20:39:06 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2011-11-06 20:39:06 +0000
commit45502d380d6fc51a99974826cd1ebf7e8af086a9 (patch)
treedcbff62689c21bdbdb73a3f64fdd331bcd5d92f5
parent1f74ff41badd2e4e7f3aa888fd51b566a49e5e3f (diff)
download2011-bkp-origin/trunk.tar.gz
2011-bkp-origin/trunk.tar.bz2
2011-bkp-origin/trunk.zip
Ajustement excludes et conf. L'option rsync -H fait un peu chier : le disque est parcouru en entier avant le premier transfert et c'est super lent sur lud-P4.origin/trunk
git-svn-id: file:///var/svn/2011-bkp/trunk@5 472aae81-79e5-4f1d-a134-eb2ed09d1a98
-rw-r--r--scripts/bkp.ini12
-rw-r--r--scripts/excludes/lud-1800/exclude-home.lst1
-rw-r--r--scripts/excludes/lud-P4/exclude-fichiers.lst1
-rw-r--r--scripts/excludes/lud-msi/exclude-home.lst1
-rw-r--r--scripts/excludes/lud-msi/exclude-rootfs.lst1
5 files changed, 11 insertions, 5 deletions
diff --git a/scripts/bkp.ini b/scripts/bkp.ini
index ddb61d1..ccb7130 100644
--- a/scripts/bkp.ini
+++ b/scripts/bkp.ini
@@ -8,19 +8,21 @@ rsh_command="ssh -l backup -i ./ssh_keys/id_rsa -k -T -x -o PasswordAuthenticati
[lud-1800]
source_possible_addresses=lud-1800,192.168.0.18
rsh_command="ssh -l backup -i ./ssh_keys/id_rsa -k -T -x -o PasswordAuthentication=no -p 22018"
-rsync_source_paths=/,/boot,/home,/opt
+rsync_source_paths=/home,/boot,/opt,/
[lud-msi]
source_possible_addresses=lud-msi,192.168.2.131,192.168.0.10
pre_backup_remote_script_path="/var/backups/backup_hook.sh pre"
post_backup_remote_script_path="/var/backups/backup_hook.sh post"
-rsync_source_paths=/,/home,/mnt/vg_data/lv_wip
+rsync_source_paths=/home,/mnt/vg_data/lv_wip,/
[lud-P4]
-source_possible_addresses=lud-P4,192.168.2.121,192.168.0.4
-rsync_source_paths=/
+source_possible_addresses=lud-P4,192.168.2.210,192.168.0.4
+pre_backup_remote_script_path="/var/backups/backup_hook.sh pre"
+post_backup_remote_script_path="/var/backups/backup_hook.sh post"
+rsync_source_paths=/mnt/fichiers,/mnt/hdd80,/
[piou]
source_possible_addresses=piou.prosoluce.fr
-rsync_source_paths=/home
+rsync_source_paths=/home,/
diff --git a/scripts/excludes/lud-1800/exclude-home.lst b/scripts/excludes/lud-1800/exclude-home.lst
index 7d72b8a..ec2d018 100644
--- a/scripts/excludes/lud-1800/exclude-home.lst
+++ b/scripts/excludes/lud-1800/exclude-home.lst
@@ -5,6 +5,7 @@
*/.local/share/Trash/
*/.macromedia/Flash_Player/
*/.mozilla/firefox/*/Cache/
+*/.pulse/*
*/.thumbnails/
*/.wine/drive_c/users/*/Local Settings/Application Data/Spotify/Storage
*/old/
diff --git a/scripts/excludes/lud-P4/exclude-fichiers.lst b/scripts/excludes/lud-P4/exclude-fichiers.lst
index 3489ab6..385ef0b 100644
--- a/scripts/excludes/lud-P4/exclude-fichiers.lst
+++ b/scripts/excludes/lud-P4/exclude-fichiers.lst
@@ -6,6 +6,7 @@ home/*/.local/share/Last.fm/cache
home/*/.local/share/Trash/
home/*/.macromedia/Flash_Player/
home/*/.mozilla/firefox/*/Cache/
+home/*/.pulse/*
home/*/.thumbnails/
home/*/.wine/drive_c/users/*/Local Settings/Application Data/Spotify/Storage/
home/*/old
diff --git a/scripts/excludes/lud-msi/exclude-home.lst b/scripts/excludes/lud-msi/exclude-home.lst
index 7d72b8a..ec2d018 100644
--- a/scripts/excludes/lud-msi/exclude-home.lst
+++ b/scripts/excludes/lud-msi/exclude-home.lst
@@ -5,6 +5,7 @@
*/.local/share/Trash/
*/.macromedia/Flash_Player/
*/.mozilla/firefox/*/Cache/
+*/.pulse/*
*/.thumbnails/
*/.wine/drive_c/users/*/Local Settings/Application Data/Spotify/Storage
*/old/
diff --git a/scripts/excludes/lud-msi/exclude-rootfs.lst b/scripts/excludes/lud-msi/exclude-rootfs.lst
index 41a2318..6d2aacc 100644
--- a/scripts/excludes/lud-msi/exclude-rootfs.lst
+++ b/scripts/excludes/lud-msi/exclude-rootfs.lst
@@ -1,3 +1,4 @@
tmp/*
var/cache/apt/*
+var/cache/openvas/*
var/lib/mlocate/*