Restore Zerto Backups using AWS Storage Gateway

In this post, I will restore a VPG via the AWS Storage Gateway. The Zerto restore point is stored in AWS S3 storage and the AWS Storage Gateway will pull it over as part of the Zerto restore process.

From the Action menu, I select the Restore option

Zertø 
Dashboard 
Sites 
VPGs 
VMS 
Monitoring 
Retention Status 
Reports 
Analytics 
Setup 
ZGA-CMH 
@ Test 
Failover 
Dashboard 
VPGS 
10 
lops O 
Throughput (Ma'sec) O 
WAN Traffic 
(Ma,'sec) O 
1 Running tasks 
Running Retention prcnNss (15%) 
Act 
A Site is OK 
create VPG 
Actions 
VMS 
20 
Protected 
9TB 
11 
O 
01 
O 
Now 
Compress 
71% 
VPG Health 
VPG Status 
Site Topology 
ZGACMH 
Average RPO 
13sec 
Meeting SLA 
RPO not Meeting SLA 
History not Meeting SLA 
Not Meeting SLA 
Processing 
Create a Virtual Protection Group (VPG) 
Add Checkpoint 
Add a Checkpoint With a tag 
Restore File 
Restore a file from the recovery site 
Restore 
Restore one or more VMS from a selected restore point 
Move VPG 
Migrate one or more VPGs to their recovery site 
Search and Restore 
Search for files and folders to restore their VM or VPG 
Running tasks 
Task 
Running Rete.„ 
Events 
Name 
Login 
Login 
Login 
Login 
Login 
Related Entities 
AWSSGW.VPGI, Lou.. 
Description 
ZVM Logiry Success 
ZVM Logim Success 
ZVM Logim Success 
In progress 
2 VPGS 
5 Outgoing VPGs 
Multiple Sites (4) 
View All 
View All 
Date 
37m ago 
I h ago 
2h ago 
gh ago 
w ago

I select my VPG from the list of VPGs that are backed up to S3.

Restore O 
Restore Plan 
Restore Settings 
VM Settings 
@ Summary 
O Restore from VM Select 
@ Restore from VPC Q 
DAY-CMH 
AWS-SGW-VPGI 
SS-AWS-SGW-VPG2 
SS. -VPG2 
i 
Previous

I select my restore point.

Restore O 
Restore Plan 
Restore Settings 
VM Settings 
Summary 
select the restore point for vpc;: SS-AWS-SGW-VPG2 
O 
C) 
O 
Point in Time 
November 22, 2019 AM 
November 21 2019 PM 
November 21, 2019 AM 
November 20, 2019 PM 
November 20, 2019 3:01:33 AM 
Restore Site 
ZGA-CMH 
ZGA-CMH 
ZGA-CMH 
ZGA-CMH 
ZGA-CMH 
VMs 
Volun_ 
10/10 
10/10 
Repository 
Aus 
Aus 
AWS 
Awes 
AWS 
Cancel 
ZORG 
Previous 
Next

I select the host and the storage to restore the VMs and choose which VMs I want powered on and if I want the NICs to connect.

Restore O 
Restore Plan 
Restore Settings 
VM Settings 
Summary 
D 
D 
D 
Restore on Host 
VM Name 
SS_VWMLTRI 
LTR2 
SS_WVMLTR3 
SS_WVMLTR4 
SS_WVMLTR5 
192.168.50.22 
Restored VM Nam 
SS_VWMLTRI 
SS_VWMLTR2 
SS_VWMLTR3 
SS_WVMLTR4 
SS_WVMLTR5 
Configure VM, Host, Datastore, volume and NIC settings 
Restore on Datastore vollOTB 
APPLY VPG CONFIGURATION 
19216850.22 
192.168.50_22 
192.168.5022 
v0110T3 
vollOTB 
vollOTB 
vollOTB 
vollOTB 
# Volumes 
2/2 
2/2 
2/2 
2/2 
2/2 
Cancel 
Power On 
o 
o 
EDIT SELECTED 
Actions 
Volumes MCs 
Volumes MCs 
Volumes NICS 
Volumes NICs 
Volumes NICs 
undo the last action Close 
Previous 
Next

I finish the wizard by clicking Restore.

Restore O 
Restore Plan 
Restore Settings 
VM Settings 
Summary 
READY TO RESTORE 
vPG Name: 
Restore Point: 
Repository. 
SS-AWS-SGW-VPG2 
November 22, 2019 
AV.'S 
RESTORE 
Cancel 
Next

I can see in my OPNsense console that the AWS Storage Gateway is pulling the backup over from AWS S3.

Once it settled in, it fluctuated between 650Mbps and 920Mbps on my 1Gbps VPN link to AWS.

Z opr] 
sense' 
Lobby 
Reporting 
Health 
Insight 
Net Flow 
Settings 
Traffic 
System 
Interfaces 
Firewall 
• Routing 
VPN 
Sewices 
power 
Help 
root@OPNsense.jpauI.me 
Reporting: Traffic 
In (bps) 
Out (bps) 
Interface 
MGMT 
Host IP 
192.168.50.33 
Sort by 
Bandwidth In 
Bandwidth Out 
Filter 
Local 
4.09M 
MGMT 
MGMT 
Total In 
6.BOG 
WAN 
WAN 
I Psec 
VLAN120 
VLAN120 
Total out 
36.48M 
• VLAN361 
VLAN361 
Top 
IPSec 
Neuro IPSec 
Display 
IP Address

