mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Do not backup the database
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
fc62cf7e2f
commit
d5feffa117
1 changed files with 0 additions and 3 deletions
|
@ -104,9 +104,6 @@ gravity_store_in_database() {
|
||||||
generate_gravity_database
|
generate_gravity_database
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Backup gravity database
|
|
||||||
cp "${gravityDBfile}" "${gravityDBfile}.bck"
|
|
||||||
|
|
||||||
# Empty domains
|
# Empty domains
|
||||||
output=$( { sqlite3 "${gravityDBfile}" <<< "DELETE FROM ${table};"; } 2>&1 )
|
output=$( { sqlite3 "${gravityDBfile}" <<< "DELETE FROM ${table};"; } 2>&1 )
|
||||||
status="$?"
|
status="$?"
|
||||||
|
|
Loading…
Reference in a new issue