10x backups for not understood data loss

This commit is contained in:
bel
2025-12-24 20:28:50 -07:00
parent ce0750db66
commit d32df3bec9

11
main.go
View File

@@ -1,16 +1,17 @@
package main package main
import ( import (
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/firestormy/server"
"gitea.inhome.blapointe.com/local/lastn/lastn"
"log" "log"
"net/http" "net/http"
"os" "os"
"os/signal" "os/signal"
"path/filepath" "path/filepath"
"time" "time"
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/firestormy/server"
"gitea.inhome.blapointe.com/local/lastn/lastn"
) )
func main() { func main() {
@@ -53,7 +54,7 @@ func EnqueueBackups() {
return return
} }
conf := lastn.Config{ conf := lastn.Config{
N: 30, N: 300,
Root: realpath, Root: realpath,
Ns: "backups", Ns: "backups",
Store: "files", Store: "files",