sqlserver

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const AllDatabases = "ALL"
View Source
const LogNamePrefix = "wal_"
View Source
const TimeSQLServerFormat = "Jan 02, 2006 03:04 PM"

Variables

View Source
var SystemDbnames = []string{
	"master",
	"msdb",
	"model",
}

Functions

func HandleBackupPush

func HandleBackupPush(dbnames []string, updateLatest bool, compression bool)

func HandleBackupRestore

func HandleBackupRestore(backupName string, dbnames []string, noRecovery bool)

func HandleDatabaseList added in v0.2.18

func HandleDatabaseList(backupName string)

func HandleLogPush added in v0.2.18

func HandleLogPush(dbnames []string, compression bool)

func HandleLogRestore added in v0.2.18

func HandleLogRestore(backupName string, untilTs string, dbnames []string, noRecovery bool)

func RunProxy

func RunProxy(folder storage.Folder)

Types

type SentinelDto

type SentinelDto struct {
	Server         string
	Databases      []string
	StartLocalTime time.Time
}

func (*SentinelDto) String

func (s *SentinelDto) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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