diff --git a/app.go b/app.go index d5b0d7b..4bcf509 100644 --- a/app.go +++ b/app.go @@ -655,7 +655,7 @@ func (a AppConfig) SendSnapshots() (err error) { if err != nil && err.Error() != "no snapshot" { return } - _, err = cfg.Box[dest.Box()].SSHExec("ssh " + cfg.Box[src.Box()].User + "@" + src.Box() + " zfs send -I " + string(sCurrSnapshot) + " " + string(sNextSnapshot) + " | -F " + dest.Path() + "/" + src.Box() + "/" + src.Path()) + _, err = cfg.Box[dest.Box()].SSHExec("ssh " + cfg.Box[src.Box()].User + "@" + src.Box() + " zfs send -I " + string(sCurrSnapshot) + " " + string(sNextSnapshot) + " | zfs recv -F " + dest.Path() + "/" + src.Box() + "/" + src.Path()) if err != nil { if *debugFlag { log.Printf("AppConfig.SendSnapshots : %s : Sending snapshot on %s from %s failed (%s)", a.Name, dest.Box(), string(sNextSnapshot), err) diff --git a/version.go b/version.go index cc7e83e..b19b2af 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "3247108" -var buildstamp = "2022-06-17_13:54:46" -var commits = "37" -var version = "3247108-b37 - 2022-06-17_13:54:46" +var githash = "93169ff" +var buildstamp = "2022-06-17_13:57:23" +var commits = "38" +var version = "93169ff-b38 - 2022-06-17_13:57:23"