docker run -d -v /home/ubuntu/minio-data:/data -p 80:9000 minio/minio server /data
docker logs <minio-container-name-OR-id>
./mc config host add minio-qa http://10.0.0.2 <Minio Access Key> <Minio Secret Key>
edit /etc/crontab and add this;
MongoDB
39 * * * * ubuntu cd /home/ubuntu/mongo-backup && ./mongo-backup.sh qa localhost 27017 <mongodb_root> <mongodb_password>
Than reload crontab
sudo service cron reload
mongodump -h localhost -p 27017 -u <mongodb_root> -p <mongodb_password> --archive --gzip | ./mc pipe minio-qa/mongodb-qa-backup/mongo-qa-backup-`date +%Y-%m-%d`.archive.gz
mongorestore --gzip --archive=mongo-data-2018-09-17.archive.gz
mongorestore --gzip --archive=mongo-data-2018-09-17.archive.gz --db TestDB