2 Commits
v0.9 ... v1.0

Author SHA1 Message Date
Bel LaPointe
ec4a28e0eb Fix backup args and change to files type 2020-02-13 07:33:20 -07:00
Bel LaPointe
202aa1a39f extra log 2020-02-13 07:05:27 -07:00

View File

@@ -67,11 +67,11 @@ func EnqueueBackups() {
}
conf := lastn.Config{
N: 3,
Rclone: realpath + "-backups",
Rclone: "/dev/null",
Root: realpath,
Ns: "backups",
Store: "rclone",
Conf: "/dev/null",
Store: "files",
Conf: realpath + "-backups",
}
log.Printf("backups conf: %+v", conf)
lastn, err := lastn.New(conf)
@@ -80,6 +80,7 @@ func EnqueueBackups() {
return
}
ticker := time.NewTicker(time.Hour * 24)
log.Println("backup initial:", err)
if err := lastn.Push(); err != nil {
log.Println("backup failed:", err)
}