u3a 1 how to backup cd/dvd, memory stick, memory card, 2nd hard drive, auto

28
1 U3A How To Backup CD/DVD, Memory Stick, Memory Card, 2nd hard drive, auto

Upload: nathan-blankenship

Post on 24-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

1U3A

How To Backup

CD/DVD, Memory Stick, Memory Card, 2nd hard drive,

auto

2U3A

Backup:

Make a copy of Data, Software, or even an entire Disk, on

another medium, possibly in a remote location or on an

Internet Server

3U3A

Commercial Practice:

“RAID” systems----put everything on more than one disk, all the time.

Daily (nightly) System Image to remote site---copy the WHOLE computer system, software and data, exactly as-is.

Regular “Incremental Backups” throughout the day---keep “updating” the backup.

4U3A

5U3A

6U3A

7U3A

IF you feel it to be necessary, you can use some of this

software to make Disk Images, or more selective Backups, and

schedule them to run automatically.

8U3A

Where to?

(and how big is it?)

9U3A

Internet Servers----very slow upload.

CD/DVD----not much capacity.

Memory Stick/Card----very expensive per Gb.

Additional/External Hard Disk----£50 for 1000Gb?

10U3A

Does the average Computer Club member

need to do all this?

11U3A

“My Documents”

Email and Contacts (Address Book)

Cookies and Favourites

12U3A

13U3A

14U3A

A simple backup program using

“XCOPY”.

15U3A

16U3A

Using the “xcopy” command for an “incremental backup”.

 

xcopy "c:\Documents and Settings\user\My Documents\*" "archive\user\*" /D/I/C/E/Y >> backup.log

The first run copies everything. Subsequent runs will only copy files that have changed, or been added, since last time. NB: it wont delete files that have been removed since the last run. It makes a “log file” of what it has done.

 

17U3A

/D Copies only those files whose source time is newer than the destination time.

 

/I If destination does not exist and copying more than one file, assumes that destination must be a directory.

 

/C Continues copying even if errors occur.

 

/E Copies directories and subdirectories, including empty ones.

 

/Y Suppresses prompting to confirm that you want to overwrite an existing destination file.

 

18U3A

Backup.bat

19U3A

Backup.bat copies the “current user’s” “My Documents” folder and sub-folders onto the drive you run backup.bat from. Next time it is run, it will only “update” the backup, not re-copy everything.

Backup.bat makes a folder “Archive” and then a sub-folder named for the “current user”, so a different user’s backup will go into a different sub-folder.

You must make sure that everything you want to keep is in “My Documents” and that the backup drive is big enough to hold the copy.

20U3A

if not exist archive\nul md archive

if exist archive\backup_log.log del archive\backup_log.log

if exist "%USERPROFILE%\my documents\*" xcopy "%USERPROFILE%\my documents\*" "archive\%USERNAME%\*" /D/I/C/E/Y >> archive\backup_log.log

if exist "%USERPROFILE%\documents\*" xcopy "%USERPROFILE%\documents\*" "archive\%USERNAME%\*" /D/I/C/E/Y >> archive\backup_log.log

21U3A

22U3A

23U3A

24U3A

25U3A

26U3A

27U3A

28U3A