stefanprodan / mgob

MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select collection for a backup

underlow opened this issue · comments

In my db I have several relatively big collections which are generated from others and I don't want to backup them. Would be great to have an option to select collections to backup.

You can do params: "--excludeCollection=<collection_name>" in the target config of a backup plan. Under the hood mgob uses mongodump so you can use flags from here to set it up to your liking.