Skip to content

Commit

Permalink
Exclusion du répertoire boot lors de la restauration
Browse files Browse the repository at this point in the history
  • Loading branch information
hardware committed Oct 12, 2014
1 parent 18f1466 commit f01c4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ while [[ $EXIT -eq 0 ]]; do
done

echo "> Décompression de l'archive à la racine du système"
tar --warning=none -xpPzf $ARCHIVE -C / --numeric-owner 2> $ERROR_FILE
tar --warning=none -xpPzf $ARCHIVE --exclude=/boot -C / --numeric-owner 2> $ERROR_FILE

if [ -s $ERROR_FILE ]; then
echo -e "\n${CRED}/!\ ERREUR: Echec de la décompression de l'archive.${CEND}"
Expand Down

0 comments on commit f01c4b0

Please sign in to comment.