'How to create PDB from backup? Oracle XE

I have two machines with Oracle XE.
I created a backup on machine 1

rman TARGET /
rman> backup keep until time 'sysdate+1' format 'c:\BackupDB\test_db%u' tag 'my_bkup' (database ROOT) (pluggable database 'pdb$seed', mypdb);

I did a clean install Orcale XE and transferred the backup files to machine 2. How to create/clone/move a PDB from a backup file in a database on machine 2?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source