👔 Optimize watchtower backup format

This commit is contained in:
LittleSheep 2025-01-30 23:59:24 +08:00
parent 7942873e21
commit cf513a7ee8

View File

@ -30,7 +30,7 @@ func BackupDb() error {
outFile := filepath.Join(
backupPath,
fmt.Sprintf("watchtower_db_backup_%s", time.Now().Format("2006-01-02 15:04:05")),
fmt.Sprintf("watchtower_db_backup_%s", time.Now().Format("2006-01-02_15:04:05")),
)
// Reading config