backup: Always print parent snapshot info
This commit is contained in:
parent
a5989707ac
commit
823d0afd6e
1 changed files with 6 additions and 2 deletions
|
@ -532,8 +532,12 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, term *termstatus.Termina
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if !gopts.JSON && parentSnapshotID != nil {
|
if !gopts.JSON {
|
||||||
p.V("using parent snapshot %v\n", parentSnapshotID.Str())
|
if parentSnapshotID != nil {
|
||||||
|
p.P("using parent snapshot %v\n", parentSnapshotID.Str())
|
||||||
|
} else {
|
||||||
|
p.P("no parent snapshot found, will read all files\n")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
selectByNameFilter := func(item string) bool {
|
selectByNameFilter := func(item string) bool {
|
||||||
|
|
Loading…
Add table
Reference in a new issue