cd dans le repertoire borg_dir et sauvegarde du repertoire courant

This commit is contained in:
Djan GICQUEL 2022-04-27 20:13:54 +02:00
parent 06067ffe96
commit f62cbfdd5a
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ fi
zenity --warning $W $iconborg --text "L'archive existe déjà."
else
if [ "$VarDossierPresent" != "false" ];then
borg create $borg_excludes $borg_compress $borg_repo::$borg_archive $borg_dir | ZenityPulsate
cd $borg_dir && borg create $borg_excludes $borg_compress $borg_repo::$borg_archive ./ | ZenityPulsate
sync | ZenityPulsate
zenity --notification --text "Sauvegarde $nomsauvegarde terminée"
zenity $W --info --text "Sauvegarde $nomsauvegarde terminée"