diff --git a/CHANGELOG b/CHANGELOG index 0041e0f..d77c81f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -14,7 +14,7 @@ - Group settings for repositories - Operation center - GUI operation center allowing to mass execute actions on repos / groups - - CLI operation center via `--group-operation --repo-group=somegroup` + - CLI operation center via `--repo-group=somegroup` or `--repo-name repo1,repo2` - Implemented retention policies - Optional time server update to make sure we don't drift before doing retention operations - Operation planifier allows to create scheduled tasks for operations diff --git a/README.md b/README.md index 420713d..3a3a166 100644 --- a/README.md +++ b/README.md @@ -202,11 +202,16 @@ While admin user experience is important, NPBackup also offers a GUI for end use `npbackup-cli` has all the functions the GUI has, and can run on any headless server. It also has a `--json` parameter which guarantees parseable output. -`--group-operation [operation]` allows to run an operation on multiple repos. This paramater also requires `--repo-group` or `--repo-name` parameter. For operations requiring arguments, provide the argument to the original operation parameter. -`--repo-name` allows to specify one or multiple comma separated repo names -`--repo-group` allows to specify one or multiple comme separated repo group names +You may run operations on multiple repositories, or repositories groups by specifying paramater `--repo-group` or `--repo-name`. +`--repo-name` allows to specify one or multiple comma separated repo names, also allows special `__all__` argument which selects all repositories. +`--repo-group` allows to specify one or multiple comme separated repo group names, also allows special `__all__` argument which selects all groups. -`npbackup-gui` can also act as cli if run with `--run-as-cli` parameter, allowing to use a single executable for GUI and tasks. +Multi-repo example: +``` +npbackup-cli --housekeeping --repo-group default_group +``` + +`npbackup-gui` can also act as cli if run with `--run-as-cli` parameter, allowing to use a single executable as GUI and scheduled tasks. ## Security