diff --git a/cmd/storagefuncs.go b/cmd/storagefuncs.go index 6a6daec76..60e25485d 100644 --- a/cmd/storagefuncs.go +++ b/cmd/storagefuncs.go @@ -200,9 +200,10 @@ func cmdExportStorage(fl Flags) (int, error) { } hdr := &tar.Header{ - Name: k, - Mode: 0o600, - Size: int64(len(v)), + Name: k, + Mode: 0o600, + Size: int64(len(v)), + ModTime: info.Modified, } if err = tw.WriteHeader(hdr); err != nil {