package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
CheckObjectExists returns an error if an object already exists with a given parent, parent schema and name.
FindPriorBackups finds "appended" incremental backups by searching for the subdirectories matching the naming pattern (e.g.
GetRedactedBackupNode returns a copy of the argument `backup`, but with all the secret information redacted.
ListFullBackupsInCollection lists full backup paths in the collection of an export store.
ReadBackupManifestFromURI creates an export store from the given URI, then reads and unmarshals a BackupManifest at the standard location in the export storage.
RedactURIForErrorMessage redacts any storage secrets before returning a URI which is safe to return to the client in an error message.
ResolveTargetsToDescriptors performs name resolution on a set of targets and returns the resulting descriptors.
RewriteTableDescs mutates tables to match the ID and privilege specified in descriptorRewrites, as well as adjusting cross-table references to use the new IDs.
WriteDescriptors writes all the the new descriptors: First the ID -> TableDescriptor for the new table, then flip (or initialize) the name -> ID entry so any new queries will use the new one.
# Constants
BackupFormatDescriptorTrackingVersion added tracking of complete DBs.
IncludeManifest is a named const that can be passed to FindPriorBackups.
No description provided by the author
No description provided by the author
OmitManifest is a named const that can be passed to FindPriorBackups.
No description provided by the author
No description provided by the author
# Variables
BackupCheckpointInterval is the interval at which backup progress is saved to durable 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
# Structs
BackupManifest represents a consistent snapshot of ranges.
No description provided by the author
BackupManifest_File represents a file that contains the diff for a key range between two timestamps.
No description provided by the author
No description provided by the author
RestoreProgress is the information that the RestoreData processor sends back to the restore coordinator to update the job progress.
RowCount tracks the size and row/index entry counts.
ScheduledBackupExecutionArgs is the arguments to the scheduled backup executor.
In 20.2 and later, the Statistics object is stored separately from the backup manifest.
# Type aliases
BackupFileDescriptors is an alias on which to implement sort's interface.
DescRewriteMap maps old descriptor IDs to new descriptor and parent IDs.
No description provided by the author
No description provided by the author