1

How can I do incremental backups of folders using dism tool in Windows 10?

Using dism one can create wim images from folders.

dism /Capture-Image /ImageFile:D:\MyFolder.wim /CaptureDir:C:\MyFolder /Name:”My Folder  /compress:fast

However, imagine that the folder is a huge one and we have only change a portion of that folder, therefore imaging the whole folder would be useless. I know of other backup software. Considering my current situation, the only option for me is using dism. Please don't tell me that it is not a good choice. If you know how we can do incremental backups using dism, just give the required arguments please. By incremental backups, we mean to only backup and write the changed parts of that folder into maybe another wim file beside the previously made wim file.

Thanks

  • “Considering my current situation, the only option for me is using dism.” – If this is just about money, you could always use Duplicity or something similar. – Daniel B Feb 10 at 19:27
1

From DISM Image Management Command-Line Options that you are looking for this parameter of DISM:

/Append-Image

Adds an additional image to a .wim file. /Append-Image compares new files to the resources in the existing .wim file specified by the /ImageFile argument, and stores only a single copy of each unique file so that each file is only captured once. The .wim file can have only one assigned compression type. Therefore, you can only append files with the same compression type.

Syntax:

DISM.exe /Append-Image /ImageFile:<path_to_image_file> /CaptureDir:<source_directory> /Name:<image_name>

[/Description:] [/ConfigFile:] [/Bootable] /WIMBoot [/CheckIntegrity] [/Verify] [/NoRpFix]

Another useful parameter is /Capture-CustomImage:

Captures the incremental file changes based on the specific install.wim file to a new file, custom.wim for a WIMBoot image.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.