mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-16 18:00:02 -06:00
chore(backup): log when backup starts
This commit is contained in:
@@ -80,8 +80,8 @@ async function backupNow(name: string) {
|
||||
fs.mkdirSync(dataDir.BACKUP_DIR, 0o700);
|
||||
}
|
||||
|
||||
log.info("Creating backup...");
|
||||
await sql.copyDatabase(backupFile);
|
||||
|
||||
log.info(`Created backup at ${backupFile}`);
|
||||
|
||||
return backupFile;
|
||||
|
||||
Reference in New Issue
Block a user