Documentation ¶
Index ¶
- type BackupRestore
- func (br *BackupRestore) CopyFiles(sourceDir, dstDir string, overwrite bool) error
- func (br *BackupRestore) ExecuteImportStorage(apiMap map[string]backupTY.Backup, sourceDir, fileType string, ...) error
- func (br *BackupRestore) ExecuteRestore(storage storageTY.Plugin, apiMap map[string]backupTY.Backup, ...) error
- func (br *BackupRestore) ExportStorage(exportMap map[string]backupTY.Backup, targetDir, exportFormat string) error
- func (br *BackupRestore) ExtractExportedZipFile(exportedZipFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupRestore ¶
type BackupRestore struct {
// contains filtered or unexported fields
}
func (*BackupRestore) CopyFiles ¶
func (br *BackupRestore) CopyFiles(sourceDir, dstDir string, overwrite bool) error
copies files from a location to another location
func (*BackupRestore) ExecuteImportStorage ¶
func (br *BackupRestore) ExecuteImportStorage(apiMap map[string]backupTY.Backup, sourceDir, fileType string, ignoreEmptyDir bool) error
ExecuteImportStorage update data into database
func (*BackupRestore) ExecuteRestore ¶
func (*BackupRestore) ExportStorage ¶
func (br *BackupRestore) ExportStorage(exportMap map[string]backupTY.Backup, targetDir, exportFormat string) error
exports data from database to disk
func (*BackupRestore) ExtractExportedZipFile ¶
func (br *BackupRestore) ExtractExportedZipFile(exportedZipFile string) error
Click to show internal directories.
Click to hide internal directories.