Copy a folder automatically to location on a server

  • Thread starter Thread starter MSExchange2003Student
  • Start date Start date
M

MSExchange2003Student

Hi all

I have a user that work on a financial program. All her files is in the root
directory of the C drive. I need something/utility to help me in that all
the files in this root directory need to be copied automatically to the
server once she logs off to go home at night as a backup. This is very
important data so we need a backup. Is there a tool/urtility like this.
Thanks for all the help.

She have winxp pro and is connected to a win 2003 server which is the DC.
 
MSExchange2003Student ÐÉÛÅÔ:
Hi all

I have a user that work on a financial program. All her files is in theroot
directory of the C drive. I need something/utility to help me in that all
the files in this root directory need to be copied automatically to the
server once she logs off to go home at night as a backup. This is very
important data so we need a backup. Is there a tool/urtility like this.
Thanks for all the help.

She have winxp pro and is connected to a win 2003 server which is the DC.
1. Why root directory of C drive? Is this limitations of the program.
or you just using such configuration? If you can you should change the
location of this files.

2. You can assign scripts for user logoff via group policy - there you
can copy your important files (even with copy command).
 
MSExchange2003Student ÐÉÛÅÔ:
Hi all

I have a user that work on a financial program. All her files is in the
root
directory of the C drive. I need something/utility to help me in that all
the files in this root directory need to be copied automatically to the
server once she logs off to go home at night as a backup. This is very
important data so we need a backup. Is there a tool/urtility like this.
Thanks for all the help.

She have winxp pro and is connected to a win 2003 server which is the DC.
1. Why root directory of C drive? Is this limitations of the program.
or you just using such configuration? If you can you should change the
location of this files.
This is not really an issue. Files could be anywhere but we hvae it there

2. You can assign scripts for user logoff via group policy - there you
can copy your important files (even with copy command).
Can you help me to do this or how to use the copy command?
 
This is not really an issue. Files could be anywhere but we hvae it there
If you can change location of files, why don't you place them at network
resource?
2. You can assign scripts for user logoff via group policy - there you
can copy your important files (even with copy command).
Can you help me to do this or how to use the copy command?
For example, your user has mapped network drive N. And you want to copy
all files from some location to folder N:\backup. In this scenario you
need do the following:

1. Create file backup.cmd and write there following string:

copy /D /Y <source location> N:\backup


2. Open GPO editor (run mmc command, select menu "File"->"Add/Remove
snap in", press "Add" button, find "Group policy object editor" snap in,
press "Add" button. Select policy object for target computer (press
"Browse" button in "Select group policy object" dialog, select
"computers" tab, select target computer).

3. Add logoff script (expand "user settings" node, then "Windows
settings", select "Scripts" node, select "Logoff", open properties
dialog, press "Add" button, then press "browse" button and select script
written before. Press OK button enough times.

P.S. You should know, that this not recommended solution, because
1. You should make backups with backup software (for example, ntbackup).
2. If you are using AD environment it is better to configure roaming
profiles, so users will be able to work at any computer in the network
with same environment (and with networked home directory).
 
This is not really an issue. Files could be anywhere but we hvae it there

That is an awful practice -- the application should have its own
subdirectory.
2. You can assign scripts for user logoff via group policy - there you
can copy your important files (even with copy command).
Can you help me to do this or how to use the copy command?

xcopy /c /y /v SoucePath \\Server\Share\DestDirectory

You need the /y for overwriting the old copy, /v to verify if the files
are important (maybe not since no one will see the problem), and /c
to continue on error in case you want SOME of the files if others
fail.

You might need /S for include subdirectories but this would be
terrible if using the root directory as a source.

It might look like this:

xcopy /c /y C:\ApplicationDir \\Server\Share\DestDirectory
 
Why not mapp a drive at logon --- have the app data on the mapped drive and
use the normal baclup procedure that is already in place? --- If your using
XP you could even use offline files as well?
 
Thanks Herb for the command

Herb Martin said:
That is an awful practice -- the application should have its own
subdirectory.


xcopy /c /y /v SoucePath \\Server\Share\DestDirectory

You need the /y for overwriting the old copy, /v to verify if the files
are important (maybe not since no one will see the problem), and /c
to continue on error in case you want SOME of the files if others
fail.

You might need /S for include subdirectories but this would be
terrible if using the root directory as a source.

It might look like this:

xcopy /c /y C:\ApplicationDir \\Server\Share\DestDirectory
 
Romualdt, the problem that i have with this is that if a user is created in
AD it automatically creates the user a map drive with a RESTRICTION size of
1GB and this users files is more than 1GB allready
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top