mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
chore(backup): log when backup starts
This commit is contained in:
parent
14b0a9cb18
commit
0acc14fc46
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user