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.
Click to show internal directories.
Click to hide internal directories.