search for: mypri

Displaying 1 result from an estimated 1 matches for "mypri".

Did you mean: mypi
2014 Nov 12
1
backup script exit with error (probably because of tar warning)
...exit code of 1: "tar: ./private: file changed as we read it" It is related to this line in the backup script: tar cjf ${WHERE}/samba4_${n}.${WHEN}.tar.bz2 $relativedirname --exclude=*.ldb >/ dev/null 2>&1 if [ $? -ne 0 ]; then echo "Error while archiving MYpri ${WHERE}/samba4_${n}.${WHEN}.tar.bz2" exit 1 fi I'm afraid, changing the exit condition, inorder to exclude exit code with 1, would result in unsafe backups? Any ideas? Tanx E. Alaei