PC Review


Reply
Thread Tools Rate Thread

Backing up files from My Documents folder

 
 
kurb
Guest
Posts: n/a
 
      19th Oct 2004

Hello

I have W2000 Professional

How may I schedule to have all the folders/files in My Documents
automatically copied every day to another machine/folder on my LAN.

If this is possible, then the next question would be how would it be
possible to answer Yes To All when told that a file with that name
already exists thank you

Kurb

 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      19th Oct 2004
Your shell script would look something like;
XCOPY "uncsourcepath" "uncdestinationpath" /e /v /y

From a command prompt;
xcopy /?
for other syntax.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"kurb" wrote:
|
| Hello
|
| I have W2000 Professional
|
| How may I schedule to have all the folders/files in My Documents
| automatically copied every day to another machine/folder on my LAN.
|
| If this is possible, then the next question would be how would it be
| possible to answer Yes To All when told that a file with that name
| already exists thank you
|
| Kurb
|


 
Reply With Quote
 
kurb
Guest
Posts: n/a
 
      19th Oct 2004
Thank you very much for your response.
Dumb questions
1. How do I create the shell script and where do I place
2. How may I schedule this to occur at say 2 a.m evry morning

Thanks
Kurb

Dave Patrick wrote:

>Your shell script would look something like;
>XCOPY "uncsourcepath" "uncdestinationpath" /e /v /y
>
>From a command prompt;
>xcopy /?
>for other syntax.
>
>
>


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      19th Oct 2004
"kurb" wrote:
| Thank you very much for your response.
| Dumb questions
| 1. How do I create the shell script and where do I place

* Create and save the file;
-------------------mybackup.cmd---------------------
xcopy "E:\Documents and Settings\Administrator\My Documents"
\\pcname\C$\Data /e /v /y
-------------------------------------------------------
Substitute your username for "Administrator" and the destination
computername for "pcname" (note: above command is all one line)


| 2. How may I schedule this to occur at say 2 a.m evry morning
* Use Task Scheduler to schedule mybackup.cmd Make sure you use a user
account and password that has permissions to the resources.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


 
Reply With Quote
 
Pascal Fuks
Guest
Posts: n/a
 
      20th Oct 2004
Hello,
you can also use the XXCOPY software (www.xxcopy.com)
It has a very nice feature (/CLONE) tha replace existing files, but also
remove deleted files...
I really like it.

Pascal

"Dave Patrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "kurb" wrote:
> | Thank you very much for your response.
> | Dumb questions
> | 1. How do I create the shell script and where do I place
>
> * Create and save the file;
> -------------------mybackup.cmd---------------------
> xcopy "E:\Documents and Settings\Administrator\My Documents"
> \\pcname\C$\Data /e /v /y
> -------------------------------------------------------
> Substitute your username for "Administrator" and the destination
> computername for "pcname" (note: above command is all one line)
>
>
> | 2. How may I schedule this to occur at say 2 a.m evry morning
> * Use Task Scheduler to schedule mybackup.cmd Make sure you use a user
> account and password that has permissions to the resources.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
>



 
Reply With Quote
 
kurb
Guest
Posts: n/a
 
      21st Oct 2004
Thanks again for your response. I tried the command and many variations
of it on the command prompt. It just does not properly.
I got one instance of the following command to work, only after
specifying the exact document type for filename Test

xcopy "C:\Documents and Settings\Administrator\My Documents\Test.xls"
\\PCName\NewFolder

Repeating the same command did not work after that.
At other times it cant find the file or the directory or the path or even recognize the xcopy command. Completely frustrated. What am I doing wrong??

Thanks


kurb

Dave Patrick wrote:

