mirror of
https://github.com/restic/restic.git
synced 2026-10-13 05:27:13 +00:00
add program version to snapshot
This commit is contained in:
1 parent
a280b7364e
commit
bbac74b172
4 files changed
+12
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user