21
Backup – Hands-On Exercises Backup Hands-on Exercise

Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

sBackup

Hands-on Exercise

Page 2: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

You have been hired as the lead IT Administrator at the Florida International University (FIU) to manage the computers at the School of Computing and Information Sciences (SCIS), the Machine Room (MR), the Green Library (GL), and the College of Engineering and Computing (CEC). As shown in Fig. 10.1, SCIS, MR, GL, and CEC are physically located in four buildings. SCIS main-tains about 200 desktop workstations in its instructional lab, MR maintains about 5 servers, GL maintains about 50 open access guest desktops, and CEC maintains about 500 PCs and laptops. The exact number and configurations of computers are not well documented. Typically, the servers run Windows 2003 and the desktop workstations, PCs, and laptops all run Windows XP. Active Direc-tory is implemented in one of the servers, named dc, and is assigned to all computers in SCIS and GL, but not to those in CEC. As the lead IT Administrator of the organization you are responsible for ensuring that all systems run efficiently with minimal disruption of computing services to the users.

Fig. 10.27: A logical diagram of FIU’s network.

You have decided to employ a Kaseya server to help you manage all computers at SCIS, MR, GL, and CEC. Your Kaseya server is now installed and is fully operational. In addition, you have suc-cessfully deployed agents on some of the machines under your management.

Backup and restoring data is important in a world where computer data drives the companies’ busi-ness. It is crucial to have a platform that backs up data prior to a critical failure and is capable of restoring most updated data after a data loss. Also, having a platform that will allow you to modify the backed up data will help in viewing the contents of the data and/or only extracting a few files.

Kaseya’s Backup module enables you to backup and restore data. It also allows you to view and modify data that has been backed up.

2

Background Story

Fig. 10.27 A

logical diagram of

FIU’s network.

Page 3: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

3Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

Your dedicated virtual environment includes the computers and network devices depicted in Fig. 10.1 and further described below:

• NAT Router: 192.168.0.1 & 192.168.1.1 & 192.168.2.1 & 192.168.3.1

• SCIS: ws1.scis.fiu.edu - 192.168.0.100

• MR: dc.scis.fiu.edu - 192.168.0.10 & 192.168.1.10 & 192.168.3.10

• GL: guest1.gl.fiu.edu - 192.168.1.100

• CEC: pc1.cec.fiu.edu - 192.168.2.100 & laptop1: laptop1.cec.fiu.edu - 192.168.2.200

Note: This virtual environment includes only a limited number of representative servers and work-stations physically housed in the four buildings.

Management wants a backup solution in place. Software needs to be installed on all computers to help facilitate the backups between the computer and Kaseya. After installation of the software, schedule backups on all the computers in the SCIS and CEC buildings. For ws1, full backups need to be taken every Saturday morning at 2 am and incremental backups on the rest of the weekdays. For all the cec computers, full backups need to be taken from all the files in the “c:\kworking” folder every Saturday morning at 3 am and an incremental backup on the rest of the weekdays. All backups should be done immediately and stored on the server machine in the “c:\backups” folder.

Install Kaseya Backup(KBU) on all machines in the SCIS and CEC buildings. BUDR is Ka-seya’s version of Acronis software. The Kaseya VSA will help control and schedule the Acronis software for backup and restore procedures.

Note: This version of KBU will not work with Microsoft Framework .NET 4 extended. Therefore it is highly recommended that you remove the current version of .NET from your machines, and down-load Microsoft Framework .NET 3.5 and install it on all of the virtual machines before proceeding with this exercise.

1. Open the Backup module. Go to Configure > Install/Remove.

2. Click on the checkboxes next to laptop1, pc1, and ws1.

3. Click on Install/Reinstall.

Exercise

Technical Information

Part 1

Page 4: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

4 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

Note: This process will take some time. Please wait 10-20 minutes before continuing. After 20 min-utes, if the installation message continues to say Pending, refresh the page.

Note: Updating the Backup software is an important task. If Acronis updates are available for the endpoint the version number will turn red indicating that a newer version is available. In order to

update the endpoints, select the agent and click on the Install/Reinstall.

Specify the directory location to store backup images; however, for this to work, the credentials need to be set on the Agent module. The folder needs to be created locally on dc and set to shared prior to using the UNC within the Kaseya VSA. Once the location is set, backup a full image of the “c:” drive on ws1. The backup needs to be done on every Saturday morning at 2 am and an incre-mental backup on every weekday at the same time. Once scheduled, immediately get a full backup. The backup destination needs to be on the dc local drive in the “c:\backup” folder.

