(4)why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/lab...

22
CFY-Operating Systems Lab 8 Backups & Restoring Disk Utilities Backup & Restore: how to backup & restore folders, files and system images. How to create a system repair disk. Scheduling of backups: using Windows 7 Backup scheduling utility. Used to schedule backups to particular date and times. Download another backup application (at end lab sheet): Fbackup Log into your VMware account to carry out this lab sheet. Don’t do it on the local machine. Remember to press Ctrl +Alt to get out of the virtual PC and return to the menus and local machine. Write the answers in your own words only . Backup & Restore Video on backups: Watch in your own time (15 mins) http://www.youtube.com/watch?v=QmtXx16uSQA Backup : What is a backup? ……………………………………………………………………………………………… ……………………………………………………………………………………………… Restore : What does restoring mean? Lab 8: Backups, Restoring, Disk Utilities Page 1 of 22 Topics: Section1

Upload: danganh

Post on 06-Feb-2018

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Lab 8 Backups & Restoring

Disk Utilities

Backup & Restore: how to backup & restore folders, files and system images. How to create a system repair disk.

Scheduling of backups: using Windows 7 Backup scheduling utility. Used to schedule backups to particular date and times.

Download another backup application (at end lab sheet): Fbackup

Log into your VMware account to carry out this lab sheet. Don’t do it on the local machine. Remember to press Ctrl +Alt to get out of the virtual PC and return to the menus and local machine.

Write the answers in your own words only.

Backup & Restore

Video on backups: Watch in your own time (15 mins) http://www.youtube.com/watch?v=QmtXx16uSQA

Backup : What is a backup?

………………………………………………………………………………………………

………………………………………………………………………………………………

Restore : What does restoring mean?

………………………………………………………………………………………………

………………………………………………………………………………………………

Task 1: Why are backups important?

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 1 of 18

Topics: Section1

Page 2: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

………………………………………………………………………………………………

Why is it important to backup the data that resides on each of the following media?

Hard disk :..........................................................................................................................

Memory stick :..........................................................................................................................

CD / DVD disc :..........................................................................................................................

Task 2: Open up Windows 7 Backup & Restore utility. Where did you find it?Hint: Control Panel

……………………………………………………………………………………………….....

Task 3: Create two word documents called report1.odt and report2.odt (Libre Office) and save them to a folder in the root of the C: drive called Reports. Type your name in one of the files and your address in the other.

Using Windows 7 Backup & Restore utility:You will need to setup the Backup if this is the first time you have used this utility.

See the following website for details on how to use the Windows Backup & Restore utility:http://www.howtogeek.com/howto/1838/using-backup-and-restore-in-windows-7/

Task 4: Use the Windows backup utility to perform a Backup of the Reports folder and save it to your Partition. Note: the partition must be greater than 1GB in order for it to be used with the Windows backup utility. You should create a suitable partition if you don’t already have one (See lab sheet 6)

IMPORTANT: These two files should be backed up within the one backup file. Be careful to make sure you untick the option to create a system image of the C drive or that you are not backing up any library files. See diagram following.

Lab 8: Backups, Restoring, Disk Utilities Page 2 of 18

Page 3: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

What were the steps you took?………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Check the details of the backup.

To check the backup details, double click the option “Manage Space ” option.

It gives you some summary information about the backup file. You can see the individual backup files if you click the “View backups” button.

Can you see the details about the backup file you have just created? ...............................................

What information does it tell you about it?

………………………………………………………………………………………………

………………………………………………………………………………………………

Look at the backup file you have just created. What is it called? ………………………….

What size is it, having backed up the 2 files listed above? ……………………..

You can also choose to delete the backup if you want.

Lab 8: Backups, Restoring, Disk Utilities Page 3 of 18

Page 4: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Task 5: Delete the 2 report files from the C: drive. Use the Backup Utility to restore them to their original locations. Check it has done it correctly.

Did it work? …………………………

Task 6: Create another folder on your C drive called All Pictures. Copy 2 picture files to it. Change the settings of the Backup to copy this folder also along with Reports folder.

Run the Backup again and check that both folders have been backed up.

Delete one of the pictures from the All Pictures folder. Use the restore utility to restore it. Use the search on filename facility in the restore utility to find the file in the backup file. Choose to restore this file only to its original place. Check that the file was restored.

Did this work? …………………………

Task 7: You can use the Backup utility to create a system image. Don’t try this!What is a system image and why would you create one?………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Where in the Backup utility can you create a system image?

………………………………………………………………………………………………

………………………………………………………………………………………………

Task 8: You can use the Backup utility to create a system repair disk. Don’t try this!What is a system repair disk used for?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Where in the Backup utility can you create a system repair disk?

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 4 of 18

Page 5: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Scheduling of backups

Task 9: How would you schedule the last backup you created, to back up the files on the 1st of each month at 1am? Describe the settings used to do this.

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 5 of 18

Page 6: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

System Restore:

Service Packs and Updates:

Ghosting:

System Restore

Sometimes, the installation of a program or a driver can cause an unexpected change to your computer or cause Windows to behave unpredictably. Usually, uninstalling the program or driver corrects the problem. If uninstalling does not fix the problem, you can try restoring your computer's system to an earlier date when everything worked correctly.System Restore uses a feature called System Protection to regularly create and save restore points on your computer. These restore points contain information about registry settings and other system information that Windows uses. You can also create restore points manually.Ref: http://windows.microsoft.com/en-ie/windows7/restore-system-files-and-settings

Task 1: What is a “System Restore” in Windows 7 and why would you create one? In your OWN words only.

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Run the System Restore utility.

Can you find it? In Windows 7 you can search for programs by typing in their name and Windows 7 will find it for you.

Lab 8: Backups, Restoring, Disk Utilities Page 6 of 18

Next Topics

Page 7: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

You may need to turn on the System Restore on your computer system.

To turn on System protection and manage system restore..Control Panel / System and security icon /System Protection

Lab 8: Backups, Restoring, Disk Utilities Page 7 of 18

Choose C: drive and Configure

Page 8: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

You can choose from 2 types of system restore:

Read the following website re: Previous versions of files: http://www.howtogeek.com/howto/11130/restore-previous-versions-of-files-in-every-edition-of-windows-7/

1.1 What does it mean if you choose: Restore system settings and previous versions of files?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

1.2 What does it mean if you choose: Only restore previous versions of files?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

1.3 What is the minimum amount of disk space you have to allocate to set up restore points?

………………………………………………………………………………………………

1.4 Can it be increased and to how much?

………………………………………………………………………………………………

Your system may not have any system restore points already created. So you will need to create some.

Lab 8: Backups, Restoring, Disk Utilities Page 8 of 18

Page 9: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

1.5 Create a Restore Point and call it RestorePoint1-Nov-15. How did you do this?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………1.6 Create a text file in Notepad called Test.txt and save it on your C: drive. Type in your name and address into this file.

Download and install any piece of software. For example: the PDF reader application called Tidy View from the following website and install it on your VMware computer.http://www.downloadcollection.com/freeware/customer-reviews-on-tidy-view-pdf.htm

1.7 Restore your computer system to the restore point created earlier: RestorePoint1-Nov-15. Carry this out on your VMware account only. Check to see what programs and settings are affected by the restore before you carry it out. What does it say?

………………………………………………………………………………………………

Did it work? ............... Is Tidy View still there? .....................

Is the file Test.txt still there? .............................

Summarise your findings.

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 9 of 18

Page 10: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

1.8 What problems if any, might you encounter after a system restore?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

1.9 Important: If you accidently delete user files i.e. personal data files or pictures, could you use a restore point to recover them? Explain!

……………………………………………………………………………………………

……………………………………………………………………………………………

……………………………………………………………………………………………

……………………………………………………………………………………………

……………………………………………………………………………………………

……………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 10 of 18

Page 11: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Service Packs and Updates

Task 2: What is a service pack?………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

How many service packs have been released for Windows 7? ………………………

What service pack is currently running on your Vmware PC and how did you find out?

………………………………………………………………………………………………

You could set up your computer to automatically install the most up-to-date updates. Don’t make this change to your VMware machine but find the menu to do so.

What are the advantages and disadvantages of doing this?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

What other ways can you set up the computer to alert you to operating system updates?

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 11 of 18

Page 12: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Ghosting

Task 3: What is a ghost image?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Task 4: Give an example as to how ghosting would be useful to a system administrator?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 12 of 18

Page 13: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Utilities: Disk Management: utility for managing hard disks and the partitions or volumes that they

contain. With Disk Management, you can initialize new disks, create volumes, and format volumes with the FAT, FAT32, or NTFS file systems.

Chkdsk : utility creates and displays a status report for a disk based on the file system. It also lists and corrects errors on the disk

Defragmentation: utility which rearranges files stored on a disk to occupy contiguous storage locations in order to increase access speed.

Disk Management

How do you start the disk management utility?………………………………………………

Task 1: Write down the drives, partitions and other information that the disk management system sees about your Virtual PC computer system?

………………………………………………………………………………………………

………………………………………………………………………………………………

Is your machine partitioned? ....................................

How do you know this? ………………………………………………………………………………

………………………………………………………………………………………………

Chkdsk

Task 2: Chkdsk can be run as a GUI utility. Where can you find this GUI version?

………………………………………………………………………………………………

………………………………………………………………………………………………

How would you get it to scan for and attempt recovery of bad sectors?

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 13 of 18

Next Topics

Page 14: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Task 3: Go out to the command prompt. Look up help on the chkdsk utility.What is it used for?

………………………………………………………………………………………………

………………………………………………………………………………………………

Run the chkdsk command from the command prompt on your primary drive.

What happened?

………………………………………………………………………………………………

………………………………………………………………………………………………

Start the command prompt in elevated mode and run the chkdsk command again. Did it work this time? ......................

Check out what switches are available for the chkdsk command.

/F……………………………………………………………………………………………

/R……………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 14 of 18

Windows 7 has been implemented with security in mind. Hence any process is launched under restricted mode to prevent users from performing tasks which is against their user rights and permissions.

This feature may be extremely useful for normal users but for computer experts this feature can be annoying. If you want to run an administrator type program at the command prompt or install something on your windows 7 and you see a prompt with message “This Setup Must be Launched from an Elevated Command Prompt”.

You need to launch the command prompt with full admin rights and permissions.

Find out how to start the command prompt in elevated mode.

Page 15: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Disk Defragmentation

Question: How can file access speed be increased by defragmenting your medium?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Task 4. Does your hard disk require defragmentation? …………………………..

How do you check this?

………………………………………………………………………………………………

………………………………………………………………………………………………

Disk Cleanup

This program is great utility to free up space on your computer’s hard disk.

Run this software on the C drive of your computer (local & virtual machine)?How much space can it free up?Note: There is NO need to free up the space on the local C drive.

………………………………………………………………………………………………

………………………………………………………………………………………………

Question: How does it free up space on your computer’s hard disk?

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 15 of 18

Page 16: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Revision:

Q1. What drives, partitions and other information does the disk management system see about your Virtual PC computer system?

File Systems used: …………………………………………………………….

Partitions used: ………………………………………………………………………

Disk space used: ……………………………. Disk Space available: …………………….

Q2. Step 1:Create a backup of the following two folders using Windows 7 backup software.

C:\Users\Public\ Pictures\Sample PicturesC:\Program Files\Common Files\Services

Save the backup to your USB key. Did it work? ………………………………………………

Step 2:When the backup is complete, go to the folder C:\Users\Public\ Pictures\Sample Pictures and delete the file Desert.jpg.Step 3:Then choose to restore the file Desert.jpg from the backup. Use the search on filename facility in the restore to find the file in the backup file. Choose to restore this file only to its original place. Check that the file was restored.Did this work? …………………………………………………………….

Q3. How would you schedule the Windows 7 backup created in Q2, to run only once each week, on Thurs at 2am? How did you do this?

Q4. If the data belonging to a user is accidentally deleted and lost. Can we restore the computer system to a previous restore point and recover the lost user data as a result? Give the reason for your answer.

Q5. What service pack is currently running on your machine? ....................................How would you identify what windows service pack is currently running on your machine?

Q6.(a) What is chkdsk used for?

(b) Perform a FULL check using the GUI version. What settings did you set?

Lab 8: Backups, Restoring, Disk Utilities Page 16 of 18

Page 17: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

Extra Utilities to Install

Fbackup

Download Fbackup from the link below and create another backup.

http://www.fbackup.com/

Backup some files using Fbackup:Call the backup file BackupV2-Date and save it to the Desktop. For example: BackupV2-30-Oct-15.

Once the backup is done, check that it has worked.

Do you think the backup worked correctly? ………………………………… N.B the backup file should not be a shortcut. Do it again if necessary.

Use the Fbackup to restore them to their original locations. Check it has done it correctly.

Did it work? …………………………………………

Checkout the following options on Fbackup : Full backup, Mirror backup, Encrypt, Scheduling.

………………………………………………………………………………………………

………………………………………………………………………………………………

What does encrypt the backup do and why would you do this?

………………………………………………………………………………………………

………………………………………………………………………………………………

How would you schedule the backup in Fbackup to run once a month at midday?

………………………………………………………………………………………………

Which was easier to use Fbackup or Windows Backup and why?

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 17 of 18

Page 18: (4)Why should you create a backup of your filesglasnost.itcarlow.ie/~mcmanusa/notes/cfy/Lab 8...  · Web viewCreate two word documents called . report1. odt. and . report2. odt (Libre

CFY-Operating Systems

………………………………………………………………………………………………

Other Utilities: On your VM machine : Open www.piriform.com . Download the defragmenation package (defraggler) and the system information package(speccy).Install and use these.What are your comments on them:

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

Lab 8: Backups, Restoring, Disk Utilities Page 18 of 18