Remove verbose logging

This commit is contained in:
2025-10-15 17:33:29 +01:00
parent b71ca508ea
commit 14b74e8ecd
6 changed files with 22 additions and 66 deletions

View File

@@ -58,7 +58,6 @@ DB_FILE_NAME_CONVERT='SHED','SCLONE'
- `-s <sourcehost>` - Source host name (use when there are multiple databases with the same name on different hosts)
- `-t "YYYY-MM-DD HH:MM:SS"` - Recovery point timestamp (defaults to latest point-in-time)
- `-d` - Dry-run mode (shows mutation variables without executing)
- `-v` or `--verbose` - Enable verbose logging (prints INFO lines and debug context)
- `-c <numChannels>` - Optional: configure number of RMAN channels for the clone; when provided the script adds `"numChannels": <numChannels>` to the `config` block in the GraphQL variables
## Examples
@@ -181,7 +180,7 @@ Security note: `rsc.json` is listed in `.gitignore`. Ensure the file permissions
- Basic dry-run with verbose output:
```
./rsc_clone.sh -n SCLONE -o SHED_to_SCLONE.txt -h pve-ora19c-3 -d -v SHED
./rsc_clone.sh -n SCLONE -o SHED_to_SCLONE.txt -h pve-ora19c-3 -d SHED
```
- Execute clone and request 4 RMAN channels:
@@ -193,7 +192,7 @@ Security note: `rsc.json` is listed in `.gitignore`. Ensure the file permissions
- Trigger an on-demand log backup with verbose logging:
```
./rsc_log_backup.sh -v <dbName>
./rsc_log_backup.sh <dbName>
```
1. **Parameter Validation** - Validates required parameters and options file