-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep support for -m flag until version 2.0
- Loading branch information
Showing
4 changed files
with
38 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,17 +158,16 @@ The following fields are checked in the global configuration file: | |
#### Notifications | ||
`Duplicacy-util` supports notifying you when backups succeed, fail and start. Unless | ||
you're planning to only be running `dupliacy-util` interactively, it's strongly recommended | ||
to configure notifications. By default `dupliacy-util` notifies you on success and failure | ||
which is equal to the following example configuration: | ||
to configure notifications. | ||
For now only email notifications are supported, but more notification channels | ||
are on it's way. The following config snippet shows how to subscribe to specific | ||
notifications: | ||
``` | ||
notifications: | ||
onSuccess: ['email'] | ||
onFailure: ['email'] | ||
onStart: [] | ||
``` | ||
The above config has support for multipe notification channels, but currently only | ||
email notifications are supported. To following section describes how to setup | ||
email notifications. | ||
|
||
##### Email notifications | ||
|
||
|
@@ -181,12 +180,17 @@ email notifications. | |
| authUsername | Username for authentication with SMTP server | | ||
| authPassword | Password for authentication with SMTP server | | ||
|
||
Example configuration: | ||
Here is an example how to setup email notifications: | ||
|
||
``` | ||
notifications: | ||
onSuccess: ['email'] | ||
onFailure: ['email'] | ||
onStart: [] | ||
email: | ||
fromAddress: "Donald Duck <[email protected]>" | ||
toAddress: "Donald Duck <[email protected]>>" | ||
fromAddress: "Donald Duck <[email protected]>" | ||
toAddress: "Donald Duck <[email protected]>" | ||
serverHostname: smtp.gmail.com | ||
serverPort: 465 | ||
authUsername: [email protected] | ||
|
@@ -404,7 +408,7 @@ Usage of ./duplicacy-util: | |
Configuration file for storage definitions (must be specified) | ||
-g string | ||
Global configuration file name | ||
-m Send E-Mail with results of operations (implies quiet) | ||
-m (Deprecated) Send E-Mail with results of operations (implies quiet) | ||
-p Perform duplicacy prune operation | ||
-q Quiet operations (generate output only in case of error) | ||
-sd string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters