December 21, 2024
090323_1702_Howtocreate43.png
To backup VMs, you must first create a backup job. The backup job specifies how, where, and when VM data should be backed up. A single job can process one or more virtual machines. Jobs can be started by hand or scheduled for a specific time.

To backup VMs, you must first create a backup job. The backup job specifies how, where, and when VM data should be backed up. A single job can process one or more virtual machines. Jobs can be started by hand or scheduled for a specific time.

This procedure creates a backup job to back up the production VMs specified.

1. Log in to the Veeam Backup and replication manager server.

2. Open the Veeam Backup & Replication Console and click Connect.

3. Enter the MFA Confirmation code and click Confirm.

4. Select Jobs on the Home page and right-click Jobs.

5. Select Backup and click Virtual machine.

6. On the Name page, enter a name for the backup job in the Name field.

7. Give a brief description in the Description field for the future.

8. Select the High priority checkbox if you want this job to allocate resources in the first place.

9. Click Next.

10. Click Add on the Virtual Machines page.

11. Select the VM from the Select objects list on the Add Objects page and click Add.

12. If you have multiple VMS that needs to back up in the same backup job, you can repeat the step to add them.

13. Click Next on the Virtual Machines page.

14. On the Storage page, click Choose to select a backup proxy if you don’t want to use the default Off-host backup (automatic proxy selection) setting.

15. On the Backup Proxy page, if you select On-host backup mode, the source Microsoft Hyper-V host will serve as both the source host and the backup proxy. In this mode, Veeam Data Mover runs directly on the source host, which speeds up data retrieval but places additional strain on the host.

16. If you select Off-host backup mode, Veeam Data Mover will run on a dedicated off-host backup proxy. All backup processing operations from the source host are routed to the off-host backup proxy in this model.

17. If the off-host backup mode is selected for the job, but no off-host backup proxies are available when the job begins, Veeam Backup & Replication will transition to on-host backup mode.

18. You unselect the Failover to on-host backup mode if no suitable off-host proxies are available in the checkbox. Still, the job will fail to start if off-host backup proxies are unavailable or configured properly.

19. Click OK.

20. Select the backup repository from the Backup repository drop-down list where the created backup files must be saved.

21. Click Map backup is helpful if you have relocated backup files to a new backup repository and want to point the job to existing backups in this new backup repository. Backup job mapping can also be used if the configuration database becomes corrupt and you need to reconfigure backup jobs.

22. Set the retention policy settings for restore points in the Retention Policy field.

23. Select days or restore points from the drop-down list.

24. You can configure GFS retention policy settings for the backup job to ignore the short-term retention policy for some full backups and store them for long-term archiving.

25. Select the Keep certain full backups for longer for archival purposes. If you need it, click Configure.

26. Select the Keep weekly full backups for checkbox and specify the number of weeks you want to prevent restore points from being modified and deleted.

27. Select the Keep monthly full backups for checkbox and specify the months you want to prevent restore points from being modified and deleted.

28. Select the Keep yearly full backups for checkbox and specify the years you want to prevent restore points from being modified and deleted.

29. Click OK.

30. On the Storage page, click Advanced.


31. On the Backup page, select Incremental (recommended).

32. Select create synthetic full backups periodically or active full backups periodically checkbox.

33. Click Configure to schedule full backups periodically and click OK.


34. Select Incremental and disable synthetic full or active full backups to create a forever forward incremental backup chain if needed.


35. On the Advanced Settings, select Maintenance.


36. To regularly perform a health check on the backup chain’s most recent restore point, select the Perform backup files health check (detects and auto-heals corruption) checkbox in the Storage-level corruption guard section.

37. Click Configure to set a timetable for the health check.


38. Select the Remove deleted items data after the checkbox and enter the few days you want backup data for deleted VMs to be kept.

39. Select the Defragment and compact full backup file checkbox and click Configure.

40. Set the schedule for the compact operation to compact a full backup periodically.


Note:

GFS retention is not compatible with defragment and compact functionality.

41. On Advanced Settings, select Storage.

42. Select the Enable inline data deduplication (recommended) checkbox.

43. Select the Exclude swap file blocks (recommended) checkbox.

44. Select the Exclude deleted file blocks (recommended) checkbox.

45. Select the compression level for the backup from the drop-down list.


46. Select the Storage optimization for the backup from the drop-down list.


47. Select the Enable backup file encryption checkbox to encrypt the content of backup files.

48. Select a password from the drop-down list. If you still need to do, click Add or use the Manage passwords link to create a new password.


49. On the Advanced Settings, select Notifications.

50. Keep the default settings.


51. On the Advanced Settings, select Hyper-V.

52. Keep the default settings.


53. On the Advanced Settings page, click Scripts and keep the default settings.

54. Click OK.


55. On the Storage page, click Next.


56. When you add VMs running VSS-aware applications to the backup job, you can enable application-aware processing to create a transactionally consistent backup. The transactionally consistent backup ensures that applications on VMs can be recovered without data loss.

57. Select the Enable application-aware processing checkbox on the Guest Processing page and click Applications.


58. On the Application-Aware Processing Options page, select the VM and click Edit.


59. On the Processing Settings, click General.

60. Keep the default settings.


61. On the Processing Settings page, click SQL if the VM is a Microsoft SQL Server VM.

62. Select Truncate logs (Prevents logs from growing forever) to truncate transaction logs after a successful backup.


63. On the Processing Settings page, click Oracle if the VM is an Oracle Server.

64. Select a user account from the drop-down list.

65. Select Do not delete archived logs checkbox.


66. On the Processing Settings page, click PostgreSQL if the VM is a PostgreSQL Server VM.

67. Select a user account from the drop-down list.

68. Select Database user with password checkbox.


69. On the Processing Settings page, click Exclusions and keep the default settings.


70. On the Processing Settings page, click Scripts and keep the default settings.

71. Click OK.


72. On the Application-Aware Processing Options page, click OK.


73. Select the Enable guest file system indexing checkbox and click Indexing.


74. On the Guest File System Indexing Options page, select the VM, click Edit and select Windows indexing.


75. On the Guest file system indexing mode page, keep the default settings.

76. Click OK.


77. Click OK on the Guest file system indexing mode page.


78. Click Choose on the Guest interaction proxy field on the Guest Processing page.


79. On the Guest Interaction Proxy page, select the domain member servers as the Guest Interaction proxy when you use gMSA as the guest OS credential.

80. Click OK.


81. Choose a user account on the Guest Processing page with sufficient permissions from the Guest OS credentials drop-down list.

82. If you have multiple VMs at the same job, click Credentials to Customize guest OS credentials for individual machines and operating systems.

83. On the Guest Processing page, click Test Now to verify network connectivity and credentials for each machine included in the job.


84. On the Guest Credentials Test page, ensure verification success for each machine.

85. Click Close.


86. Click Next on the Guest Processing page.


87. Select Run the job automatically checkbox on the Schedule page and select your specified schedule.

88. Define whether Veeam Backup & Replication should retry the backup job if it fails in the Automatic retry section.

89. Define the time interval the backup job must complete in the Backup window section. The backup window ensures that the job does not overlap with production hours and that there is no unnecessary overhead on the production environment.

90. Click Apply.


91. Click Finish on the Summary page.


92. Verify that the backup job has been added.


I hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com


Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun