Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • uid - Server on which the archive is created;
  • units - properties;
  • storage_type - archive type: 0 - standard old archive type; 1 - cloud old archive type (object). If the parameter is not explicitly specified, then a standard archive is created.

...

Possible ArchiveVolume parameters in the properties section:

ParameterDescription
formattrue if it is necessary to format the created volume. The default is false.
volume_size_gbVolume size in GB. Applicable if format = true.
auto_mounttrue - if it is necessary to mount the created volume. The default is false.
labelVolume label
Parameters for
cloud
object archives only (storage_type = 1):
max_block_size_mbMaximum block size in MB. The default is 64, the range of valid values is [16; 512].
optimal_read_size_mbOptimal size of blocks reading in MB. The default is 4, the range of valid values is [1; max_block_size_mb / 2].
incoming_buffer_size_mbThe incoming buffer size in MB. The default is 3 * max_block_size_mb. The minimum value should be greater than 2 * max_block_size_mb.
block_flush_period_secondsBlock recording period in seconds. The default is 60, the range of valid values is [30; 300].
index_snapshot_max_block_distanceThe maximum number of blocks between indexing operations. The default is 256, the minimum is 16.
sequence_flush_period_secondsSequences recording period in seconds. The default is 60, the minimum is 32.

At the ArchiveVolume level, the connection_params property is also added, with the following parameters:

ParameterRequiredDescription
schema Yes

Volume type. Possible values:

file - local archive on the Server;

smb - network archive with an SMB protocol connection;

azure - archive in Microsoft Azure cloud storage.

Parameters for the file type:
pathYesThe path to the file/disk with the archive.
Parameters for the smb type:
hostYesName of the server with network repository.
smb_shareYesNetwork repository.
pathYesFolder in network repository, where the archive will be stored.
smb_domainNoNetwork repository domain.
userNoUser name.
passwordNoPassword.
Parameters for the azure type:
protocol YesConnection protocol: HTTP or HTTPS.
hostYesAzure server address.
access_keyYesAccess key in base64.
containerYesAzure container.
userYesUser name.
pathNoLocation of the volume folder in Azure.
portNoAzure server port.

Example of creating local archive:

...