Added backup reason to file name.

This commit is contained in:
Patrick Fairbank
2014-08-28 21:44:22 -07:00
parent 4da39e3d2a
commit 9a880b7fa7
5 changed files with 15 additions and 8 deletions

View File

@@ -132,7 +132,7 @@ func ScheduleSavePostHandler(w http.ResponseWriter, r *http.Request) {
}
// Back up the database.
err = db.Backup()
err = db.Backup("post_scheduling")
if err != nil {
handleWebErr(w, err)
return