Colocated secondary backup
-
Come to think of it, this should have nothing to do with Cloudron. I can just connect to the primary object storage directly and mirror it.
@yusf I'd like to do something similar but have never used minio so would be interested in exactly how you at this up
-
@yusf I'd like to do something similar but have never used minio so would be interested in exactly how you at this up
@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.
-
@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.
@yusf thanks I'll see if I can see up something similar too
-
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?