Storage Management (ASM ACFS DNFS ODM) (MOSC)

MOSC Banner

need to copy all directories and files from FRA to FRA_NEW disk group

edited Jun 6, 2014 12:00PM in Storage Management (ASM ACFS DNFS ODM) (MOSC) 4 commentsAnswered

Oracle RAC DB: 11.2.0.3

OS: Red Hat Linux 6

nodes: 2

for a testing purpose I have two FRA diskgroups, FRA and FRA_NEW.

The original FRA have the following 3 directories and various files.

ARCHIVELOG/

CONTROLFILE/

ONLINELOG/

Question: Is there a easy way to copy all directories and their contents(all files) from FRA disk group  to FRA_NEW disk group?

Presently, I had to do the following for each files. note: I had lot more files then below.

cp +FRA/testdb/archivelog/2014_05_29/thread_1_seq_674.680.848829423 +FRA_NEW/TESTDB/archivelog/2014_05_29/thread_1_seq_674.680

cp +FRA/testdb/CONTROLFILE/Current.256.840388675 +FRA_NEW/testdb/CONTROLFILE/Current

cp +fra/testdb/onlinelog/group_1.257.840388675 +fra_new/testdb/onlinelog/group_1.257

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center