ASM - Copy files from/to remote diskgroup
In this post, I will show how to copy files from / to Oracle Automatic Storage Management (Oracle ASM).
A typical example example is when we do TTS / a.k.a transportable tablespaces.
I'm showing below how to do that using asmcmd cp command.
[oracle@databaseserver01]$ $ asmcmd ls +DATA
MOM/
MOMSPIT/
MOMUAT3A/
[oracle@databaseserver02] $ asmcmd cp +DATA/standby_control.ctl sys@databaseserver01.1522.+ASM:+DATA/standby_super_mario.ctl
Enter password: *********
[oracle@databaseserver01][$ asmcmd ls +DATA
MOM/
MOMSPIT/
MOMUAT3A/
standby_super_mario.ctl.305.859841709
More about this:
asmcmd
Thank you for reading, hope this post was helpful.
Rogerio
Comments