mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Do not backup the database
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
fc62cf7e2f
commit
d5feffa117
@ -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 New Issue
Block a user