add program version to snapshot

This commit is contained in:
Michael Eischer committed 2023-07-07 23:27:10 +02:00
1 parent a280b7364e
commit bbac74b172
4 files changed
+12

No files matched your search

+1
View File
@@ -645,6 +645,7 @@ func runBackup(ctx context.Context, opts BackupOptions, gopts GlobalOptions, ter
Time: timeStamp,
Hostname: opts.Host,
ParentSnapshot: parentSnapshot,
ProgramVersion: "restic " + version,
}
if !gopts.JSON {