jim60105 / docker-Oracle-Database

Oracle Database Containerized Backup and Restoration Solution (Docker-Compose)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  2. Edit docker-compose.yml
    • If you want to backup, uncomment the backup service
    • If you want to restore, uncomment the restore service
  3. 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

    docker ps -a 
    docker start docker-oracle-database_backup_1
    docker start docker-oracle-database_restore_1
  • Start from Windows Docker Desktop 2021-06-21 11 53 10

About

Oracle Database Containerized Backup and Restoration Solution (Docker-Compose)

License:MIT License


Languages

Language:Shell 60.9%Language:Dockerfile 39.1%