Skip to content

minio-backup-s3 - is a service giving you ability to mirror entities from SOURCE OBJECT STORAGE to DESTINATION OBJECT STORAGE.

License

Notifications You must be signed in to change notification settings

fandoghpaas/minio-backup-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT license Docker

MinIO Backup S3

minio-backup-s3 is a service giving you ability to mirror entities from SOURCE OBJECT STORAGE to DESTINATION OBJECT STORAGE.

Docker

$ docker run -e MC_HOST_SOURCE=https://<Access Key>:<Secret Key>@<YOUR-S3-ENDPOINT> -e MC_HOST_DESTINATION=https://<Access Key>:<Secret Key>@<YOUR-S3-ENDPOINT> fandoghpaas/minio-backup-s3:<IMAGE_VERSION>

Fandogh PaaS Manifest

Copy below manifest in a YAML file and enter fandogh service apply -f <FILE_NAME>.yml

kind: InternalService
name: minio-backup
spec:
  image: fandoghpaas/minio-backup-s3:1.1.0
  image_pull_policy: Always
  env:
  - name: MC_HOST_SOURCE
    value: http://<Access Key>:<Secret Key>@<source-minio-service-name>
  - name: MC_HOST_DESTINATION
    value: http://<Access Key>:<Secret Key>@<destination-minio-service-name>

Variable Table

Before deployment value of variables mentioned in this table should be overwritten with values of your choice.

Variable Description
MC_HOST_SOURCE Choose source MinIO endpoint url
MC_HOST_DESTINATION Choose destination MinIO endpoint url
SCHEDULE backup schedule time for cronjob, see explanations below

SCHEDULE

You can set the SCHEDULE environment variable like -e SCHEDULE="@daily" runs every day at the same time that it was started or -e SCHEDULE="0 0 */4 * * *" to run the backup automatically every 4 hours or any other cron time that you prefer.

If you don't enter SCHEDULE env, container will perform its actions only one time and terminate!

More information about the scheduling can be found here.

About

minio-backup-s3 - is a service giving you ability to mirror entities from SOURCE OBJECT STORAGE to DESTINATION OBJECT STORAGE.

Resources

License

Stars

Watchers

Forks

Packages

No packages published