The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Fw: [OT] Backing up files from a Windows 2003 Server


  • Subject: Fw: [OT] Backing up files from a Windows 2003 Server
  • From: Gareth Cook <g@xxxxxxxxxx>
  • Date: Fri, 5 Aug 2005 14:08:20 +0100

I use robocopy - came with one of the resource kits - lots of options
for=20
backing up - seems to also be available by google (robocopy.exe)


----------------------------------------------------------------------
ROBOCOPY v 1.96  :  Robust File Copy for Windows NT
----------------------------------------------------------------------

Started : Fri Aug 05 14:07:16 2005

Usage : ROBOCOPY source destination [file [file]...]=20
[options]

source : Source Directory (drive:\path or=20
\\server\share\path).
destination : Destination Dir  (drive:\path or=20
\\server\share\path).
file : File(s) to copy  (names/wildcards: default is=20
"*.*").

Copy options:    /S : copy Subdirectories, but not empty ones.
/E : copy subdirectories, including Empty ones.
/LEV:n : only copy the top n LEVels of the source directory=20
tree.

/Z : copy files in restartable mode.

/SEC : copy SECurity info (both source and dest must be=20
NTFS).
/SECFIX : FIX SECurity info on existing files and dirs.
/TIMFIX : FIX TIMestamps on existing destination files.

/MOV : MOVe files (delete from source after copying).
/MOVE : MOVE files AND dirs (delete from source after=20
copying).

/PURGE : delete dest files/dirs that no longer exist in=20
source.
/MIR : MIRror a directory tree (equivalent to /E plus=20
/PURGE).

/A+:[R][A][S][H] : add the given Attributes to copied files.
/A-:[R][A][S][H] : remove the given Attributes from copied files.

/CREATE : CREATE directory tree structure + zero-length files=20
only.
/FAT : create destination files using 8.3 FAT file names=20
only.

File Selection:  /A : copy only files with the Archive attribute set
/M : like /A, but remove Archive attribute from source=20
files.
/IA:[R][A][S][H] : Include only files with some of the given Attributes=
=20
set.
/XA:[R][A][S][H] : eXclude files with any of the given Attributes set.

/XF file [file]... : eXclude Files matching given names/paths/wildcards.
/XD dirs [dirs]... : eXclude Directories matching given names/paths.

/XC  /XN  /XO : eXclude Changed  Newer  Older files.
/XX  /XL : eXclude eXtra  Lonely files and dirs.
/IS : Include Same files.

/MAX:n : MAXimum file size - exclude files bigger than n=20
bytes.
/MIN:n : MINimum file size - exclude files smaller than n=20
bytes.

/MAXAGE:n : MAXimum file AGE - exclude files older than n=20
days/date.
/MINAGE:n : MINimum file AGE - exclude files newer than n=20
days/date.
(If n < 1900 then n =3D n days, else n =3D YYYYMMDD=20
date).

Retry Options: /R:n : number of Retries on failed copies: default is 1=20
million.
/W:n : Wait time between retries: default is 30 seconds.

/REG : Save /R:n and /W:n in the Registry as default=20
settings.

/TBD : wait for sharenames To Be Defined (retry error 67).

Logging Options: /L : List only - don't copy, timestamp or delete any=20
files.
/X : report all eXtra files, not just those selected.
/V : produce Verbose output, showing skipped files.

/NP : No Progress - don't display % copied.
/ETA : show Estimated Time of Arrival of copied files.

/LOG:file : output status to LOG file (overwrite existing log).
/LOG+:file : output status to LOG file (append to existing log).

Gareth Cook
Tools and Process Architect
IBM SWG Sales - Lotus Park, Staines, TW18 3AG
Office: +44 (0)1784 445166 - Mobile: +44 (0)7980 445166
AIM Chat : TheBoyG - MSN Chat : chat@xxxxxxx
email: g@xxxxxxx

=20
----- Forwarded by Gareth Cook/UK/IBM on 05/08/2005 14:06 -----

Discussion
Main Topic

ukha_d@xxxxxxx
Today 13:58

.
Subject:
.
[ukha_d] [OT] Backing up files from a Windows 2003 Server
.
Category:



Hi,

I hate using the backup utility which comes with Windows 2003 server,=20
I can never seem to figure out how to move a travan tape to the free=20
pools properly. Someone a while ago said that they use the XCOPY=20
command with various switches and then use the Scheduling feature to=20
automate it. Does anyone know if this would work and if so what I=20
would need to do to back up the data to the tape drive?

TIA
Darren









=20

UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.