Documentation ¶
Index ¶
- func AddMetaEntry(dateStartBackup time.Time, dateFinalizedBackupFile time.Time, ...) (err error)
- func CreateMetaDataFile(folderPath, fileNameMeta string) (err error)
- func DeleteOldBackupsS3(bucketName string, awsClientConfig *aws.AwsClientConfigData) error
- func ManageBackupsLocally() error
- func UploadBackupsAwsS3(folderPathBackup, metaFileName string, ...) error
- func WriteBSONToCSV(bsonData []bson.M, csvFilePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMetaEntry ¶
func AddMetaEntry(dateStartBackup time.Time, dateFinalizedBackupFile time.Time, folderPathBackup, fileNameMeta, fileNameBackupFile, collectionName, databaseName string) (err error)
Add row of meta data for one csv file
func CreateMetaDataFile ¶
Create csv file for meta data of all created backup files
func DeleteOldBackupsS3 ¶
func DeleteOldBackupsS3(bucketName string, awsClientConfig *aws.AwsClientConfigData) error
This backup server can optionally be used as a ring memory. Due to this, it is needed to keep the newest backups of number n
func ManageBackupsLocally ¶
func ManageBackupsLocally() error
func UploadBackupsAwsS3 ¶
func UploadBackupsAwsS3(folderPathBackup, metaFileName string, awsClientConfig *aws.AwsClientConfigData, bucketName string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.