I feel a bit confused when I read about RMAN!
what are the differences between:
RMAN> backup as backupset
RMAN> backup database;
RMAN> backup database plus archivelog;
RMAN> backup as backupset database include current controlfile;
what is the difference between backup database and backup as backupset
also how to backup the database + needed archivelog + controlfile + spfile in one command for a full restore when needed?
is there any site explains this stuff in details with examples?
Best Answer
RMAN uses backupsets by default. The following commands will create a backup to a backupset:
This is assuming that you haven't changed the default RMAN parameters:
"Backup as backupset" is not a valid command and will return a syntax error.
"Backup as backupset database include current controlfile" might be useful if you changed the default backup type to something other than a backupset (e.g. "BACKUP TO COPY").
Source: Database Backup and Recovery Basics