Documentation
¶
Index ¶
- Constants
- func FileCopy(src, dst string) error
- func FileMove(src, dst string) error
- func FolderCopy(src, dst string) error
- func FolderMove(src, dst string) error
- func ReadBackupLogFile(filePath string, backuplog interface{}) error
- func WriteBackupLogFile(content []byte, path string, logName string) error
- type BackupLogInfo
- type IncBackupLogInfo
- type MetaBackupLogInfo
Constants ¶
View Source
const ( DataBackupDir = "/data_backup" MetaBackupDir = "/meta_backup" FullBackupLog = "full_backup_log.json" IncBackupLog = "inc_backup_log.json" MetaBackupLog = "meta_backup_log.json" BackupLogPath = "/backup_log" ResultLog = "result" IsInc = "isInc" IsRemote = "isRemote" IsNode = "isNode" BackupPath = "backupPath" OnlyBackupMaster = "onlyBackupMaster" )
Variables ¶
This section is empty.
Functions ¶
func FolderCopy ¶
func FolderMove ¶
func ReadBackupLogFile ¶
Types ¶
type BackupLogInfo ¶
type IncBackupLogInfo ¶
type MetaBackupLogInfo ¶
Click to show internal directories.
Click to hide internal directories.