https://github.com/jim60105/docker-oracle-database
Oracle Database Containerized Backup and Restoration Solution (Docker-Compose)
https://github.com/jim60105/docker-oracle-database
bash docker docker-compose oracle-database
Last synced: 25 days ago
JSON representation
Oracle Database Containerized Backup and Restoration Solution (Docker-Compose)
- Host: GitHub
- URL: https://github.com/jim60105/docker-oracle-database
- Owner: jim60105
- License: mit
- Created: 2024-04-17T14:36:25.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-17T17:22:01.000Z (about 1 year ago)
- Last Synced: 2024-10-05T18:20:18.035Z (7 months ago)
- Topics: bash, docker, docker-compose, oracle-database
- Language: Shell
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Oracle Database on Docker + Backup
Chinese
| English
## Configuration
> If the backup location is in My Network Places, please use the CIFS branch.
1. Please refer to `*.env_sample` to create `*.env`
- `SYS_PWD`: Your database SYS password
- `CIFS_OPTION`: user=YOUR_CIFS_ACCOUNT,password=YOUR_CIFS_PASSWORD (this setting is for CIFS branch only)
- `BACKUP_FOLDER`: The absolute path of the database synchronization directory, for example `D:\docker-Oracle-Database\backup`, `//192.168.0.1/backup`
1. Edit `docker-compose.yml`
- If you want to backup, uncomment the backup service
- If you want to restore, uncomment the restore service
1. `docker-compose up -d`## Manual Backup and Restore
The backup and restore containers will stop after execution, just start the container to perform the operation.
- View the container name and start
```sh
docker ps -a
docker start docker-oracle-database_backup_1
docker start docker-oracle-database_restore_1
```- Start from Windows Docker Desktop
