XCOPY Backups. By Elton Keith Hammond Nov. 5/2003



Similar documents
Installation Instruction STATISTICA Enterprise Small Business

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Backing up Data. You have lots of different options for backing up data, different methods offer different protection.

Backup & Restore Instructions

Installation Manual (MSI Version)

Transferring AIS to a different computer

Multicam Installation guide. Table of Contents

Installation Instruction STATISTICA Enterprise Server

Creating client-server setup with multiple clients

Using the Windows XP Backup Wizard. Introduction. Open the Backup Wizard

Migrating Groupwise Data

Application Note - JDSU PathTrak Video Monitoring System Data Backup and Restore Process

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

ADMINISTRATOR S GUIDE

USB Flash Security Free Edition Quick Start

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

CS SoftDent Practice Management Software Installation Guide for Client/Server Configurations

Replacing a MealTime Point of Sale Computer

Acronis Backup & Recovery 11

5.6.3 Lab: Registry Backup and Recovery in Windows XP

Keystone 600N5 SERVER and STAND-ALONE INSTALLATION INSTRUCTIONS

User Guide. Database Backup Procedures for MS SQL Server 2005 Express

How To Restore Your Data On A Backup By Mozy (Windows) On A Pc Or Macbook Or Macintosh (Windows 2) On Your Computer Or Mac) On An Pc Or Ipad (Windows 3) On Pc Or Pc Or Micro

Win8 Networking FinishLynx with Meet Management Technical Support Guide

Installation Instructions Release Version 15.0 January 30 th, 2011

STATISTICA VERSION 11 CONCURRENT NETWORK LICENSE WITH BORROWING INSTALLATION INSTRUCTIONS

e-config Data Migration Guidelines Version 1.1 Author: e-config Team Owner: e-config Team

Pcounter for Windows

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

Informatica MRS Backup

Getting the most from your Maxtor OneTouch TM USB hard drive and Linksys Network Storage Link

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Installation / Migration Guide for Windows 2000/2003 Servers

WS_FTP Professional 12

Acronis Backup & Recovery 11.5 Quick Start Guide

Vess A2000 Series. NVR Storage Appliance. Windows Recovery Instructions. Version PROMISE Technology, Inc. All Rights Reserved.

Published. Technical Bulletin: Use and Configuration of Quanterix Database Backup Scripts 1. PURPOSE 2. REFERENCES 3.

Gorilla CRM System Installation Instructions

NetVanta Unified Communications Server Backup and Restore Procedures

Getting TechWizard Version 4 Started Using Excel 2007 or Higher

enicq 5 System Administrator s Guide

Lab Editing the HOSTS File in Windows

NDSR Utilities. Creating Backup Files. Chapter 9

CS SoftDent Practice Management Software Installation Guide for Client/Server Configurations

SA-9600 Surface Area Software Manual

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

A-PDF Password Security Change pdf file password security. User Documentation

Technical System Reference. Residential Management

Capture Pro Software FTP Server System Output

Installation Instruction STATISTICA. Concurrent Network License with Borrowing Domain Based Registration

EasySuite. User Guide V1.0

BLACKBOARD CONTENT COLLECTION FACULTY TRAINING GUIDE

IBM WebSphere Application Server Version 7.0

Lexia Network Installation Instructions

GUARD1 PLUS SE Administrator's Manual

Upgrade ProTracker Advantage Access database to a SQL database

Figure 1: Restore Tab

4cast Client Specification and Installation

Server & Workstation Installation of Client Profiles for Windows

1.0. User s Guide & Manual USB 2.0 FLASH DRIVE

Table of Contents. Online backup Manager User s Guide

Automated backup. of the LumaSoft Gas database

Installing the Software... 1 Using the System Tray Icon... 5 Restoring the System Tray Icon... 6

Procedure to Install Printer to the LifeWindow 6000 Rev 3.

FILE TRANSFER PROTOCOL (FTP) SITE

PaperClip32. Installation Guide. for Workgroup and Enterprise Editions. Document Revision 2.1 1

Hi-Speed USB Flash Disk User s Manual Guide

1. Set Daylight Savings Time Create Migrator Account Assign Migrator Account to Administrator group... 4

Installation Assistance Windows/Microsoft Updates Updating from Spectra or Upgrading from Spectra 6.x...

How to Back Up and Restore an ACT! Database Answer ID 19211

Outlook 2007: Managing your mailbox

