Operating System - HP-UX
1753317 Members
4995 Online
108792 Solutions
New Discussion юеВ

Re: Best way to copy files

 
SOLVED
Go to solution
Caesar_3
Esteemed Contributor

Re: Best way to copy files

Hello!

Using tar is fast:
tar cf - | (cd ; tar xf -)

But if you will give more information about
the copy that you intresting it maybe change
the answer.


Caesar
malay boy
Trusted Contributor

Re: Best way to copy files

fast?? this what we do here.I assume you trying to archive minimum down time for the database.For database cold backup,we copy the datafile to the disk.As the disk is big we used a gzip.

So the step are :

1) shutdown database.
2) copy to the disk.
3) startup database.
4) copy the disk to tape.

For a critical machine,we do :

1) shutdown database.
2) split the mirror.
3) start the database.
4) mount the split mirror.
5) backup the mirror to tape.
6) join back the mirror.

regards
mB
There are three person in my team-Me ,myself and I.
RAC_1
Honored Contributor

Re: Best way to copy files

I will exclude -v options in cpio for better speed.
There is no substitute to HARDWORK