duetbackup - CLI tool to backup your Duet SD Card [deprecated]
-
@obeliks
That would be sweet for us simple/lazy people! -
imo "lazy" people should look into scheduled task on windows or cron on linux, no need for GUI and no need to remember to make the backup
-
-
@wilriker said in duetbackup - CLI tool to backup your Duet SD Card:
@obeliks It's open source so knock yourself out.
But you might want to wait until next week. I have a huge update and extension coming. @gtj0 will probably be very happy then.
Upload???????
-
@gtj0 said in duetbackup - CLI tool to backup your Duet SD Card:
Upload???????
Maybe... maybe more...
But now I am out for a long camping weekend. See you next week.
-
@wilriker said in duetbackup - CLI tool to backup your Duet SD Card:
@gtj0 said in duetbackup - CLI tool to backup your Duet SD Card:
Upload???????
Maybe... maybe more...
But now I am out for a long camping weekend. See you next week.
Have Fun!
-
On Windows, for those that struggle to 'cd' into the right directory: If you hold "Shift" while right clicking (inside the folder in Explorer), the popup menu will have an extra item: Command Prompt or Power Shell; it will for example be called "Open PowerShell window here" and when clicked will open it in the right directory.
Along with my duetbackup.exe package, I made plain .txt files with the commands I used for the backup (one for each duet), so that I can simply copy/paste (always using the same parameters):
.\duetbackup.exe -domain "duetname.local" -outDir ".\duetname" -password "duetpassword"
Command Prompt does not allow pasting, but the PowerShell does: first copy the command you want to use, then right click in the PowerShell window - it will auto paste.
Anyways, thank you @wilriker for this tool, it does what it says on the box, no issues found.
-
@jacotheron said in duetbackup - CLI tool to backup your Duet SD Card:
Command Prompt does not allow pasting
Not quite true? At least resent versions pastes if you do either of Ctrl + V, Shift + Insert or just right click in the window. Maybe you have a group policy setting that prevent it on your system?
-
If anyone would like to try it out. It is not yet tested, but it should work.
https://github.com/OBELIKS/duetbackupGUI/releasesThe code is not nice, but you can clean it up if you want. I will test it sometime today.
-
@obeliks said in duetbackup - CLI tool to backup your Duet SD Card:
If anyone would like to try it out. It is not yet tested, but it should work.
https://github.com/OBELIKS/duetbackupGUI/releasesThe code is not nice, but you can clean it up if you want. I will test it sometime today.
Which platform is this for?
-
Windows, it should work on 32 bit
-
@obeliks I think you need to make that clear on your GitHub I would not have been happy if i had downloaded it being a OS-X user
-
Added, thanks.
-
@dougal1957
Is there such a thing as a happy OS-X user at all? Haha just kidding, nice to have a GUI on it have to try it this evening -
Just FYI, GUI works! I finally had the time to check.
So I marked it as released.Next plan is to implement the exclusions and maybe a bit more feedback while it is working.
-
I made some changes to the GUI and added the exclude command
https://github.com/OBELIKS/duetbackupGUI/releases/tag/0.2 -
Small teaser of things to come
$ ./rfm help rfm provides a command-line interface to perform file actions against the HTTP interface of a device running RepRapFirmware. Usage: rfm <command> [arguments] Each command will at least expect the argument -domain which specifies where on the network the device is located. This can either be a resolvable hostname or an IPv4 address. The commands are: backup Backup a given directory on the device upload Upload local files/directories to the device mkdir Create a new directory on the device mv Rename/move a file/directory on the device rm Remove a file/directory on the device download Download a single file from the device fileinfo Get information on a file ls Show the file tree of a given path Use "rfm <command> -help" for more information about a command's arguments.
-
And here we go:
rfm
- RepRapFirmware FileManagerduetbackup
will be deprecated and discontinued in favor of this much enhanced tool.