Anti-Cloud supports taking disk image backups.
This backup type is only applicable when running on Windows. Disk Image backup on other operating systems is not currently supported by this Protected Item type.
When using the "Disk Image" Protected Item type, on the Items tab, you can select any currently-attached drives for backup, or individual partitions from any drive. It is possible to select "all drives" and exclude individual disks or partitions.
Any change to the partition structure of a drive will cause that drive to be recognized differently in Anti-Cloud. If you had selected such a drive, Anti-Cloud will warn you that the drive can no longer be found. You would need to reselect the drive and/or partitions in the Anti-Cloud Backup & Restore app interface.
Anti-Cloud feeds raw data from each disk partition directly into its chunking deduplication engine. The disk image is deduplicated, compressed, and encrypted as it is being saved to the Storage Vault. No extra temporary spool data is generated and no additional disk space is required.
The backed-up disk image data will deduplicate with other data inside the Storage Vault. A 'Files and Folders' type backup of the same data volumes should achieve a high degree of space savings. The effectiveness of any such deduplication may be negatively affected by: (A) filesystem fragmentation on the physical volume; and/or (B) small file sizes.
Anti-Cloud does not allow additional file exclusions within a partition.
The "Disk Image" Protected Item type in Anti-Cloud is only available with full functionality on Windows 7, or Windows Server 2008 R2, or later (including Windows 10 and Windows Server 2019). Older versions of Windows such as Windows Vista or Windows Server 2008 RTM may operate with limited functionality, including- but not limited to- the inability to skip over free space on some filesystem partition types.
On supported filesystems, Anti-Cloud will exclude unused space from the disk in the backup image. Unused space is represented as zero ranges, that are compressed during the backup phase. When restoring the disk image, the file will include uncompressed zero ranges. Please see the "Supported volume types" section for more information about what filesystems are compatible with this feature. You may disable skipping free space by enabling the "Include unused disk sectors for forensic data recovery" option.
The disk must be set as Online in Windows for Anti-Cloud to exclude unused space. If the disk is set as Offline in Windows, Anti-Cloud is unable to exclude free space, even from a supported filesystem. You can change a disk's Online/Offline state from Disk Management (diskmgmt.msc
) or from diskpart
.
If a disk extent does not contain a filesystem (e.g. if it is a raw byte range), then Anti-Cloud is unable to determine which disk sectors are needed. If you select a "Raw byte range" extent, it is backed up in its entirety, even if the "Include unused disk sectors for forensic data recovery" option is selected. If the raw data contains mostly zero bytes, it will be highly compressed during the backup phase and when stored as chunks in the Storage Vault; however, if the raw data contains mostly random data, it will not compress well.
Anti-Cloud always skips backing up the pagefile of the booted Windows installation (pagefile.sys
/ swapfile.sys
), even if the "Include unused disk sectors for forensic data recovery" option is enabled.
Please refer to the following table of filesystem support notes:
Filesystem | Skip unused space | Consistency |
---|---|---|
NTFS (Microsoft) | Yes | Snapshot |
ReFS (Microsoft) | Yes | Snapshot |
FAT32 (Microsoft) | Yes | If volume is not in use |
exFat (Microsoft) | Yes | If volume is not in use |
UDF (Microsoft) | No | If volume is not in use |
Third-party filesystem drivers (e.g. WinBtrfs, Ext2Ifs, Paragon Linuxfs, ZFSin) have not been officially tested against Anti-Cloud.
Please refer to the following table of special volume type notes:
Volume type | Supported | Notes |
---|---|---|
Basic disks | Yes | Fully supported |
Dynamic disks | Yes | The underlying volume will appear as "Raw byte range". For a span or striped volume, you should make sure to only select the dynamic volume for backup, not the underlying raw disk. Please also note that Dynamic disks are deprecated in Windows 8 and above. |
Storage Spaces | Yes | The underlying volume will appear as "Orphaned volume". You should make sure to select only the Storage Space for backup. |
Bitlocker | Yes, while unlocked | The backup can succeed if the Bitlocker volume is unlocked. If the Bitlocker volume is locked, it should be unlocked before running the backup job, otherwise you may experience an error This drive is locked by BitLocker Drive Encryption. You must unlock this drive from Control Panel. . The resulting partition backup is not protected by Bitlocker and you may extract single files from it without the Bitlocker encryption key, as described below. If you restore to a physical partition, you may wish to re-enable Bitlocker after restoring, via the Windows Control Panel. |
Cluster Shared Volume | not tested | not tested |
Truecrypt / Veracrypt | not tested | not tested |
Please refer to the following table of physical media notes:
Physical media | Supported | Notes |
---|---|---|
Hard drive (512n) | Yes | Fully supported |
Hard drive (AF) | Yes | 512e and 4Kn (Advanced Format) harddrives are supported. |
Mounted VHD / VHDX | Yes | Fully supported |
Removable USB drive | Yes | Some removable drives cannot be completely offlined by the operating system; a restore operation back to the physical removable USB drive may be interrupted by other programs on the PC. |
Remote iSCSI LUN | Yes | Tested successfully against the Windows Server File and Storage Services iSCSI implementation |
Mounted ISO | No | Only harddrive (HDD / SSD) disks are supported. |
Optical drive | No | Only harddrive (HDD / SSD) disks are supported. |
Floppy drive | No | Only harddrive (HDD / SSD) disks are supported. |
Please refer to the following table of partition table notes:
Partition table | Supported | Notes |
---|---|---|
MBR | Yes | Fully supported, including Extended partitions (EBR) |
GPT | Yes | Fully supported |
Anti-Cloud tries to take a VSS snapshot of the selected partition (without invoking any specific writers for quiesence). If this succeeds, the partition backup is crash-consistent.
Anti-Cloud tries to lock the volume handle. If this succeeds, the partition backup is crash-consistent.
Otherwise, Anti-Cloud will print a warning to the job log, and back up the partition in a rolling way. The backup may be inconsistent if other processes are writing to the partition at the same time.
Anti-Cloud stores the disk image files in VMDK format. You can restore these files normally using Anti-Cloud.
There is one plain-text VMDK descriptor file representing metadata about the whole drive, plus separate raw image files for each partition's extent on the disk.
Partitions of the disk that were not selected for backup are represented as zero extents in the VMDK descriptor file. This means the restored disk image appears to have the full disk size, even if only a small amount of partitions inside it were selected. The zero extents will be compressed inside the Storage Vault.
On Windows, the Anti-Cloud Backup & Restore desktop app offers the option to restore the disk images either back to physical partitions, or as files.
You can restore the VMDK disk images and then extract single files from them.
At the time of writing, we recommend the following software:
disk.vmdk
change RW 16065 FLAT "disk-f0000.vmdk" 0
to RW 16065 ZERO
libguestfs-tools
, SuSE: guestfs-tools
, RHEL/CentOS/Fedora: libguestfs-tools-c
)guestmount -a disk.vmdk
losetup
tool (from util-linux
)Not currently supported
When migrating a Windows OS installation to different hardware, any products which use hardware identifiers as a software licensing component may lose their activation status. This includes, but is not limited to
The "C:" does not contain everything needed to boot an operating system. For best results when creating a bootable image, you may wish to ensure that your backup includes
Current versions of Windows do generally handle being booted on dissimilar hardware without any issues.
When you boot a Windows OS installation, it may automatically become specialized for the running hardware (physical or virtual). This improves performance, but can prevent the same OS installation from booting on different hardware if the hardware is sufficiently different. The tolerable differences depend on the hardware in question.
If you experience errors booting a backed-up Windows OS disk image on different hardware (physical or virtual), it may be necessary to prepare the Windows installation for hardware-independence. You can do this by running sysprep
inside the installation before taking the disk image; or, you can do this by booting a Windows recovery environment, mounting the image, and running sysprep
against the attached disk.
The sysprep
tool is installed in the C:\Windows\system32\Sysprep\
directory and is available on all Windows SKUs. From Windows 8.1 onward, its GUI is deprecated in favor of command-line use.
When restoring a smaller partition into a larger one, Anti-Cloud will automatically extend the restored filesystem to the fill the target partition. This feature is available on Windows if the filesystem driver supports it (the NTFS and ReFS file systems).
In other cases, the result will be a large partition containing a small filesystem. It appears to have the large size in Disk Management (that looks at the partitions) but the small size in This PC (that looks at the filesystem). The extra space from the new larger partition cannot be practically used until the filesystem is extended, to fill the partition around it.
On Windows, you can independently repeat Anti-Cloud's attempt at manually extending the filesystem to fill its containing partition by
diskpart.exe
list volume
select volume TARGET_NUMBER
extend filesystem
On Linux, you can resolve this issue by using the ntfsresize
command.
Anti-Cloud does not support restoring a large backed-up partition into a smaller physical partition. If you are trying to do this, please shrink the partition using the OS's partition manager prior to performing the backup.
In order to restore to physical hardware, the target disk or partition should be unmounted. Anti-Cloud Backup & Restore may be able to do this automatically from your current booted OS, if no programs are using the target drive (e.g. for a non-boot drive); but in order to restore to your boot drive, you should first reboot the PC into a recovery environment.
The Anti-Cloud Backup & Restore desktop app supports creating a USB Recovery Media from the wizard on the Account screen.
The following options are available:
WinRE is the default option for creating USB Recovery Media within the Anti-Cloud application.
Selecting this option allows you to create a minimal USB Recovery Media based on the Windows Recovery Environment. It requires a removable USB drive of at least 2GB in size. The size requirements may be larger if additional drivers get installed into the image.
This option requires that Windows Recovery Environment is installed and available on your PC. If it is not installed, you may be able to install it via the reagentc /info
command.
If you choose to create a WinRE drive from inside the Anti-Cloud Backup & Restore desktop application, the resulting USB drive is created as follows:
dism /export-driver
technology. The exact selected drivers may depend on your running OS. In our experience it mostly includes OEM drivers. The included drivers could be of any type (chipset/network/graphics/audio/usb/pcie/storage/...). There are no guarantees about what drivers will be added, but it should generally be helpful in making sure you can use the device.*.inf
file format. This is the standard file format for driver installation packages on Windows. When choosing this option, the Anti-Cloud Backup & Restore desktop app will open a file picker to the C:\Windows\System32\DriverStore\FileRepository\
directory that contains most currently-installed driver packages on the current PC.X:\custom\
directory.X:\custom\
directory, your resulting custom command to run should take the form X:\custom\my-installer.exe
.tzutil
command, then adjust the date and times with the date
and time
commands. A device which is out-of-sync with internet time may experience difficulties with backups to some cloud storage providers.When using a USB-boot environment, the available hard-drives are enumerated as-found. If a local-path Storage Vault has been used for backups, sometimes the listing of drives will correspond to drive-letter-mappings in the existing Windows system, but when it does not, the drive letters will need to be explicitly set.
DISKPART
to start the programLIST VOLUME
to show all available volumes and their current drive lettersSELECT VOLUME 5
ASSIGN LETTER=F
LIST VOLUME
to verifyUsage of UNC paths for Storage Vault locations, rather than drive-letters, normally avoids this issue
Some features are currently unavailable from inside the created WinRE USB drive:
*.sys
)*.sys
driver and choose its *.inf
filenet start wlansvc
netsh wlan show interfaces
netsh wlan show networks
and connect to onediskpart
commandsThe resulting WinRE USB drive is based on your PC's version of WinRE. WinRE is provided and updated by Microsoft and contains a version of the Windows kernel that is specific to the latest feature upgrade (e.g. 1903 / 1909 / 2004). For best results when using the "fix Windows boot problems" feature after a full disk restore, you should avoid using an old USB Recovery Media drive for a newer version of Windows (e.g. using a 2004-based WinRE should be able to boot-repair a 1903-based Windows installation, but perhaps not vice-versa).
Windows To Go is an alternative option for creating USB Recovery Media within the Anti-Cloud application.
Selecting this option allows you to create a full Windows boot environment. It requires an external harddrive of at least 32GB in size.
This option requires the Portable Workspace Creator (pwcreator.exe
) to be installed and available on your PC. This tool is included in Windows Server 2012, Windows 8 Pro, Windows 8.1 Pro, Windows 10 Pro but was removed in Windows 10 update 2004 owing to the difficulty of deploying critical software updates to this platform.
No customisations are applied to the generated Windows To Go boot drive. You should boot into the drive, then install Anti-Cloud normally and use it to perform recovery operations such as restoring data.
You may also create a recovery environment in any other way. Either Windows or Linux can be used as a suitable recovery environment. Some possible methods include
In these cases you will need to manually launch the Anti-Cloud Backup & Restore app once booted into the recovery environment.
From the Windows boot environment, run Anti-Cloud Backup & Restore, and open the Restore wizard. The Restore wizard inside Anti-Cloud Backup & Restore allows restoring the backed-up disks and partitions directly to your physical disks and partitions, without requiring any temporary spool space.
You can use the "edit" button to repartition the local drives using Windows Disk Management. After doing so, use the "refresh" button to refresh the local disks and partitions for restore.
To do so:
To restore an entire disk, with spooling:
Restore all the *.vmdk
disk image files to a spool drive.
Convert the main vmdk descriptor file to a physical drive, using the following command: qemu-img convert disk.vmdk -O raw /dev/sdx
Alternatively, you can mount the main vmdk descriptor file as an NBD volume if your kernel has NBD support (you may need to modprobe nbd
first):
qemu-nbd --connect /dev/nbd0 disk.vmdk
dd if=/dev/nbd0 of=/dev/sdx bs=8M status=progress
To restore an entire disk, without spooling:
disk.vmdk
file (without the data extents), and open it in a text editor in order to read the partition sizes.dd of=/dev/sdx1 bs=8M
To restore a single partition, with spooling:
Recreate a partition to the exact target size.
Restore the target extent file (e.g. disk-f0000.vmdk
)
Use dd
to clone the selected extent file (e.g. disk-f0000.vmdk
) to a physical partition (e.g. /dev/sdx1
) as follows: dd if=disk-f0000.vmdk of=/dev/sdx1 bs=8M status=progress
To restore a single partition, without spooling:
Recreate a partition to the exact target size.
Select the file for backup, and use the "Program Output" restore option to stream the file into a command like dd of=/dev/sdx1 bs=8M
, choosing a single partition only
You can attach the *.vmdk
disk image files to a new- or existing Virtual Machine. If the disk image contains a Windows OS installation, it may be bootable.
Virtualisation platform | Supports *.vmdk file format |
---|---|
VMware | Yes |
QEMU | Yes |
Virtualbox | Yes |
Hyper-V | No - must convert to VHD or VHDX format |
If your PC boots using EFI - for instance, if the source disk contains an EFI System Partition (ESP) - then you should configure the VM to boot in EFI mode ("Generation 2" in Hyper-V). Otherwise, you should configure the VM to boot in "Legacy" / MBR mode ("Generation 1" in Hyper-V).