Re: Writing to a file during rcp



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. >
.



Relevant Pages

  • Re: SBS 2K3 Lost Nearly 2 Months Of Its Life!
    ... "The server has failed and I have to start over". ... rebooted prior to this latest outage. ... Backup Exec is also showing this i.e. no option to restore between ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS Backup Fails
    ... The server name and domain name are correct and there is only a single ... You mentioned event log errors which rang a bell. ... showing up with bad block errors at about the same time that the backup error ... prior to when this worked? ...
    (microsoft.public.windows.server.sbs)
  • Re: File deletion logs?
    ... I'm running Windows Small Business Server ... We have employees who have just recently left the ... you could restore from backup (you do ... server *prior* to their doing this, in order to capture it in the event ...
    (microsoft.public.windows.server.general)
  • RE: SBS Back up Failure
    ... attached the log and report from yesterday's backup also. ... One or more components of Small Business Server Backup failed. ... recommended that you review errors in the Event log related to the service. ... Notifications task in the Server Management Monitoring and Reporting taskpad. ...
    (microsoft.public.windows.server.sbs)
  • Re: MSKB 891957, VSS Update for Windows Server 2003
    ... Well, it turns out the RDP connection dropping issue won't go away, ... level to the server in the office may have an affect on the issue. ... I just remembered I also re-installed RDP Client V6 last night as ... I left the server with user Backup logged in when I left the ...
    (microsoft.public.windows.server.general)