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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Question about backups

    Discuss
    backups
    2
    3
    200
    Loading More Posts
    • 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.
    • ?
      A Former User last edited by girish

      I would like to schedule multiple backups through the day rather than my current single backup. My concern here is what happens if the backups eventually take so long the current backup is not done before the next one is scheduled to start. I backup to wasabi and my network (for now) has am upload speed of 125Mbps. I'm looking to upgrade to symmetrical gigabit but I was just curious about how this would work given my current setup.

      Like to backup tasks get put in a queue for instance? Or will the second one fail or just never start?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @Guest last edited by

        @atridad said in Question about backups:

        My concern here is what happens if the backups eventually take so long the current backup is not done before the next one is scheduled to start

        There is a lock which prevents multiple interfering jobs from running in parallel (see this code). This lock not only ensure multiple backups cannot run but also that other things like cloudron update, platform upgrade etc cannot happen in parallel.

        Also, if you follow along the code, there is a 24 hour timeout for the backup job. So, it gets killed if it gets "stuck" and then next scheduled time will start another backup.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @girish last edited by

          @girish Ahhh I see. Thankfully right now backups only take 3-4 hours. I'm hoping once I'm at gigabit I can speed that up. My network is definitely a bottleneck rn.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB