PC Review


Reply
Thread Tools Rate Thread

Copy a folder automatically to location on a server

 
 
MSExchange2003Student
Guest
Posts: n/a
 
      17th Apr 2007
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.


 
Reply With Quote
 
 
 
 
Nick Domukhovsky
Guest
Posts: n/a
 
      17th Apr 2007
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).


--
With best regards
Nickolay Domukhovsky, MCSA

 
Reply With Quote
 
MSExchange2003Student
Guest
Posts: n/a
 
      17th Apr 2007

"Nick Domukhovsky" <(E-Mail Removed)> wrote in message
news:enF0$(E-Mail Removed)...
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?

--
With best regards
Nickolay Domukhovsky, MCSA


 
Reply With Quote
 
Nick Domukhovsky
Guest
Posts: n/a
 
      17th Apr 2007
> 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).



--
With best regards
Nickolay Domukhovsky, MCSA
 
Reply With Quote
 
Shane
Guest
Posts: n/a
 
      17th Apr 2007
Nick is right, that is not hte preferred method and a backup program is
better.

I have been using Microsoft's SyncToy for a while now and am quite happy
with it. Before lunch and at the end of each day I synchronize my local and
backup copies.

http://www.microsoft.com/windowsxp/u...o/synctoy.mspx

Shane


"Nick Domukhovsky" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>> 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).
>
>
>
> --
> With best regards
> Nickolay Domukhovsky, MCSA



 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a
 
      17th Apr 2007

"MSExchange2003Student" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>> 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


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


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)


 
Reply With Quote
 
Romualdt
Guest
Posts: n/a
 
      17th Apr 2007
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?



"MSExchange2003Student" <(E-Mail Removed)> wrote in message
news:evhL$(E-Mail Removed)...
> 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.
>


 
Reply With Quote
 
MSExchange2003Student
Guest
Posts: n/a
 
      18th Apr 2007
Thanks Shane i will have a look at this tool.

"Shane" <(E-Mail Removed)> wrote
in message news:%(E-Mail Removed)...
> Nick is right, that is not hte preferred method and a backup program is
> better.
>
> I have been using Microsoft's SyncToy for a while now and am quite happy
> with it. Before lunch and at the end of each day I synchronize my local
> and backup copies.
>
> http://www.microsoft.com/windowsxp/u...o/synctoy.mspx
>
> Shane
>
>
> "Nick Domukhovsky" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>>> 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).
>>
>>
>>
>> --
>> With best regards
>> Nickolay Domukhovsky, MCSA

>
>



 
Reply With Quote
 
MSExchange2003Student
Guest
Posts: n/a
 
      18th Apr 2007
Thanks Herb for the command

"Herb Martin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "MSExchange2003Student" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>
>>> 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

>
> 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
>
>
> --
> Herb Martin, MCSE, MVP
> http://www.LearnQuick.Com
> (phone on web site)
>



 
Reply With Quote
 
MSExchange2003Student
Guest
Posts: n/a
 
      18th Apr 2007
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

"Romualdt" <(E-Mail Removed)> wrote in message
news:56DD4DB3-27A4-4E5D-9B57-(E-Mail Removed)...
> 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?
>
>
>
> "MSExchange2003Student" <(E-Mail Removed)> wrote in message
> news:evhL$(E-Mail Removed)...
>> 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.
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy the whole folder content to new location u473 Microsoft Excel Programming 2 20th Dec 2008 05:46 PM
Copy a folder to a new location =?Utf-8?B?Y2FzaGRlc2ttYWM=?= Microsoft C# .NET 1 2nd Apr 2007 04:33 AM
Creating an Outlook rule that will copy emails to a public folder location Seng F via OfficeKB.com Microsoft Outlook Discussion 4 14th Jun 2006 07:28 PM
Automatically copy files to build location Greg Bacchus Microsoft Dot NET 2 31st Mar 2004 05:36 AM
Copy Files from a folder to new location saybut Microsoft Excel Programming 0 10th Feb 2004 03:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:29 AM.