>Hi All,
>
> I want to create a backup program using timer event. The program is to take the full volumn backup to the other volumn after every Hour. How can i do that. Can i use RUN xcopy '\\server\volumn'
>command? or is there any other way to take backup of the files/volumns thru vfp and also the faster and safer.
>
No, XCOPY will smoke on files opened by others. Go buy a backup solution - there was a recent review of an ActiveX-based backup product in FPA; this might fit your needs better. It was not free, but was very reasonably priced, and could be easily integrated into a VFP application. I use ARCServe, now sold by CA; its Archive options can handle copying open files, but it is licensed on a server/user basis, and is far from free, or cheap. It runs on the server itself, and can be purchased on a single server or multi-server basis. It has considerable flexibility in job scheduling. Seagate Backup (formerly BackupExec, and available in a number of Enterprise configurations from Veritas) is another option. Also not free or cheap.
> And also if i use xcopy command, will it slow downs the server. and second main will it lock the files or not. means when doing xcopy other users will get disturb or not.
>
XCOPY will bury your LAN, since it copies from the server to the app and then back.