Remove rbk_api.conf and use RSC JSON file

This commit is contained in:
2025-10-15 10:13:04 +01:00
parent 7ed76ad0d3
commit 150f065349
7 changed files with 28 additions and 267 deletions

View File

@@ -10,20 +10,22 @@ The `rsc_clone.sh` script performs Oracle database clone operations using the Ru
- Source Oracle database protected by Rubrik
- Target Oracle host configured and registered in RSC
- Required configuration files:
- `rbk_api.conf` - RSC API credentials
- `rsc.json` - RSC API credentials
- Oracle cloning options file
## Configuration
### RSC API Configuration (`rbk_api.conf`)
### RSC API Configuration (`rsc.json`)
Create a configuration file with your RSC credentials:
Download the JSON configuration file from RSC:
```bash
# Rubrik Security Cloud (RSC) Configuration
RSC_HOST=your-organization.my.rubrik.com
RSC_ID="client|your-client-id-here"
RSC_SECRET=your-secret-key-here
```json
{
"client_id": "client|your-client-id-here",
"client_secret": "your-client-secret-here",
"name": "Your RSC Service Account Name",
"access_token_uri": "https://your-organization.my.rubrik.com/api/client_token"
}
```
### Oracle Cloning Options File
@@ -179,7 +181,7 @@ The script includes comprehensive error handling for:
## Dependencies
- `rsc_ops.sh` - RSC API operations and utility functions
- `rbk_api.conf` - RSC credentials configuration
- `rsc.json` - RSC credentials configuration
- `jq` - JSON processing
- `curl` - HTTP requests
- `date`/`gdate` - Date/time operations