10x backups for not understood data loss
This commit is contained in:
11
main.go
11
main.go
@@ -1,16 +1,17 @@
|
||||
package main
|
||||
|
||||
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"
|
||||
"net/http"
|
||||
"os"
|
||||
"os/signal"
|
||||
"path/filepath"
|
||||
"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() {
|
||||
@@ -53,7 +54,7 @@ func EnqueueBackups() {
|
||||
return
|
||||
}
|
||||
conf := lastn.Config{
|
||||
N: 30,
|
||||
N: 300,
|
||||
Root: realpath,
|
||||
Ns: "backups",
|
||||
Store: "files",
|
||||
|
||||
Reference in New Issue
Block a user