Petite modif pour viter le message de tar :

tar: Removing leading /' from member names
--
Fred

darcs-hash:20031012081816-41617-f3a2540b40a344c805df1f6b7279ed717ce120c6.gz
This commit is contained in:
pauget 2003-10-12 10:18:16 +02:00
parent 4e426cdf44
commit e16f4ed5f3

View file

@ -10,8 +10,10 @@ nom_archive=$temp_dir"/backup_"$(hostname)"_"$(date --iso-8601)".tar.bz2"
nom_selections=$temp_dir"/selections" nom_selections=$temp_dir"/selections"
## Que sauvegarder ? ## Que sauvegarder ?
confs="/etc /usr/cvs-rep /CRANS /usr/scripts /boot/config*" # via tar bzip2 confs="etc usr/cvs-rep CRANS usr/scripts boot/config*" # via tar bzip2
site_web="/home/httpd/CVS-Repository" # via rsync site_web="home/httpd/CVS-Repository" # via rsync
cd /
# tgz le contenu des répertoires # tgz le contenu des répertoires
# ajoute dpkg --get-selections # ajoute dpkg --get-selections