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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Question about backups

Question about backups

Scheduled Pinned Locked Moved Discuss
backups
3 Posts 2 Posters 647 Views 2 Watching
  • 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.
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by girish
      #1

      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?

      girishG 1 Reply Last reply
      0
      • ? A Former User

        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?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @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
        0
        • girishG girish

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

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #3

          @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
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


            • Login

            • Don't have an account? Register

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