Documentation
¶
Index ¶
- type S3backend
- func (b S3backend) DeleteAll(viper *viper.Viper, backups *backup.Backups) (count int, err error)
- func (b S3backend) DeleteWal(viper *viper.Viper, w *backup.Wal) (err error)
- func (b S3backend) Fetch(viper *viper.Viper) (err error)
- func (b S3backend) GetBackups(viper *viper.Viper, subDirWal string) (backups backup.Backups)
- func (b S3backend) GetBasebackup(viper *viper.Viper, backup *backup.Backup, backupStream *io.Reader, ...)
- func (b S3backend) GetStartWalLocation(viper *viper.Viper, bp *backup.Backup) (startWalLocation string, err error)
- func (b S3backend) GetWals(viper *viper.Viper) (a backup.Archive, err error)
- func (b S3backend) WriteStream(viper *viper.Viper, input *io.Reader, name string, backuptype string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3backend ¶
type S3backend struct { }
S3backend returns a struct to use the S3-Methods
func (S3backend) GetBackups ¶
GetBackups returns Backups
func (S3backend) GetBasebackup ¶
func (b S3backend) GetBasebackup(viper *viper.Viper, backup *backup.Backup, backupStream *io.Reader, wgStart *sync.WaitGroup, wgDone *sync.WaitGroup)
GetBasebackup gets things from S3
func (S3backend) GetStartWalLocation ¶
func (b S3backend) GetStartWalLocation(viper *viper.Viper, bp *backup.Backup) (startWalLocation string, err error)
GetStartWalLocation returns the oldest needed WAL file Every older WAL file is not required to use this backup
Click to show internal directories.
Click to hide internal directories.