]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
Expand archive_info to include ctime, vmid and is_std_name
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 4 Jun 2020 09:08:34 +0000 (11:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 17:38:02 +0000 (19:38 +0200)
commitfb821c18289a1b5c4b889b7b19af5fd24a6cdb46
treeecc519d34230007bd97a1cf6ec1fd428acc475af
parentddf7fdaa823dd422730cf79d81e9937b4af48897
Expand archive_info to include ctime, vmid and is_std_name

where 'is_std_name' shows whether the backup name uses the standard naming
schema and most likely was created by our tools.

Also adds a '^' to the existing filename matching regex, which
should be fine since basename() is used beforehand.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Storage.pm
PVE/Storage/Plugin.pm
test/archive_info_test.pm