v2 #2

Merged
shoopea merged 29 commits from v2 into master 2023-08-21 20:03:11 +02:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit f94f9b9f71 - Show all commits

2
box.go
View File

@ -188,7 +188,7 @@ func TransferZfs(from, to Addr) error {
return err
}
if fromSnapshots[fromFromSnapshotId].name != lastToSnapshot.name {
if fromFromSnapshotId < len(fromSnapshots)-1 {
log.WithFields(log.Fields{"from": from, "to": to}).Debugf("transfering from %s to %s", fromSnapshots[fromFromSnapshotId].name, fromSnapshots[len(fromSnapshots)-1].name)
if _, err := to.BoxExec("ssh " + from.Box() + " zfs send -I " + fromSnapshots[fromFromSnapshotId].String() + " " + fromSnapshots[len(fromSnapshots)-1].String() + " | zfs recv -F " + to.Path()); err != nil {

View File

@ -1,7 +1,7 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "3c785de"
var githash = "0e0e5db"
var branch = "v2"
var buildstamp = "2023-06-29_21:24:17"
var commits = "58"
var version = "3c785de-b58 - 2023-06-29_21:24:17"
var buildstamp = "2023-06-29_21:36:34"
var commits = "59"
var version = "0e0e5db-b59 - 2023-06-29_21:36:34"