dbca -silent -createCloneTemplate \ -sourceDB mydb01 \ -templateName minimal_nonmt_seed \ -maintainFileLocations true \ -sysDBAPassword mysecretpassword \ -sysDBAUserName sys \ -rmanParallelism 2 \ -dataFileBackup true \ -datafileDestination /u01/oracle/oradata/19c/assistants/dbca/templates
Minimalistic Oracle contains a collection of practical examples from my encounters with Oracle technologies. When relevant, I also write about other technologies, like Linux or PostgreSQL. Many of the posts starts with "how to" since they derive directly from my own personal experience. My goal is to provide simple examples, so that they can be easily adapted to other situations.
Thursday, October 5, 2023
How to create a template that includes a seed database using dbca
This is how you can create a new template which will include the database "mydb01" as a seed database for future installations:
Make sure there are no trailing spaces after the backslash (\) — that would break the continuation.
You can indent the continued lines for readability (as shown above).
Quoting and escaping rules are the same as if the command were on a single line.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment