]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
add extract vzdump config methods
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 3 Jun 2016 09:08:07 +0000 (11:08 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Jun 2016 10:04:26 +0000 (12:04 +0200)
commit8898dd7be247733fcf1f557777c8f7f1c848ccea
treebd235b4006f66516efc92a433fb9f3f400cdb7cd
parentdaccf21ef7d7b4df3136d480c87fd22330ae5b8d
add extract vzdump config methods

extract_vzdump_config_tar is an adapted combination
of tar_archive_search_conf() and the first part of
recover_config(), both from PVE::LXC::Create.

a compressed vma backup file needs special error
handling because vma exits as soon as it found the config
file, which the used decompressors treat as error.
PVE/Storage.pm