mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-03 12:06:04 -04:00
Recommended updates.
This commit is contained in:
parent
e1f1d4a959
commit
572a5300aa
4 changed files with 4 additions and 3 deletions
|
@ -312,7 +312,7 @@ class Database {
|
|||
*/
|
||||
static backup(version) {
|
||||
if (! this.backupPath) {
|
||||
console.info("Backup the database");
|
||||
console.info("Backing up the database");
|
||||
this.backupPath = this.dataDir + "kuma.db.bak" + version;
|
||||
fs.copyFileSync(Database.path, this.backupPath);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue