Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Colocated secondary backup

Scheduled Pinned Locked Moved Solved Discuss
10 Posts 3 Posters 279 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by yusf
    #1

    Hosting Cloudron on a VPS and backups on a remote object storage I want some backup redundancy. But how?

    1 Reply Last reply
    1
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by
    #2

    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. 🤦 😆

    jdaviescoatesJ 1 Reply Last reply
    1
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to yusf on last edited by
    #3

    @yusf I'd like to do something similar but have never used minio so would be interested in exactly how you at this up

    I use Cloudron with Gandi & Hetzner

    yusfY 1 Reply Last reply
    0
  • yusfY Offline
    yusfY Offline
    yusf
    replied to jdaviescoates on last edited by yusf
    #4

    @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.

    jdaviescoatesJ 1 Reply Last reply
    1
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to yusf on last edited by
    #5

    @yusf thanks I'll see if I can see up something similar too 🙂

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    1
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by
    #6

    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?

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #7

    @yusf Maybe you can also try the aws cli tool which has different s3 options.

    yusfY 1 Reply Last reply
    0
  • yusfY Offline
    yusfY Offline
    yusf
    replied to girish on last edited by
    #8

    @girish Yes, I will test it. I’m trying to stay clear of Amazon products but it’s hard. Heck, DO is built on AWS iirc. 😆

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #9

    DO is not on AWS, they build their own. Their co-founder replies here - https://www.quora.com/Does-DigitalOcean-have-its-own-datacenters-1

    1 Reply Last reply
    1
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by
    #10

    Oh, I’m glad to hear it. Either they did rely on AWS at one point or I got it backwards completely. Either is fine if they now have their own infra. 🎉

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks