At 08:00 AM we take a disk snapshot with this azure cli command:
az snapshot create -g RG1 -n snapshot_0800 –source DISK1
Can you help me to understand how I can create a snapshot at 09:00 AM to provide an incremental snapshot named snapshot_0900 of disk DISK1 ?
At the moment looks like the sanpshot taken at 9 is a full backup
2
Answers
I have created snapshot with the sample name of
snapshot_1600
like below:Yes, you can create an incremental snapshot named snapshot_0900 of disk DISK1. Up to seven incremental snapshots per disk can be created every five minutes. Total of 500 incremental snapshots can be created for a single disk.
To create an incremental disk, make use of
--incremental
parameter with theaz snapshot create
command like below:Output:
To know more in detail, check the below:
Create an incremental snapshot – Azure Virtual Machines | Microsoft Learn
Snapshot to create at 08:00 AM:
az snapshot create -g RG1 -n snapshot_0800 –source DISK1 –incremental true
Snapshot to create at 09:00 AM:
az snapshot create -g RG1 -n snapshot_0900 –source snapshot_0800 –incremental true –copy-start true