add program version to snapshot

This commit is contained in:
Michael Eischer
2023-07-07 23:27:10 +02:00
parent a280b7364e
commit bbac74b172
4 changed files with 12 additions and 0 deletions
+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 {