I was just directed to RFM for backing up our Duet. Thank you to @wilriker it's amazing!
However, getting it started was a little slower than it needed to be. If you are on Windows and looking for a way to backup your Duet, here is a quickstart guide / manual that might help speed things up for you. (The guide may help if you aren't on Windows, but you'll need to adapt file paths etc as appropriate).
Download and unzip to C:\Users\YourUserName and name the folder 'DuetBackupRFM'
Open Command prompt (Start - cmd - enter) which will open at c:\Users\YourUserName
Chang the cmd prompt folder to the one you just unzipped to:
Type: cd DuetBackupRFM ; and hit enter
Now you are ready to use RFM to backup your Duet. Read below.
RFM Duet Backup Commands:
**note: must use program name, command name, then can use options and parameters/arguments.
**ONCE a device has been specified (a device profile is created on first use), you can refer to the device without networking options by using the device name.
RFM Command Syntax Explanation:
Valid Example command:
rfm backup -device YourPrinterName sys 0:/sys
Explanation:
rfm backup -device YourPrinterName sys 0:/sys
program name command name option name parameter for option local comp. folder to save to Duet folder to do command to
Things you likely want to do:
STEP 1. connect to the Duet (creates a config for the Duet as the -device name) and list The Duet's root directory:
rfm ls -domain 192.168.1.12 -port 80 -password YourDuetPassword -device YourPrinterName
STEP 2. Backup the sys folder on your duet (already created in step 1 in RFM) into a folder on your computer called 'sys' (which will be located in the same folder RFM.exe is located).
Note: RFM will create the folder on your computer if it does not exist. RFM will also use UNC / absolute paths if preferred (so you can redirect outside of the RFM folder - see examples at end).
rfm backup -device YourPrinterName sys 0:/sys
STEP 3. Backup the macros folder for your duet (already created in RFM) to a local 'macros' folder:
rfm backup -device YourPrinterName macros 0:/macros
STEP 4. Backup the filaments folder for your duet ((already created in RFM) to a local 'filaments' folder:
rfm backup -device YourPrinterName filaments 0:/filaments
STEP 5. Backup the gcode files on your duet (already created in RFM) to a local 'macros' folder:
rfm backup -device YourPrinterName gcodes 0:/gcodes
- - Some other Examples: - -
List all the files in the folders in the root of your duet:
rfm backup -device YourPrinterName
List all the files in the sys folder on your duet:
rfm backup -device YourPrinterName 0:/sys
List all the files in a folder on duet with spaces in its name:
rfm ls -device YourPrinterName "0:/macros/calibration/bed leveling"
If you are using spaces in your RFM backup path or on duet - enclose in quotation marks:
rfm backup -device YourPrinterName "C:users/yourusername/DUET BACKUP RFM" "0:/macros/calibration/bed leveling"