Prepare to Migrate Data
Before migrating data, ensure that the prerequisites are in place and tested.
Manage MV2ADB Privileges and Security
The MV2ADB utility requires root system privileges for most actions. You might consider using SUDO as part of your system auditing and security policy. Configuring SUDO to allow a user to perform any operation is equivalent to giving that user root privileges. Consider carefully if this meets your security needs.
For most tasks, you need to log in as root to use the mv2adb command-line
interface if the --nosudo
command option is not
provided
In environments where system administration is handled by a different group than database administration, or where security is a significant concern, you may want to limit access to the root user account and password. SUDO enables system administrators to grant certain users (or groups of users) the ability to run commands as root, while logging all commands and arguments as part of your security and compliance protocol.
A SUDO security policy is configured by using the file
/etc/sudoers
. Within the
sudoers
file, you can configure groups of
users and sets of commands to simplify and audit server
administration with SUDO commands.
Create a Bucket in Object Storage
Create an Oracle Cloud Infrastructure Object Storage bucket to store the backup data for migration.
Encrypt Your Passwords
Use the command mv2adb encpass
to encrypt
the passwords that you'll use in the configuration file that defines the parameters for
single click migration.
- Oracle Cloud Infrastructure auth token password
- Source database system (
sys
) password - Oracle Data Pump password for datapump dump encryption
(
Expdp
andImpdp
) - Target autonomous database
admin
password - Proxy password, if applicable
You must have an Oracle Cloud Infrastructure user name and an auth token. Auth tokens are Oracle-generated token strings that you can use to authenticate with third-party APIs that do no support Oracle Cloud Infrastructure's signature-based authentication. Each user can have up to two auth tokens at a time. It's important to copy the auth token string when you create it because it doesn't appear in the Console.
Create a Configuration File
Create a configuration file to define the migration options and parameters.
A sample file is available in the mv2adb
package in the
/opt/mv2adb/conf
directory.
The configuration file defines the following parameters:
- Source database
- Export and import
- Compression
- Target database
- Oracle Cloud Infrastructure Object Storage properties
- Oracle Cloud Infrastructure authentication
- Oracle Cloud Infrastructure client properties
Before you begin, you must encrypt all required passwords with the
command mv2adb encpass
.