$ rman target /
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/home/oracle/backup/rman/full_%u_%s_%p';
RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
RMAN> run
2> {
3> shutdown immediate
4> startup mount
5> backup database;
6> }
...
RMAN> exit
Created
August 27, 2018 14:40
-
-
Save arfeo/2e21cbe6ffa4d54f3b6d9de411d47e98 to your computer and use it in GitHub Desktop.
Oracle: database backup w/ RMAN
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment