mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Conditionally backup/restore dmz_config
This commit is contained in:
parent
0a64afd6b5
commit
c0e1bd5045
2 changed files with 10 additions and 6 deletions
|
@ -268,7 +268,10 @@ func (b backerHandler) dmzConfig(files *[]backupItem) (err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
*files = append(*files, backupItem{Filename: "dmz_config.json", Content: content})
|
||||
|
||||
if b.Spec.SystemBackup() {
|
||||
*files = append(*files, backupItem{Filename: "dmz_config.json", Content: content})
|
||||
}
|
||||
|
||||
w := ""
|
||||
if !b.Spec.SystemBackup() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue