{{define "backups"}} {{template "layout_start" .}} {{if not .Backup}}
🛡

Biztonsági mentés nincs beállítva

A biztonsági mentés funkció nem aktív.
Kérjük, vegye fel a kapcsolatot a Felhom csapattal a beállításhoz.

{{else}}
{{if .Backup.LastBackup}} {{if .Backup.LastBackup.Success}}
Helyi mentés aktív
{{else}}
Helyi mentés sikertelen
{{end}} {{else}}
Helyi mentés
{{end}}
Távoli mentés
nincs beállítva
{{if .Backup.LastDBDump}}{{len .Backup.LastDBDump.Results}}{{else}}{{len .Backup.DumpFiles}}{{end}}
Adatbázis mentve
{{if .Backup.RepoStats}}{{.Backup.RepoStats.TotalSize}}{{else}}–{{end}}
Tároló méret {{if .Backup.RepoStats}}
{{.Backup.RepoStats.SnapshotCount}} pillanatkép{{end}}

Ütemezés

Adatbázis mentés {{.Backup.DBDumpSchedule}} Következő: {{nextRunLabel .Backup.NextDBDump}}
Restic pillanatkép {{.Backup.ResticSchedule}} Következő: {{nextRunLabel .Backup.NextBackup}}
Karbantartás {{pruneLabel .Backup.PruneSchedule}} Következő: {{nextPruneLabel .Backup.PruneSchedule}}
{{if .Backup.LastBackup}}
Utolsó sikeres mentés: {{fmtTime .Backup.LastBackup.LastRun}} ({{timeAgo .Backup.LastBackup.LastRun}})
Mentés időtartam: {{fmtDuration .Backup.LastBackup.Duration}}
{{else}}
Utolsó sikeres mentés: Még nem futott
{{end}}
Megőrzés: {{.Backup.Retention.KeepDaily}} napi · {{.Backup.Retention.KeepWeekly}} heti · {{.Backup.Retention.KeepMonthly}} havi

Adatbázisok

{{if or .Backup.DumpFiles .Backup.DiscoveredDBs}}
{{if .Backup.LastDBDump}} {{range .Backup.LastDBDump.Results}} {{end}} {{else}} {{range .Backup.DumpFiles}} {{end}} {{end}}
Alkalmazás Típus Méret Utolsó Érvényesítés Állapot
{{.DB.StackName}} {{dbTypeLabel .DB.DBType}} {{if .Error}}–{{else}}{{fmtBytes .Size}}{{end}} {{if .Error}}–{{else}}{{fmtTimeShort $.Backup.LastDBDump.LastRun}}{{end}} {{if .Error}} {{else if .Validation.Valid}} {{.Validation.TableCount}} tábla {{else if .Validation.Error}} Hiba {{else}} {{end}} {{if .Error}} Hiba {{else}} OK {{end}}
{{.StackName}} {{dbTypeLabel .DBType}} {{fmtBytes .Size}} {{fmtTimeShort .ModTime}} {{if .Validation.Valid}} {{.Validation.TableCount}} tábla {{else if .Validation.Error}} Hiba {{else}} {{end}} OK
{{else}}
Nem található adatbázis mentés.
{{end}}

Pillanatképek

{{if .Backup.SnapshotHistory}}
{{range .Backup.SnapshotHistory}} {{end}}
Azonosító Időpont Méret Új fájl Változott
{{shortID .SnapshotID}} {{fmtTime .Time}} {{if .HasStats}}+{{.DataAdded}}{{else}}–{{end}} {{if .HasStats}}{{.FilesNew}}{{else}}–{{end}} {{if .HasStats}}{{.FilesChanged}}{{else}}–{{end}}
{{else}}
Még nincs pillanatkép.
{{end}}

Tároló

Helyszín: {{.Backup.RepoPath}} (helyi)
{{if .Backup.RepoStats}}
Méret: {{.Backup.RepoStats.TotalSize}}
Pillanatképek: {{.Backup.RepoStats.SnapshotCount}}
{{end}}
Integritás: {{if .Backup.LastCheckTime.IsZero}} Még nem ellenőrzött {{else if .Backup.LastCheckOK}} Rendben ({{fmtTime .Backup.LastCheckTime}}) {{else}} Hiba ({{fmtTime .Backup.LastCheckTime}}) {{end}}
Mentett útvonalak:
Távoli másolat:
Nincs beállítva (B2/S3/SFTP támogatás hamarosan)
{{end}} {{template "layout_end" .}} {{end}}