Skip to content
Snippets Groups Projects
Commit 998e7e12 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

FIX sqlite

parent ed850387
No related branches found
No related tags found
1 merge request!101Desktop notification
...@@ -60,17 +60,9 @@ function doSqliteBackup(){ ...@@ -60,17 +60,9 @@ function doSqliteBackup(){
# echo -n " to $TARGET " # echo -n " to $TARGET "
sqlite3 "$DATABASE_FILE" .dump >"${TARGET}" sqlite3 "$DATABASE_FILE" .dump >"${TARGET}"
fetchrc >/dev/null fetchrc >/dev/null
db._compressDumpfile "${TARGET}" db._compressDumpfile "${TARGET}" && echo "$DATABASE_FILE" >"${META}"
# $myrc is last returncode - set in fetchrc ls -l ${TARGET}*
if [ $myrc -eq 0 ]; then
echo -n "gzip ... "
compress_file "${TARGET}"
echo "$DATABASE_FILE" >"${META}"
# else
# echo "ERROR occured - no gzip"
fi
ls -l ${TARGET}*
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment