Page 1 of 1

Copying files wile they are in use?

Posted: Mon Feb 06, 2006 10:20 pm
by AmIdYfReAk
Anyone know a way to do this?

i have a script to Copy all needed files that require to be backed up... but one problem, i got ~5 files that i need to have backed up, but they will allways be used ( they are databases ) and i obviously cannot copy them the usuall way..

:)

Posted: Mon Feb 06, 2006 10:36 pm
by Foo
I think xcopy will let you copy locked files.

Posted: Mon Feb 06, 2006 10:44 pm
by AmIdYfReAk
Tryed it, Sharing violation..

i checked ofer the switches for the app as well, and no go :/

Re: Copying files wile they are in use?

Posted: Mon Feb 06, 2006 10:50 pm
by ^misantropia^
AmIdYfReAk wrote:Anyone know a way to do this?
Install Linux.

On a serious note, IIRC, the files are locked at the kernel level. Usermode apps cannot bypass that.

Posted: Mon Feb 06, 2006 10:55 pm
by AmIdYfReAk
Hummmm, i figuered that.. So i need something low level or actually Close the app ( 30 min process ) then start it back up ( another 20 min ).. .

its windows 2003 Small server installed if that matters :)

Posted: Tue Feb 07, 2006 6:17 am
by FragaGeddon

Posted: Wed Feb 08, 2006 3:27 am
by raw
riddla wrote:try a program called securecopy
:icon14: :icon14:

http://www.scriptlogic.com/products/securecopy/

Posted: Thu Feb 09, 2006 10:33 pm
by AmIdYfReAk
can anyone give me a link on how to get that app working? i have it installed and its prompting for a SFTP Server, do i just set one up? or do i need to run a certan one to get it going?

Posted: Thu Feb 09, 2006 10:57 pm
by AmIdYfReAk
i am going to give G6 server a Go, i will report back with the findings. :)

Posted: Fri Feb 10, 2006 12:13 am
by Canis
I dont think you can because the system reserves the file in memory or something like that as long as the "fopen" or other similar command has been run for a file. Programs that allow you to copy a file that's "in use" generally make a copy of the original file and then have that copy open for editing. But then again, I'm no programmer...

Posted: Fri Feb 10, 2006 2:41 am
by AmIdYfReAk
Hummmm, i need to find atleast something....

this secure copy looks like it is going to work, i have tryed it with a few doc's on a test box, i have not given it a go.

And btw, 2+ grand for a licence for that software?!?!!? and thats only good for a year?!?!?! Jesus!