mirror of
https://github.com/restic/restic.git
synced 2026-08-28 08:23:19 +00:00
add program version to snapshot
This commit is contained in:
@@ -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