-Using RDP, log into the dc computer and create a folder on the “c:” drive called “c:\backup”. Af-ter creation of the folder, set the share folder options.

1.Remotely login to dc through RDP (use “mstsc.exe /admin /v:<NAT_ROUTER_ IP>:<DC_RDP_PORT>”)

2. Go to the “c:” drive.

Fig. 1.1

Part 2

Page 5: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

5Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

3. Create a new folder called “backup” on the root of the “c:” drive.

4. Right-click on the folder.

5. Go to Properties.

6. Click on the Sharing tab.

7. Select the Share this folder radio button.

8. Type backup in the Share name textbox.

9. Click on Permissions.

10. Select Allow checkboxes on Full Control, Change, and Read permissions.

11. Click on Ok.

12. Click on Ok

Fig. 2.1

Page 6: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

6 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

13. Disconnect from the remote dc connection.

Note: This product is only supported on Windows 2000 machines or later.

-Set the credentials for all computers. Once the credentials are set, set the backup location to point to the shared backup directory on the dc server.

14. Open the Agent module. Go to Configure Agents > Set Credential.

15. Click on the checkboxes next to dc, guest1, laptop1, pc1, and ws1.

16. Type <USERNAME> in the Username textbox

17. Type <PASSWORD> in the Password textbox.

18. Type <PASSWORD> in the Confirm textbox.

19. Select the Use machine’s current domain radio button.

20. Click on Apply.

Fig. 2.2

Page 7: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

7Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

Note: The credentials saved must work on both the agent machine and the image location. If the image location is a network device, permissions must be set correctly for the user set in the Set Credentials page.

Fig. 2.3

Page 8: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

8 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

21. Open the Backup module. Go to Configure > Image Location.

22. Click on the checkboxes next to laptop1, pc1, and ws1.

23. Type “\\192.168.1.10\backup” in the Volume Path textbox.

24. Click on Set.

Note: 192.168.1.10 refers to one of the cards on the dc server. In an environment that the domain name of the server can be resolved from any computer using the well-known DNS server, you could just use dc.mr.fiu.edu. However, as some of the computers in our virtual environments are assumed not to be aware of the local DNS, we use the IP address instead to make sure that all com-puters can see the shared directory without any problem.

-Schedule a full image backup of ws1’s “c:” drive. The backup should take place on every Satur-day morning at 2am, and then an incremental backup will follow on every weekday at the same time. After scheduling the backup, immediately backup the backup.

25. Go to Backup > Schedule Volumes.

26. Click on the checkbox next to ws1.

27. Set the date for the next Saturday at 2am.

28. Verify the Last Differential radio button and 1 Day is selected.

29. Verify the Full backup is set to every7 Days.

30. Click on Schedule Full.

31. Click on Backup Now.

Fig. 2.4

Page 9: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

9Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

Note: This process will take some time due to network bandwidth and compression times. Please wait 10-20 minutes before continuing. Also, after the process is done, verify that the backup was completed successfully. To verify if the backup was done successfully go to Backup > Backup Status.

Note: Incremental backup captures only the files that have changed since the previous full or in-cremental back up. Last Differential captures all changes to the target system since the last full backup Last Differential minimizes the backup storage requirements. All Differentials captures all changes since the last full backup and saves all differential backups in addition to the last dif-feren-tial backup.

Fig. 2.5

Page 10: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

10 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

It is best to copy the image files to an offsite server to have multiple copies of the backup images for data redundancy. Use pc1 as an offsite server and dc as local and push the image files to the offsite server.

1. Remotely login to pc1 through RDP.

2. Go to the “c:” drive.

3. Create a new folder called “offsite-backup” on the root of the “c:” drive.

4. Right-click on the folder.

5. Go to Properties.

6. Click on the Sharing tab.

Fig. 3.1

Part 3

Page 11: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

11Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

7. Select the Share this folder radio button.

8. Click on Permissions.

9. Select Allow checkboxes on Full Control, Change, and Read permissions.

10. Click on Ok

11. Click on Ok.

12. Disconnect from the remote pc1 connection.

Fig. 3.2

Page 12: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

12 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

13. Open the Backup module. Go to Offsite Replication > Offsite Servers.

14. Click on the select machine ID link.

15. Click on pc1.cec.fiu-johndoe.

Fig 3.3

Fig 3.4

Page 13: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

13Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

16. Type 192.168.0.100 in Name/IP textbox.

17. Type 13232 in Port textbox.

18. Type “\\192.168.0.100\offsite-backup” in Full path to directory (UNC or local) textbox

19. Click on Create.