>"kurb" wrote:
>| Thank you very much for your response.
>| Dumb questions
>| 1. How do I create the shell script and where do I place
>
>* Create and save the file;
>-------------------mybackup.cmd---------------------
>xcopy "E:\Documents and Settings\Administrator\My Documents"
>\\pcname\C$\Data /e /v /y
>-------------------------------------------------------
>Substitute your username for "Administrator" and the destination
>computername for "pcname" (note: above command is all one line)
>
>
>| 2. How may I schedule this to occur at say 2 a.m evry morning
>* Use Task Scheduler to schedule mybackup.cmd Make sure you use a user
>account and password that has permissions to the resources.
>
>
>


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      21st Oct 2004
Try;
Start|Run|cmd.exe
then paste in the line you're trying. If it fails then copy the command and
the error it returns with and paste in the body of a reply.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"kurb" wrote:
| Thanks again for your response. I tried the command and many variations
| of it on the command prompt. It just does not properly.
| I got one instance of the following command to work, only after
| specifying the exact document type for filename Test
|
| xcopy "C:\Documents and Settings\Administrator\My Documents\Test.xls"
| \\PCName\NewFolder
|
| Repeating the same command did not work after that.
| At other times it cant find the file or the directory or the path or even
recognize the xcopy command. Completely frustrated. What am I doing wrong??
|
| Thanks
|
|
| kurb


 
Reply With Quote
 
kurb
Guest
Posts: n/a
 
      21st Oct 2004
Thank you very much for replying

After rebooting everything I did eventually get it to work.

1. In order to reduce back-up times is it possible to copy over only
those files (in the destination folder) that need to be updated

2. To create the script I create a word document called
"MyDocumentsBackup.cmd" and save on the C-disk. The word document only
contains one line which is the xcopy statement:
xcopy "C:\............., and then schedule to run daily. Is this
correct?

3. What command do I use on the run/command prompt to execut this code.


Thanks for all the help

kurb


Dave Patrick wrote:

>Try;
>Start|Run|cmd.exe
>then paste in the line you're trying. If it fails then copy the command and
>the error it returns with and paste in the body of a reply.
>
>
>


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      21st Oct 2004
"kurb" wrote:
| Thank you very much for replying
|
| After rebooting everything I did eventually get it to work.
|
| 1. In order to reduce back-up times is it possible to copy over only
| those files (in the destination folder) that need to be updated
* Also append the /d switch to only overwrite where the source modified
date/time is newer than the destination modified date/time.

| 2. To create the script I create a word document called
| "MyDocumentsBackup.cmd" and save on the C-disk. The word document only
| contains one line which is the xcopy statement:
| xcopy "C:\............., and then schedule to run daily. Is this
| correct?
* Using word would probably cause you problems. Use notepad.exe

| 3. What command do I use on the run/command prompt to execut this code.
* The full path to 'MyDocumentsBackup.cmd'

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


 
Reply With Quote
 
kurb
Guest
Posts: n/a
 
      26th Oct 2004
Thank you so much.
I have the script working fine now.
When I click on it, the backup works as it should.
However, the Scheduled Task operation does not seem to work.
I always get
Last Run Time: Never
Status: Could not start
Last Result: 0x0

Appreciate if you could give me any ideas

kurb

Dave Patrick wrote:

>"kurb" wrote:
>| Thank you very much for replying
>|
>| After rebooting everything I did eventually get it to work.
>|
>| 1. In order to reduce back-up times is it possible to copy over only
>| those files (in the destination folder) that need to be updated
>* Also append the /d switch to only overwrite where the source modified
>date/time is newer than the destination modified date/time.
>
>| 2. To create the script I create a word document called
>| "MyDocumentsBackup.cmd" and save on the C-disk. The word document only
>| contains one line which is the xcopy statement:
>| xcopy "C:\............., and then schedule to run daily. Is this
>| correct?
>* Using word would probably cause you problems. Use notepad.exe
>
>| 3. What command do I use on the run/command prompt to execut this code.
>* The full path to 'MyDocumentsBackup.cmd'
>
>
>


 
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
Backing up Documents Folder Pivco Windows Vista File Management 6 27th Apr 2008 01:52 PM
printing of files from my documents folder =?Utf-8?B?Y2hvcGluaGF1ZXI=?= Windows XP General 11 19th Mar 2006 06:20 PM
Missing 2/3 of files in 'My Documents' folder =?Utf-8?B?RXJpYw==?= Windows XP Help 4 19th Nov 2004 07:29 AM
Backing up files (documents) J.A.Dye Windows XP Basics 2 23rd Aug 2004 08:09 PM
Why are files in the My Documents folder always set to read only? Sean Microsoft Windows 2000 1 15th Oct 2003 01:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:28 AM.