Mode
Use the mode option to specify the backup mode to use when performing specific backup operations.
You can use the mode option with the backup vm command. this parameter specifies whether to perform a full image backup, an incremental-forever full backup, or an incremental-forever-incremental backup of Hyper-V virtual machines.
The mode option has no effect on a when backing up a raw logical device.
Syntax
Parameters
- IFIncremental
- Specifies that you want to perform an incremental-forever-incremental
backup of a Hyper-V virtual machine. An incremental-forever-incremental
backup backs up only the disk blocks that have changed since the last
backup. This is the default backup mode.
You cannot use this backup mode to back up a virtual machine if the client is configured to encrypt the backup data.
- IFFull
- Specifies that you want to perform an incremental-forever-full
backup of a Hyper-V virtual machine. An incremental-forever-full backup
backs up all used blocks on a virtual machine's disks. By default,
the first backup of a Hyper-V virtual machine is an incremental-forever-full
(
mode=iffull
) backup, even if you specifymode=ifincremental
(or let the mode option default). Subsequent backups default tomode=ifincremental
.You cannot use this backup mode to back up a virtual machine if the client is configured to encrypt the backup data.
Examples
- Task
- Perform an incremental-forever-full VM backup of a Windows Hyper-V VM named
msvm1
dsmc backup vm msvm1 -mode=iffull
- Task
- Perform an incremental-forever-incremental backup of a Windows Hyper-V VM named
msvm1
dsmc backup vm msvm1 -mode=ifincremental