20. Click on Local Servers.

21. Click on the select machine ID Hyper-link.

22. Click on dc.mr.fiu-johndoe.

Fig. 3.5

Fig. 3.6

Page 14: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

14 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

23. Click on Offsite Server drop down menu and select pc1.

24. Type “\\192.168.1.10\backup” in Full path to directory (UNC or local) textbox.

25. Click on Create.

Note: The Bandwidth can be limited to a desire number of kBytes/sec by using the Bandwidth Limit.

Fig 3.7

Page 15: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

15Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

26. Click on Schedule Transfer.

27. Select the checkbox next to dc machine.

28. Change the Schedule time to Sunday All Day, then everyday starting at 12:00 am and end¬ing at 5:00 am.

29. Click on Apply.

Note: The schedule can be customized depending on bandwidth, size of the tib files, and off-peak/ on-peak hours.

Fig 3.8

Page 16: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

16 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

Note: Before continuing, verify that the backup was completed successfully. To verify if the backup was done successfully, go to Backup > Backup Status.

If the moment arises where only one file (or just a few files) is needed, a full restore is not neces-sary. In such situations, you can mount the backup image and explore its contents. Open the back-up image on pc1 and copy the “notepad.exe” file from the backup image to pc1.

1.Open the Remote Control module. Go to Desktop Control > Control Machine.

2. Remotely login to pc1 through K-VNC.

Note: The remote connection can fail if the Remote Control policy is not configured correctly and/or if K-VNC is not pre-installed. If the remote connection fails, verify if the Remote Control policy is set to “Silently take control” and also if K-VNC is pre-installed onto pc1. Do not use RDP to connect remotely as the backup image will fail to mount.

3. Log into the Kaseya VSA using your log in credentials.

Part 4

Fig 4.1Fig 4.1

Page 17: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

17Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

4. Open the Backup module. Go to Recovery > Explore Volumes.

5. Click on ws1.scis.fiu-<USERNAME> link.

6. Click on the select machine ID link.

7. Click on pc1.cec.fiu-johndoe link.

8. Click on Mount.

9. Open My Computer.

10. Go to d:\windows\

11. Copy the Notepad.exe file.

Fig 4.2

Page 18: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

18 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

12. Paste the Notepad.exe file onto the desktop.

13. On the Kaseya VSA, click on Unplug All.

Fig 4.3

Fig 4.4

Page 19: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

19Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

Backup the folder “c:\kworking” on pc1 and laptop1. Before scheduling the backup, the folder needs to be defined. Once the folder is defined, schedule the backup to be taken on every Satur-day morning at 3 am and a Last Differential backup on every weekday at the same time. Once scheduled, immediately get a full backup. The backup destination needs to be on the dc’s local drive: “c:\backup”.

1. Open the Backup module. Go to Configure > Folder Backup.

2. Click on the checkboxes next to pc1 and laptop1.

3. Type in “c:\kworking” in the Include file or folder textbox.

4. Click on Include Directories.

5. Go to Backup > Schedule Folder.

6. Click on the checkbox next to pc1 and laptop1.

7. Set the date for the next Saturday at 3am.

8. Verify the Last Differential radio button and 1 Day is selected.

9. Verify the Full bkup is set to every7 Days.

10. Click on Schedule Full.

Part 5

Fig 5.1

Page 20: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

20 Chapter 10 – Backup Hands-On Exercises

Backup – H

ands-On Exercises

Sadjadi et al.

11. Click on Backup Now

Note: Before continuing, verify that the backup was completed successfully. In order to verify if the backup was done successfully, you can go to Backup > Backup Status.

The “c:\kworking” directory on ws1 needs to be restored; however, the backup files for the fold-er are damaged. Since the pc1 “c:\kworking” folder is similar, restore the “c:\kworking” folder from pc1 to ws1.

1. Open the Backup module. Go to Recovery > Explore Folders.

2. Click on pc1.cec.fiu-johndoe.

3. Click on the select machine ID link.

4. Click on ws1.scis.fiu-johndoe.

5. Click on Restore.

Fig 5.2

Part 6

Page 21: Backup Hands-on Exercise - School of Computing and ...users.cis.fiu.edu/~sadjadi/Teaching/IT Automation... · 6 Chapter 10 – Backup Hands-On Exercises Backup – Hands-On Exercises

21Chapter 10 – Backup Hands-On Exercises

Bac

kup

– H

ands

-On

Exer

cise

s

Sadjadi et al.

Note: Only machine IDs with backup installed are listed. You can install the backup software on any machine using the Install/Remove page.

Fig 6.1