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

automatic backup

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 2 Posters 3.5k Views 1 Watching
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.
  • D Offline
    Daniele
    last edited by 23 Dec 2017, 19:57

    After 1 day with debug enabled I can't see any other error, but still no backup.
    Now I tried to set it up every 10 hours, I'll let you know the result.

    1 Reply Last reply Reply Quote 0
    • D Offline
      Daniele
      last edited by 24 Dec 2017, 17:31

      Same result with 10 hours, while I got a successful backup with 8 hours.

      J 2 Replies Last reply 26 Dec 2017, 05:11 Reply Quote 0
      • J Offline
        jkandasa @Daniele
        last edited by jkandasa 26 Dec 2017, 05:11

        @daniele Thanks to narrow down this issue. I will have a look on the code.

        https://github.com/mycontroller-org/mycontroller/issues/431

        1 Reply Last reply Reply Quote 0
        • J Offline
          jkandasa @Daniele
          last edited by 11 Feb 2018, 04:49

          @daniele I have update scheduler library. I do not see this issue now. Also, I have added an option to show next execution time. Kindly check it in SNAPSHOT version and let me know.

          Thank you!

          0_1518324492744_b1071f89-22c0-4126-ba1a-09ad60ca68c2-image.png

          1 Reply Last reply Reply Quote 0
          • D Offline
            Daniele
            last edited by 13 Feb 2018, 08:04

            Yesterday evening at 10 PM I changed the schedule from "every 8 hours" to "every 1 day", to check the change you did.
            This evening I'll check the result, but what I notice in the meantime is that there's something wrong in the label showing the next execution:

            0_1518509051050_64ef58ba-47e8-43ea-9ea0-1ea1c9fed471-image.png

            J 1 Reply Last reply 13 Feb 2018, 16:10 Reply Quote 0
            • J Offline
              jkandasa @Daniele
              last edited by 13 Feb 2018, 16:10

              @daniele Thank you! Can you check the Uptime on your MyController server?

              0_1518538194415_d4f4f6a3-d927-461c-8b4b-87311f2e615b-image.png

              1 Reply Last reply Reply Quote 0
              • D Offline
                Daniele
                last edited by 13 Feb 2018, 16:32

                This is the uptime of my server:

                0_1518539526668_404d31c9-c662-4abf-8c77-12030b111259-image.png

                To simplify your analysis: 4 AM is the time I daily restart my Raspberry.

                J 1 Reply Last reply 13 Feb 2018, 17:23 Reply Quote 0
                • J Offline
                  jkandasa @Daniele
                  last edited by 13 Feb 2018, 17:23

                  @daniele

                  To simplify your analysis: 4 AM is the time I daily restart my Raspberry.

                  That's the root cause. MyController backup job not following cron or regular time. It is following repeat time from the scheduled time. When you restart the server this timer also gets restarted. For your setup, you can configure a maximum of 23 hours and 59 minutes if you configure it exactly at startup.

                  So if you configure backup every > 12 hours and < 24 hours, you should get daily backup from next day.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Daniele
                    last edited by 14 Feb 2018, 14:18

                    Now that's clear, I'll try using 23 hours.
                    Thanks!

                    1 Reply Last reply Reply Quote 1
                    • D Offline
                      Daniele
                      last edited by 16 Feb 2018, 08:42

                      I can confirm that with 23 hours the scheduler works perfectly now!
                      Thanks a lot!

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post

                      0

                      Online

                      620

                      Users

                      531

                      Topics

                      3.4k

                      Posts
                      Copyright © 2015-2025 MyController.org | Contributors | Localization