backup

package
v0.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package backup provides physical database backup utility functions intended to be called from a Config Agent gRPC server.

Package backup this file provides the restore and recovery functions from a physical backup and is intended to be called from a Config Agent gRPC server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PhysicalBackup

func PhysicalBackup(ctx context.Context, params *Params) (*lropb.Operation, error)

PhysicalBackup takes a physical backup of the oracle database.

func PhysicalRestore

func PhysicalRestore(ctx context.Context, params *Params) (*lropb.Operation, error)

PhysicalRestore runs an RMAN restore and recovery. Presently the recovery process goes up to the last SCN in the last archived redo log.

Types

type Params

type Params struct {
	InstanceName string
	CDBName      string
	Client       dbdpb.DatabaseDaemonClient
	Granularity  string
	Backupset    bool
	DOP          int32
	CheckLogical bool
	Compressed   bool
	Level        int32
	Filesperset  int32
	SectionSize  int32
	LocalPath    string
	GCSPath      string
	OperationID  string
}

Params that can be passed to PhysicalBackup.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL