Why you need VMware backup schedule
The importance of VMware backup needs no further elaboration these days, especially when you have a lot of virtual machines with critical data to manage. But if you have tried backing them up manually, you'll see how time-consuming and laborious it is, not to mention the hassle of remembering regular backups and avoiding operational errors. In this case, a VMware backup schedule will be a big help.
The primary goal of a backup schedule is to establish a time frame for automatic backup of all critical systems and data to reduce administrative costs, and facilitate operations such as:
- Unattended backups - you don't need to be at the machine all the time to execute backups or wait for tasks to complete. All tasks can be performed automatically.
- Disaster recovery - whenever your system and data go down, you can quickly restore them to a working state.
- Restore from a recent point - avoid the situation where you can only restore to a specific earlier point in time. Instead, you can simply go back to any scheduled point to minimize the loss.
In this article, I will introduce how to create a VMware backup schedule to build your automatic backup mechanism.
How can you create a VMware ESXi backup schedule
An automatic backup schedule can ensure timely preservation of the latest data, and reduces the hassle of frequent manual operations. But when it comes to VMware ESXi, things may be different, because there is no real backup option built in VMware ESXi, let alone the VMware backup schedule.
However, if you can access to vCenter Server (fully replaces vSphere Data Protection since vSphere 6.7), there are still options available for similar goals: If you only need some temporary restore points, you can create a scheduled task of snapshots (Method 1); Or you can use the built-in backup feature to schedule file-based backups (Method 2).
If you don't have a vCenter Server or would prefer to create image-based backups that can restore entire VMs, you may need a specialized VM backup solution (Method 3) for better support.
In this article, I will introduce you how to create a VMware backup schedule in these 3 ways.
Method 1. Use VMware scheduled task to take snapshots regularly
Although VMware snapshots and clones cannot replace backups, they are still convenient and effective features for protecting VM data. VMware ESXi Scheduled Tasks feature allows you to setup recurring snapshots or clone scheduled tasks. But one task can only correspond to one object. You need to create separate tasks for each VM.
How to create VMware snapshot schedule via vSphere Web Client:
1. Access VMware vSphere Web Client, select the virtual machine you want to back up from the left inventory.
2. Click Monitor > Tasks & Events, and select Scheduled Tasks on the left.
3. Click Schedule a New Task on the right side of the page to open a dropping menu, select the tasks you want to create. Here I select Take Snapshot as an example.
4. In the pop-up Take a VM Snapshot wizard (scheduled), Edit Settings page, provide a name and description for the snapshots.
5. Turn to Scheduling options page, provide a name and description for this task.
6. Click Change next to Configured Scheduler to set a frequency. You can choose to Run this action now, after setup, later, setup a recurring schedule for this action as hourly, daily, weekly, and monthly.
7. You can also choose to send email to a specified address when the task is complete.
8. Click OK to save the setup.
9. Back to Scheduled Tasks page, you can find the created tasks in Task list. Select the task and click the Run button (green triangle) to execute the scheduled task.
10. As you can see, you can also choose to Edit or Remove the tasks later.
Method 2. Schedule file-based backup via vCenter Server
For most times, image-based backups are more recommended than file-based backups, because they back up the entire VM which is helpful for disaster recovery. However, if you only want to back up part of the data, file-based backup can provide you with a more granular operation.
Fortunately, if you are using vSphere 6.7 or later version, there is a built-in file-based backup feature vCenter Server you can choose from. The protocols supported for backups are FTPS, HTTPS, SCP, FTP, and HTTP.
How to create VMware backup schedule via vCenter Server:
1. Access vCenter Server Management Interface by browsing out to https://appliance-IP-address-or-FQDN:5480, and login as root.
2. Click Backup on the left menu. In this page, you can also perform single backup by clicking Backup Now.
This time we click Configure button on the right corner in Backup Schedule section to create a VMware backup schedule.
3. In the pop-up page, set up the following configurations:
- Backup location: Backup server name and path
- Backup server credentials: Username and Password of the credentials to authenticate.
- Schedule: How often to perform the backup. You can choose Daily, Weekly, or Custom the specific days in one week as you like.
- Encrypt backup (optional): You can also encrypt the backup if needed.
- Number of backups to retain: You can choose to retain all backups, or specify how many latest backups will be stored. The older backups will be automatically deleted.
- Data: Which data you want to back up.
4. Click Create to save the setup. This way you can create a VMware vcsa scheduled backup.
5. Now you can click Status to check the VMware backup schedule. You can also Edit, Disable, or Delete the schedule later by clicking the buttons on the right upper corner.
Method 3. Schedule image-based backup via VM backup solution (Free)
Since VMware Scheduled Tasks can only snapshots or clone tasks and vCenter Server can only create file-based VMware backup schedule, if you want to created image-based VM backup schedule, the left option is dedicated backup tools.
Here I introduce you to a free VMware backup software -- AOMEI Cyber Backup. It offers you the following benefits.
◆ Agentless Backup: create complete and independent image-level backup for VMware ESXi VMs.
◆ Automated Execution: create backup schedules to automate virtual machine protection.
◆ Restore Entire VM: restore immediately available VMs from any selected restore points.
◆ Perpetual Free: you can use AOMEI Cyber Backup Free Edition with no time limit.
AOMEI Cyber Backup simplifies VM backup into 4 steps, allowing you to quickly backup multiple VMs, no matter they are running or not.
It supports VMware ESXi 6.0 and later versions. Here I will demonstrate how to create a VMware backup schedule with it.
*You can choose to install this VM backup software on either Windows or Linux system.
How to create automatic VMware backup schedule
1. Bind Devices: Access AOMEI Cyber Backup web client, navigate to Source Device > VMware ESXi > + Add VMware ESXi to add your host, and then click … > Bind Device.
2. Create Backup Tasks: Navigate to Backup Task and click + Create New Task to open the wizard. Specify Task Name, Backup Type, Device and Target on the pop-up tab.
3. Then you can set up the automated tasks. This step is optional, you can also Turn off them as you want.
✤ Set Backup Schedule: you can choose to perform Full, Incremental or Differential backup every Day, Week, or Month.
- By selecting Every Day, you can specify start time, end time and intervals.
- By selecting Every Week, you can specify weekdays and start time to perform full backups and differential or incremental backups respectively.
- By selecting Every Month (By week), based on an intuitive list of weeks, you can specify multiple different weekdays start time to perform different types of backups.
- By selecting Every Month (By Date), you can specify random dates and start time to perform different types of backups.
5. Now click Start Backup. By enabling backup schedule, you can Add the schedule and start backup now, or Add the schedule only.
With AOMEI Cyber Backup you can quickly complete automatic backup schedule of multiple VMs. In addition, you can create sub-accounts with limited privileges, to further protect your VMs from accidental mis-operations.
Updated: Tips to create backup schedule for small business
Due to the diversity of data types, there is no standard scheme for backup schedules here. But whether you want to create VMware backup schedule for virtual machines or other data types, there are some general rules to follow. Here I have compiled 5 tips for you.
✎ Create more versions of backups for critical data.
It is best to create different schedules depending on the importance and the frequency of changes, so that you can try to recover from recent restore points and reduce the loss of important data in case of a disaster.
✎ Create multiple backups of important data.
According to the 3-2-1 backup rule, it is best to make 3 backup copies in total, 2 for local storage and the 3rd for off-site storage. This ensures that all important data can be recovered in whichever disaster situation.
✎ Schedule backups wisely.
Do not schedule full backups of large data during business hours. If you must back up during the workday, choose to perform incremental backups during the day and run full backups at night.
✎ Use the proper backup method.
A method like snapshots is also seen as a means of backup in a broad sense, but it can affect VM performance in the long run. If you need backups for long-term storage, then you need to choose other reliable backup methods.
Currently there is no real backup option built in ESXi to create a VMware backup schedule. What you can do is to create schedule in vSphere Web Client to automate regular snapshot taken, and how to create file-based VMware backup schedule using vCenter Server.
If you want to create image-based VM backup schedule, I recommend you AOMEI Cyber Backup. It allows you to automate backup tasks with 4 simple steps, which can greatly promote efficiency.