Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Automated Backup Script for SBC-Mode Printers

    Scheduled Pinned Locked Moved
    Third-party software
    2
    3
    225
    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.
    • Garth_42undefined
      Garth_42
      last edited by

      Hi all,

      I created a little program that will do automated backups to a cloud service (or a local PC on LAN) through rclone and a cronjob on the connected RPI. It is on github, here. It is my first repo of anything halfway interesting so let me know what you think, and if it has helped you out!

      Best,
      Garth

      o_lampeundefined 1 Reply Last reply Reply Quote 4
      • o_lampeundefined
        o_lampe @Garth_42
        last edited by

        @Garth_42
        The tool checks very frequently for new data.
        Is it critical to backup while a PID tune is running? That's probably a situation I can imagine to mess up the data base. (inexperienced users might hit reset during PID tuning, because they think it took too long...)
        Same to FW update. Do we know which FW version the backup files belong to?

        Garth_42undefined 1 Reply Last reply Reply Quote 0
        • Garth_42undefined
          Garth_42 @o_lampe
          last edited by

          @o_lampe thanks for the thoughts. Why would cancelling during a PID tune affect the database? Does it create a temp file?

          Yes, the user would need to make sure that they are using the correct FW version with a config if they use an older one.

          I think that the major use cases are to make sure that if you make too many changes, or aren't sure why you are getting a specific behavior from the config after a change, you have backups and can find one that is working, as well as backup the most recent version of the config such that if you loose that data from a bad SD card/etc. it isn't gone forever.

          It makes sense to reduce the backup check frequency as if a user is testing changes, then it doesn't sync many copies of those files.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA