restorer

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupRestorer

type BackupRestorer struct {
	// contains filtered or unexported fields
}

BackupRestorer is responsible for restoring a database from a backup file.

func NewBackupRestorer

func NewBackupRestorer(backupURL string, databaseURL string) (*BackupRestorer, error)

NewBackupRestorer creates a new BackupRestorer.

func (*BackupRestorer) Restore

func (br *BackupRestorer) Restore() error

Restore restores a database from a backup file URL.

Jump to

Keyboard shortcuts

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