mirror of https://github.com/vitalif/zbackup
commit
e92b316528
|
@ -15,6 +15,8 @@ int main( int argc, char *argv[] )
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
dPrintf( "ZBackup version %s\n", zbackup_version.c_str() );
|
||||||
|
|
||||||
bool printHelp = false;
|
bool printHelp = false;
|
||||||
vector< char const * > args;
|
vector< char const * > args;
|
||||||
vector< string > passwords;
|
vector< string > passwords;
|
||||||
|
|
|
@ -157,6 +157,7 @@ ExtendedStorageInfo ZBackupBase::loadExtendedStorageInfo(
|
||||||
{
|
{
|
||||||
ExtendedStorageInfo extendedStorageInfo;
|
ExtendedStorageInfo extendedStorageInfo;
|
||||||
Config config( extendedStorageInfo.mutable_config() );
|
Config config( extendedStorageInfo.mutable_config() );
|
||||||
|
config.reset_storable();
|
||||||
config.SET_STORABLE( chunk, max_size, storageInfo.chunk_max_size() );
|
config.SET_STORABLE( chunk, max_size, storageInfo.chunk_max_size() );
|
||||||
config.SET_STORABLE( bundle, max_payload_size,
|
config.SET_STORABLE( bundle, max_payload_size,
|
||||||
storageInfo.bundle_max_payload_size() );
|
storageInfo.bundle_max_payload_size() );
|
||||||
|
|
Loading…
Reference in New Issue