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