How to automate the backup process of Embedded Oracle or PostgreSQL Database on RHN Satellite?
Updated -
- Use below script for Oracle embedded database backup,
#!/bin/bash
## Database Backup Script - Oracle Embedded Only ##
export VER=`date +%j`
/usr/sbin/rhn-satellite stop
su - oracle -c 'mkdir backup-$VER'
su - oracle -c 'db-control backup backup-$VER'
/usr/sbin/rhn-satellite start
su - oracle -c 'db-control verify backup-$VER'
...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.