# Functions
FileCompression return compression alg based on given file extention.
MergeTimelines merges overlapping sets on timelines it preresumes timelines already sorted and don't start from 0.
New creates a new PBM object.
No description provided by the author
No description provided by the author
No description provided by the author
PITRmetaFromFName parses given file name and returns PITRChunk metadata it returns nil if file wasn't parse successfully (e.g.
ValidateConfigKey checks if a config key valid.
# Constants
No description provided by the author
AgentsStatusCollection is a agents registry with its status/health checks.
BcpCollection is a collection for backups metadata.
BcpOldCollection contains a backup of backups metadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CmdStreamCollection is the name of the mongo collection that contains backup/restore commands stream.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigCollection is the name of the mongo collection that contains PBM configs.
DB is a name of the PBM database.
LockCollection is the name of the mongo collection that is used by agents to coordinate mutually exclusive operations (e.g.
LockOpCollection is the name of the mongo collection that is used by agents to coordinate operations that doesn't need to be mutually exclusive to other operation types (e.g.
LogCollection is the name of the mongo collection that contains PBM logs.
MetadataFileSuffix is a suffix for the metadata file on a storage.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PBMOpLogCollection contains log of aquired locks (hence run ops).
No description provided by the author
PITRChunksCollection contains index metadata of PITR chunks.
PITRChunksOldCollection contains archived index metadata of PITR chunks.
PITRCollection represents current incremental backups state.
PITRdefaultSpan oplog slicing time span.
PITRfsPrefix is a prefix (folder) for PITR chunks on the storage.
No description provided by the author
No description provided by the author
No description provided by the author
RestoresCollection is a collection for restores metadata.
No description provided by the author
No description provided by the author
StatusCollection stores pbm status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TmpUsersCollection and TmpRoles are tmp collections used to avoid user related issues while resoring on new cluster.
# Variables
ErrStorageUndefined is an error for undefined storage.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BackupMeta is a backup's metadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config is a pbm config.
No description provided by the author
No description provided by the author
No description provided by the author
ErrConcurrentOp means lock was already aquired by another node.
ErrDuplicateOp means the operation with the same ID alredy had been running.
No description provided by the author
ErrWasStaleLock - the lock was already got but the operation seems to be staled (no hb from the node).
Lock is a lock for the PBM operation (e.g.
No description provided by the author
LockHeader describes the lock.
MongoLastWrite represents the last write to the MongoDB server.
No description provided by the author
No description provided by the author
NodeInfo represents the mongo's node info.
No description provided by the author
OpLog represents log of started operation.
No description provided by the author
No description provided by the author
PITRChunk is index metadata for the oplog chunks.
PITRConf is a Point-In-Time Recovery options.
No description provided by the author
No description provided by the author
No description provided by the author
RestoreConf is config options for the restore.
No description provided by the author
No description provided by the author
Shard represent config.shard https://docs.mongodb.com/manual/reference/config-database/#config.shards.
No description provided by the author
StorageConf is a configuration of the backup storage.
No description provided by the author
No description provided by the author
# Type aliases
Command represents actions that could be done on behalf of the client by the agents.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplRole is a replicaset role in sharded cluster.
Status is a backup current status.
StorageType represents a type of the destination storage for backups.