Versions in this module Expand all Collapse all v1 v1.0.1 May 18, 2017 Changes in this version + const BackupDescriptorName + const BackupFormatInitialVersion + var ErrIntOverflowBackup = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthBackup = fmt.Errorf("proto: negative length found during unmarshaling") + func Import(ctx context.Context, db client.DB, startKey, endKey roachpb.Key, ...) (*roachpb.ImportResponse, error) + func MakeKeyRewriterForNewTableID(desc *sqlbase.TableDescriptor, newTableID sqlbase.ID) storageccl.PrefixRewriter + func Restore(ctx context.Context, p sql.PlanHookState, uris []string, ...) (dataSize int64, err error) + func ValidatePreviousBackups(ctx context.Context, uris []string) (hlc.Timestamp, error) + type BackupDescriptor struct + BuildInfo cockroach_build.Info + ClusterID github_com_cockroachdb_cockroach_pkg_util_uuid.UUID + DataSize int64 + Descriptors []cockroach_sql_sqlbase1.Descriptor + Dir cockroach_roachpb3.ExportStorage + EndTime cockroach_util_hlc.Timestamp + Files []BackupDescriptor_File + FormatVersion uint32 + NodeID github_com_cockroachdb_cockroach_pkg_roachpb.NodeID + Spans []cockroach_roachpb1.Span + StartTime cockroach_util_hlc.Timestamp + func Backup(ctx context.Context, p sql.PlanHookState, uri string, ...) (BackupDescriptor, error) + func Load(ctx context.Context, db *gosql.DB, r io.Reader, database, uri string, ...) (BackupDescriptor, error) + func (*BackupDescriptor) Descriptor() ([]byte, []int) + func (*BackupDescriptor) ProtoMessage() + func (m *BackupDescriptor) Marshal() (dAtA []byte, err error) + func (m *BackupDescriptor) MarshalTo(dAtA []byte) (int, error) + func (m *BackupDescriptor) Reset() + func (m *BackupDescriptor) Size() (n int) + func (m *BackupDescriptor) String() string + func (m *BackupDescriptor) Unmarshal(dAtA []byte) error + type BackupDescriptor_File struct + Path string + Sha512 []byte + Span cockroach_roachpb1.Span + func (*BackupDescriptor_File) Descriptor() ([]byte, []int) + func (*BackupDescriptor_File) ProtoMessage() + func (m *BackupDescriptor_File) Marshal() (dAtA []byte, err error) + func (m *BackupDescriptor_File) MarshalTo(dAtA []byte) (int, error) + func (m *BackupDescriptor_File) Reset() + func (m *BackupDescriptor_File) Size() (n int) + func (m *BackupDescriptor_File) String() string + func (m *BackupDescriptor_File) Unmarshal(dAtA []byte) error