Using the default AWS Storage GW settings, the 1TB VPG took a little over 5 hours and 20 minutes.

 I changed the AWS Storage Gateway to the recommended settings per this article https://docs.aws.amazon.com/storagegateway/latest/userguide/Performance.html#performance-fgw and re-ran the same restore. The 1TB VPG restored in 4 hours and 20 minutes.

The AWS Storage Gateway is a good lower-cost option to store your Zerto LTR Backups. It was easy to deploy and restore VPGs using the Zerto UI.

Protect Zerto VPGs to S3 using AWS Storage Gateway

In this post, I will use the Zerto Long Term Retention repository (LTR) I created in this post using the AWS Storage Gateway and S3 storage.

The first step is to create a VPG and target the AWS Storage Gateway as the LTR repository.

I create a new VPG from the Zerto dashboard.

Zertø 
Dashboard 
Sites 
VPGs 
VMS 
Retention Status 
Reports 
Analytics 
Setup 
ZGA.CMH 
@ Test 
a Failover 
VPGs > DAY-CMH 
MEETING SLA 
IOPS O 
Throughput (MB/ sec) O 
WAN Traffic 
(Mg/sec) O 
PROTECTED VMS 
1 VMS 
36.1 GB Protected 
9 
Journal History 
SITES 
ZGACMH 
SLA: 1 day 
23:55 hrs 
Recovery 1'/30,'2019 10:41 
Retention Status 
12/01/2019 3:00 AM 
1 Running tasks 
ZGAO 
Active alerts 
Running tasks 
Marne 
BackupProtectionGr_ 
create VPG 
Create a Virtual Protection Group (VPG) 
Add Checkpoint 
Add a checkpoint with a tag 
Restore File 
Restore a file from the recovery site 
Restore one Or more VMS from a selected restore point 
Move VPG 
Migrate one or more VPGS to their Site 
Search and Restore 
Search for tiles and folders to restore their VM or VPG 
NO DATA TO DISPLAY 
Backup protection 'DAY-CMH' 
Backup 'DAV-CMH'. 
Backup Ptotection Grcng» OAY•CMH' Conpl.„ 
Backup protection 'DAY-CMK 
Backup 
1 d ago 
2d ago 
3d ago 
ad ago

Give the VPG a name:

create VPG O 
General 
@ VMS 
Replication 
@ Storage 
Recovery 
NICs 
Retention Policy 
Summary 
Specify a unique name for the VPG and the priority 
• • o Medium 
Previous 
Next 
Done

Add some VMs to the VPG.

Create VPG : 0 
General 
VMS 
Replication 
Storage 
Recovery 
@ MCs 
Retention Policy 
Summary 
UNPROTECTED VMS 
Q Search 
Select the VMS to protect. 
SELECTED VMS a 
Q Search 
O 
Size 
VM Name 
1_7TB 
s-storag e-gateway 
CMHcontrolStation 
88.1 GB 
CMH.VCSA 
289.7 GB 
MicrosoftAZureSiteRem 
1.3 TB 
44.2 GB 
Available Protected VMS: 17 
a 
VM Narne 
CMH-ZVM 
SS-VWMLTR6 
68.1 GB 
504.1 GB 
Define Boot Order 
Default 
Default 
ADVANCED (ONE-TO-MANY) 
select O 
Sorne VMS may be filtered out. Leam_why 
VMS 2 
Total VM Provisioned Size: 572.2 GB 
Next 
Done

Follow the steps in the wizard until you get to step 7: Retention Policy.

Slide the Long Term Retention toggle to turn it on.

Since I configured the AWS Storage Gateway already and set it as the default repository, it automatically populates the target repository and connection information.  Edit the retention information to meet your needs and finish the wizard.

Once the replication via the AWS Storage Gateway to S3 completes, you’re ready to do a test restore. In the next post , I do a restoration from S3 via the AWS Storage Gateway.

Install AWS Storage Gateway for Zerto LTR

In this post. I’ll configure Zerto 7.5 to use the AWS Storage Gateway to store my Zerto Long Term Retention (LTR) backups. 

The AWS Storage Gateway comes in three flavors: file gateway, volume gateway and tape gateway. I’m using the file gateway.

Deploy the AWS Storage Gateway

To install, go to the AWS console and search for “AWS Storage Gateway”.  Click on the  Create Gateway and follow the wizard.

Select File Gateway.

I’m running vSphere, so I downloaded the ESXi .ovf and followed the simple deployment instructions.

I used the public endpoint.

Added in the AWS Storage Gateway VM IP address.

After it connected I activated the Gateway, configured the local disks and logging and completed the installation. It’s that straightforward.

In the next post. I’ll configure Zerto to use the AWS Storage Gateway for LTR backup retention.