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..
Copying files wile they are in use?
-
AmIdYfReAk
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
Copying files wile they are in use?
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..

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..
-
AmIdYfReAk
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
-
^misantropia^
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Copying files wile they are in use?
Install Linux.AmIdYfReAk wrote:Anyone know a way to do this?
On a serious note, IIRC, the files are locked at the kernel level. Usermode apps cannot bypass that.
-
AmIdYfReAk
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
- FragaGeddon
- Posts: 3229
- Joined: Sun Sep 17, 2000 7:00 am
:icon14: :icon14:riddla wrote:try a program called securecopy
http://www.scriptlogic.com/products/securecopy/
-
AmIdYfReAk
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
-
AmIdYfReAk
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
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...
-
AmIdYfReAk
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am