fix(backup): restore db and tests

This commit is contained in:
henry.chen
2023-07-12 17:26:44 +08:00
parent 9a1b4db61a
commit f28d0e77e0
6 changed files with 64 additions and 55 deletions

View File

@@ -29,6 +29,7 @@ func Start(restore bool) (err error) {
if err != nil {
return err
}
logrus.Info("timer: RestoreData success")
}
// parse duration
interval, err := ParseDuration(config.Conf.BackupApp.Interval)