Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Releases: wilriker/duetbackup

Introduce Marker File

05 Jun 10:05
Compare
Choose a tag to compare

To prevent removing directories not managed by duetbackup the tool will now create files named .duetbackup in each directory it creates.

If for example the user will then initialize a git repository inside the local backup directory the .git directory will be skipped when removing files that do not exist remote.

Fix issue with trailing slashes

05 Jun 09:17
Compare
Choose a tag to compare

This release fixes an issue where trailing (or possibly multiple successive) slashes can break the exclude feature.

Also in this release:

  • Excluding is now more efficient by checking if a directory can be excluded as a whole instead of only excluding everything inside it
  • Approximate download speeds have been added to the output
  • Remove local directories recursively if they no longer exist remote and -removeLocal has been given

Fix local directories not being created

04 Jun 14:54
Compare
Choose a tag to compare

In previous versions the local directory had to exist unless the remote directory contained a sub-directory. This has been fixed.

Also the order is of handling changes is adjusted so that all files in a directory are processed before traversal into sub-directories. This way order of log statements makes much more sense.

Exclude feature

04 Jun 12:05
Compare
Choose a tag to compare

Exclude Feature

A new flag -exclude has been introduced to exclude remote paths starting with the given value. This flag can be used multiple times.

Simple Example

./duetbackup -domain duet.localdomain -outDir "sys" -exclude "0:/sys/c"

will skip all files and folders in /sys that start with "c" like config.g or cancel.g.

Multi Example

./duetbackup -domain duet.localdomain -outDir "sys" -exclude "0:/sys/c" -exclude "0:/sys/home

will skip all files and folders in /sys that start with "c" like config.g or cancel.g as well as all files starting with "home" like homex.g, homey.g, homez.g and homeall.g.

Example Full Backup excluding GCode Files

./duetbackup -domain duet.localdomain -outDir "backup" -dirToBackup "0:/" -exclude "0:/gcodes"

Other Changes

  • Some internal code simplifications
  • Logging has been reformatted and reduced - the former amount of logging can be restored with the new flag -verbose

Fix Time Zone Issues on Windows

02 Jun 19:18
Compare
Choose a tag to compare

Starting with this release also the filename of the binary is the same for all target platforms and all packages contain the LICENSE file.

Fix issues with zip files

31 May 19:22
Compare
Choose a tag to compare
Use Transport with compression disabled to work around wrong headers …

…send by RRF for zip files

First public release

31 May 18:02
Compare
Choose a tag to compare
v1.0.0

Add script to compile binaries for various platforms