Lab: Data Backup and Recovery in Windows XP

Dell Statistica Statistica Enterprise Installation Instructions

Promap V4 ActiveX MSI File

CGS 1550 File Transfer Project Revised 3/10/2005

Click to begin. Maitre'D Full System Backup & Restore

InventoryControl for use with QuoteWerks Quick Start Guide

BankLink Books Clients

You may have been given a download link on your trial software . Use this link to download the software.

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

User Manual. 2 Bay Docking Station

NovaBACKUP. User Manual. NovaStor / November 2011

Network Edition Download / Installation Instructions

Application Note. CRemote Remote Setup

Q: How to use MSI BurnRecovey on Windows 10 preloaded system?

How to Reinstall SQL Server 2005

Mapping the ITS File Server Folders to Mosaic Windows

LAN (Red) Driverless Hardware Key by SafeNet

TM Online Storage: StorageSync

Symantec Backup Exec TM 11d for Windows Servers. Quick Installation Guide

TECHNICAL SUPPORT GUIDE

Corsair Flash Voyager USB 2.0 Flash Drive UFD Utility User s Manual

Upgrading LytecMD from to 9.4 on Windows Server Best Practices. Revision Date: 7/29/2010 PLEASE READ:

Telelogic DASHBOARD Installation Guide Release 3.6

Using Bitlocker to Encrypt your Flash Drive Information Technology Services July 27, 2012

System Requirements for LAW PreDiscovery Software ( LAW ) LAW PreDiscovery Software Installation Guide

Symantec Backup Exec 12.5 for Windows Servers. Quick Installation Guide

Lab - Data Backup and Recovery in Windows XP

Transcription:

2 Gb USB Flash Drive XCOPY Backups By Elton Keith Hammond Nov. 5/2003 The very simple and powerful XCOPY command has it s roots back in the days of DOS, but can still be used by manually typing it in at a CMD.exe prompt or by placing it in a batch file (BACKUP.BAT) which is simply a special text file with an extension of.bat. I use it every day to back up my computer hard drives automatically to an external Firewire Hard drive and USB Flash Drives. XCOPY has been enhanced with recent releases of Windows! This has been a very reliable backup method for several years at EKHO now. Maxtor 250 Gb Firewire Hard Drive Start the DOS window up from the Windows "START" button, RUN and type in CMD. The CMD.exe window is known also as a DOS box, Command prompt or DOS window to allow you to run traditional DOS commands, programs and batch files. XCOPY SOURCE DESTINATION SWITCHES XCOPY C:\ACAD\PROJECT_A\*.DWG A:\ACAD\PROJECT_A /Y/D /Y this switch will answer Y(es) to Yes/No/All prompts automatically. /D this Date switch will only copy files that are newer than ones on the destination. Examples: To copy ALL files and sub-folders (/S) on C: drive to E: drive. XCOPY C:\*.* E:\ /D/S/H/V/C/F/K/Y 1 Gb Compact Flash Card 1

To get help with all the /switches; go to the DOS prompt (CMD.exe window) and type in the following: XCOPY /? To copy ALL AutoCAD drawings (*.dwg) in the PROJECT_X directory on C: drive to A: floppy drive. XCOPY C:\PROJECT_X\*.DWG A:\PROJECT_X /D/Y/C/V /SWITCHES USED AS FOLLOWS: /D - copies files over top of old ones if newer date found on source (This is a VERY important switch on large hard drives to eliminate hours of wasted time copying files already backed up) /S - COPIES DIRECTORIES AND SUB-DIRECTORIES EXCEPT EMPTY ONES /E - COPIES EMPTY DIRECTORIES /V - COPIES VERIFIES EACH NEW FILE /C - COPIES EVEN IF ERRORS OCCUR /F - COPIES DISPLAYS SOURCE AND DESINATION FILES WHILE COPYING /H - COPIES HIDDEN AND SYSTEM FILES /K - COPIES ATTRIBUTES /Y - STOP PROMPTING FOR PERMISSION TO OVERWRITE /EXCLUDE:FIREWIRE_EXCLUDE.TXT - STOPS COPYING OF.BAK,.BK1,.TMP FILES listed in the exclusion file. No wildcards allowed in the exclusion file. EXAMPLE OF THE /EXCLUDE simple text file contents that eliminates the copying of.bak and other undesirable files to your backup device such as a Firewire Drive. One file extension per line..bak.tmp.bk1.bk2.bk3.ac$.sys.mp3 Current Backup Devices that can be used with this XCOPY Batch file: Hitachi Microdrive type II compact flash drive up to 4 Gb now. Toshiba 1.8 drives up to 40 Gb. Notebook 2.5 drives by Toshiba and Hitachi up to 80 Gb. Compact Flash Cards in capacities up to 6 Gb. USB Flash Drives up to 2 Gb. Firewire / USB Hard Drives up to 500 Gb Iomega Zip drives up to 750 Mb capacities. Internal hard drives up to 300 Gb. 2

