|
|
 |
Re: FN-FORUM: Windows Backup Script
date posted 26th May 2006 19:55
Yes, but look at Allway Sync instead. allwaysync.com
What the Xcopy command means is: (you need /s as well to make /e work
properly)
copy from this drive\this folder\all files to that drive\that folder\ (put a
slash on the end) keeping the same names /including empty subdirectories /if
they are newer than the existing ones /overwrite files that are read only
/and don't ask for confirmation (which it doesn't in a batch file anyway).
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kathy
http://www.vendetta.co.uk
+44(0)7005 982 261
DNRC Minister for Useful but Irritating Information and Trivia
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----- Original Message -----
From: "Thomas" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, May 26, 2006 7:38 PM
Subject: Re: FN-FORUM: Windows Backup Script
>
> Hi Dave
>
> Could this also be used the other way around, so that instead of just
> backing up to the external hard drive, you can download any edited files
> from it to the local hard drive? (so I can sync both ways)
>
> SO
> XCOPY C:\Documents and Settings\Admin\My Documents\*.* G:\My Documents /E
/D
> /R /Y
>
> BECOMES
> XCOPY G:\My Documents\*.* C:\Documents and Settings\Admin\My Documents /E
/D
> /R /Y
>
> Will that work?
>
>
> ----- Original Message -----
> From: "Dave Boulden" [EMAIL REMOVED]
> To: [EMAIL REMOVED]
> Sent: Wednesday, May 24, 2006 1:08 PM
> Subject: RE: FN-FORUM: Windows Backup Script
>
>
> >
> > It most certainly is... Just use a USB Hard drive or memory drive which
> > will
> > appear as a normal hard drive. Then just creat a batch script to copy
the
> > directory to that drive. I do a similar thing for daily backups (the BAT
> > file is scheduled in Windows Task scheduler and copies files, does
> > Database
> > backups and some time later Nero fires up and burns the lot to DVD-RW).
> >
> > Here's the kind of command I use to do the file copying (where
> > C:\somedirectory\ is the directory you want to backup and X: is the
drive
> > letter for your external USB drive)
> >
> >
> > XCOPY C:\somedirectory\*.* X:\backupdirectory /E /D /R /Y
> >
> >
> > Copy that into a text editor and save the file as "mybackup.cmd" onto
your
> > desktop. Double click the file and it will copy all files and
> > subdirectories
> > in C:\somedirectory\ to the USB drive... but only those files that are
new
> > or have changed since the last time you ran it rather than copying the
> > while
> > lot each time.
> >
> > Hope that helps,
> >
> > Dave.
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|