summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0ff0a58)
If the file system gets full during tar creation, and the junk files (SQL dumps, partial TAR) stay there, the file system is left with 100% usage.
This may have very unpleasant consequences, so it's best to simply remove those files.
modified: mysql/backup.sh
done
else
echo "Failed to create archive: ${tarname}."
done
else
echo "Failed to create archive: ${tarname}."
+ echo "Cleaning up..."
+ cd ${stordir}
+ rm -rv ${tempdir}