RELIABLE AUTOMATIC SCHEDULED BACKUPS When you write up your XCOPY backup command instructions in a batch file with Windows Notepad, (Call it BACKUP.BAT) and store it in a folder like C:\UTIL it can then be easily scheduled to run automatically every day, week, month, etc. with the Windows 2000 or Windows XP Scheduler found in the Control Panel folder. You can also create a shortcut on your desktop to run the batch file manually at your discretion. BACKUP_TO_2GB_FLASH_DRIVE.BAT.lnk Choose "Add Scheduled Task" to set up your backup batch file to run automatically. Use the Browse button to find your BACKUP.BAT batch file. Choose how often you want to backup your files with BACKUP.BAT. 3

Choose a suitable time of the day for the backup. Make sure the computer will be on at that time. Don't forget to enter your user password or the scheduled task will not run! Verify the next day that it did back up your important files to your external drive. 4

EXAMPLE OF AN ACTUAL EKHO BATCH FILE The following example batch file created with Windows Notepad, is used to manually transfer files to my IBM Thinkpad A31P notebook computer s 60 Gb. hard drive so I can take most of my files with me from my server when I leave the office. @ECHO OFF REM EKH June 25,2003 (A31P Received on Tuesday May 28/2002) REM Must be run only on the Thinkpad A31P due to E: drive, NOT UNC naming any more. REM Fails with the UNC designation \\THINKPADA31P\IBM_60GB vs. E: drive designation. @echo Watch out when the 1 Gb Microdrive is removed, or the DVD Player is removed. May change the drive letters. @pause REM Modified when installed in THINKPAD A31P. REM This job is run manually by ELTON HAMMOND. REM Backup data on EKHONT4 server to IBM THINKPAD A31P. REM Backup_ekhont4data_a31p.bat in c:\utils REM Batch file to copy all files from the data folder on D: drive on EKHONT4 to IBM second 60 Gb. In REM THINKPAD A31P. XCOPY \\EKHONT4\DDRIVE\DATA\*.* E:\EKHONT4\DDRIVE\DATA\ REM FROM THE APPS\DRIVERS FOLDER ON D: DRIVE ON EKHONT4 TO ibm 60gb XCOPY \\EKHONT4\DDRIVE\APPS\DRIVERS\*.* E:\EKHONT4\DDRIVE\APPS\DRIVERS\ rem Copies all the photos from EKHONT4 to IBM 60GB XCOPY \\Ekhont4\DDRIVE\EKHO-NT-1\JAZ\PHOTOS\*.* E:\EKHONT4\DDRIVE\EKHO-NT-1\JAZ\PHOTOS\ REM REM /SWITCHES USED AS FOLLOWS: REM /D - COPIES FILES OVER TOP OF OLD ONES IF NEWER DATE FOUND ON SOURCE REM /S - COPIES DIRECTORIES AND SUB-DIRECTORIES EXCEPT EMPTY ONES REM /E - COPIES EMPTY DIRECTORIES REM /V - COPIES VERIFIES EACH NEW FILE REM /C - COPIES EVEN IF ERRORS OCCUR REM /F - COPIES DISPLAYS SOURCE AND DESINATION FILES WHILE COPYING REM /H - COPIES HIDDEN AND SYSTEM FILES REM /K - COPIES ATTRIBUTES REM /Y - STOP PROMPTING FOR PERMISSION TO OVERWRITE REM /EXCLUDE:FIREWIRE_EXCLUDE.TXT - STOPS COPYING OF.BAK,.BK1,.TMP FILES listed in the exclusion file. No wildcards allowed in the exclusion file. Workstation class IBM A31P notebook computer has room for up to 3 x 80 Gb 2.5 drives + 2 x 40Gb 1.8 drives internally! (320 Gb total) Enough room to back up an entire server. 5