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

    Possibility to configure backup schedule

    Feature Requests
    feature-request backups
    3
    5
    178
    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.
    • R
      roru2k20 last edited by girish

      Hello,

      is it possible to configure the backup schedule? At the moment my server at home will try to backup my apps at 3am in a cifs-folder on my NAS, but normally at 3am my NAS is offline. From 10pm till 6am my NAS is off, because I don't use / need it at this time.

      Best regards,
      Axel

      d19dotca 1 Reply Last reply Reply Quote 0
      • d19dotca
        d19dotca @roru2k20 last edited by

        @roru2k20 There's no way through the GUI yet, but it'd be great if it was an option, almost like setting a cronjob for it. I suppose a workaround may be to set a cronjob to run the backup script but not certain if that'll work.

        --
        Dustin Dauncey
        www.d19.ca

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

          @roru2k20 Currently, this is not configurable (not even in code, unfortunately). Can look into it for the next release.

          1 Reply Last reply Reply Quote 2
          • girish
            girish Staff last edited by

            For now, you can edit the cron pattern at https://git.cloudron.io/cloudron/box/-/blob/master/src/cron.js#L182 to 00 00 7,10,12 * * * or something like that (the hours are in your timezone). The file on Cloudron is /home/yellowtent/box/src/cron.js and then systemctl restart box.

            You have to do this after every Cloudron update though since it gets overwritten.

            1 Reply Last reply Reply Quote 2
            • R
              roru2k20 last edited by

              Good morning,

              that sounds acceptable for me.

              Have a nice day!

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