Versions in this module Expand all Collapse all v0 v0.0.1 Apr 22, 2018 Changes in this version + func IsExists(filename string) (bool, error) + type Archiver interface + Archive func(src, dest string, logger *logger.Log) (string, error) + var ZIP Archiver = (*zipper)(nil) + type AwsStorage struct + AccessKeyID string + AccessSecret string + Archiver Archiver + Bucket string + Region string + func (storage *AwsStorage) Save(src string, logger *logger.Log) error + type Backup struct + BackupDirs []string + Logger *logger.Log + Storage Storage + func New(Config *BackupConfig, Logger *logger.Log) (*Backup, error) + func (b *Backup) Run() error + type BackupConfig struct + Description string + Dirs []Dir + Logfile string + Name string + Storage BackupStorage + func ConfigLoad(input []byte) (*BackupConfig, error) + type BackupStorage struct + AwsBucket string + AwsKey string + AwsRegion string + AwsSecret string + DestPath string + Type string + type Dir struct + Description string + Name string + Path string + type LocalStorage struct + Archiver Archiver + DestPath string + func (storage *LocalStorage) Save(src string, logger *logger.Log) error + type Storage interface + Save func(src string, logger *logger.Log) error