backup

package
v0.0.0-...-b89426d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backup

func Backup(mongoDbClient *mongoDB.MongoDBClient, awsClientConfig *aws.AwsClientConfigData, emailClientConfig *email.EmailClientConfigData, bucketName, databaseName string)

More on cron jobs in Go -> https://pkg.go.dev/github.com/robfig/cron#section-readme

func CreateBackupFiles

func CreateBackupFiles(databaseClientSetup *mongoDB.MongoDBMethodInterface, databaseName string, timeStamp time.Time, folderPathBackup, fileNameMeta string) error

func ManageStorages

func ManageStorages(folderPathBackup string, metaFileName string, awsClientConfig *aws.AwsClientConfigData, bucketName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL