10x backups for not understood data loss
This commit is contained in:
11
main.go
11
main.go
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user