Use Find to run backups on configurations
This commit is contained in:
parent
60a2df9b70
commit
da693fa937
@ -539,7 +539,7 @@ backup_configs() {
|
||||
log "info" "Backing up $(important ".xml configurations") in $(important "${server_directory}") to $(important "${config_backup_directory}")"
|
||||
|
||||
mkdir -p "${config_backup_directory}"
|
||||
cp "${server_directory}/"*.xml "${config_backup_directory}/"
|
||||
find "${server_directory}" -name *.xml -exec cp {} "${config_backup_directory}/" \;
|
||||
}
|
||||
|
||||
backup() {
|
||||
|
Loading…
Reference in New Issue
Block a user