Re: Writing to a file during rcp
- From: Darren Dunham <ddunham@xxxxxxxxxxxxxxxx>
- Date: Mon, 23 Oct 2006 18:25:00 GMT
pablopatito <martinatgoogle@xxxxxxxxxxx> wrote:
I want to rcp database files from a flat file database on a Solaris 5
server to a Solaris 9 server as an additional redundant backup in the
evening, prior to the tape backup at midnight.
There is a chance that someone will write to a database file during its
copy. What are the implications of this? I assume I will I just end up
with a corrupt backup? Is there any chance that the original file could
get corrupted, or is it perfectly safe?
No, the original copy is safe. Reading from a file in unix won't affect
what the database is doing.
Using the -p option, will rcp set the modification time to the correct
time it was modified, or will it set it to the time if was modified
prior to it being copied. For example, customers.dat is modified at
3.15. rcp starts to copy it at 5.20, it is then modified at 5.22. Rcp
finishes copying at 5.25, will the copied file have a modification time
of 5.22 or 3.15?
Not sure. I assume it would be at the end, but you might try it.
Thanks for any advice. Mainly I want to ensure that I'm not going to
compromise any live data.
It won't compromise live data.... as long as you do the rcp in the
correct direction. Copy remote onto your local disk? *poof*
--
Darren Dunham ddunham@xxxxxxxx
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
.
- Follow-Ups:
- Re: Writing to a file during rcp
- From: pablopatito
- Re: Writing to a file during rcp
- References:
- Writing to a file during rcp
- From: pablopatito
- Writing to a file during rcp
- Prev by Date: Re: user info
- Next by Date: Re: Question for new SAN drive discovery
- Previous by thread: Re: Writing to a file during rcp
- Next by thread: Re: Writing to a file during rcp
- Index(es):
Relevant Pages
|