This code is clearly duplicated (see ZBackupBase::initStorage).