Colocated secondary backup
-
@jdaviescoates I'm not sure minio is necessary. If not then I suppose setting up a cronjob on the local machine that periodically runs
s3cmd get --recursive s3://my-production/top-dir/ local-dir
would work. Not sure about how a restoration process would work in this case.
Looking into Minio documentation, there actually is a mirror feature of sorts. In that case, running
mc mirror -w remotebucket localdir
sounds according to the documentation that it would continously watch the remote object storage bucket and mirror all changes to the local directory.
-
So I’ve tried using Minio’s CLI application, mc, to mirror between object storage. The CLI interfaces well with Minio, naturally.
I’ve run into problems on the other end however. I use Digital Ocean’s object storage solution called Spaces which should be S3 compatible. I don’t know if the shortcoming is because of mc or DO though, just that the tool can’t get complete directory listing and thus can’t proceed.
I’ll post the error messages here later.
Maybe someone else with a different storage provider can try mc?