View oracle-database-recovery.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------------------------- | |
# Restoring the database of the development system with a backup from the live system. | |
# Using Trivadis BasEnv as standardization tool for setting Oracle environment variables. | |
# ---------------------------------------------------------------------------------------- | |
# 1. Stop the database. | |
TYPE (Cluster|DG) : SID/PROCESS STATUS HOME [2021-03-18 10:01:34] | |
---------------------------------------------------------------------------------------- | |
Dummy rdbms : OraDB19Home1 n/a D:\app\oracle\product\19.0.0a |
View backup-git-repos.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: flandersen | |
# Date: 29.03.2020 | |
# https://gist.github.com/flandersen/6d33c609de80247c9059bf8c3e2ade05 | |
# | |
# Backups the repositories to a backup directory and syncronizes | |
# the backup dir to a backup server using rsync. | |
# | |
# Example usage: |