Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dird: add command line feature to print resources
The bareos-dir prints its configuration when called with the -xc parameter. This change allows to print only specific resources: # print full configuration bareos-dir -xc # print all Job resources baroes-dir -xcJob # print the Job resource BackupCatalog bareos-dir -xcJob=BackupCatalog Co-authored-by: Alaa Eddine Elamri <46047750+alaaeddineelamri@users.noreply.github.com>
- Loading branch information
1 parent
8175491
commit e9f6a2f
Showing
6 changed files
with
166 additions
and
45 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Console { | ||
Name = "admin" | ||
Password = "[md5]5ebe2294ecd0e0f08eab7690d2a6ee69" | ||
Profile = "webui-admin" | ||
TlsEnable = No | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Console { | ||
Name = "bareos-mon" | ||
Description = "Restricted console used by tray-monitor to get the status of the director." | ||
Password = "[md5]4cf5943929b8447731b086f0f43f7f99" | ||
JobAcl = "*all*" | ||
CommandAcl = "status", ".status" | ||
} | ||
|
||
Console { | ||
Name = "admin" | ||
Password = "[md5]5ebe2294ecd0e0f08eab7690d2a6ee69" | ||
Profile = "webui-admin" | ||
TlsEnable = No | ||
} |
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