1
0
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:
DL6ER 2019-02-03 16:45:19 +01:00
parent fc62cf7e2f
commit d5feffa117
No known key found for this signature in database
GPG Key ID: FB60471F0575164A

View File

@ -104,9 +104,6 @@ gravity_store_in_database() {
generate_gravity_database
fi
# Backup gravity database
cp "${gravityDBfile}" "${gravityDBfile}.bck"
# Empty domains
output=$( { sqlite3 "${gravityDBfile}" <<< "DELETE FROM ${table};"; } 2>&1 )
status="$?"