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

Exclude feature

Compare
Choose a tag to compare
@wilriker wilriker released this 04 Jun 12:05
· 14 commits to master since this release

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