Exporting delta archives

Comments, questions, bug reports, etc.
Post Reply
Skyblue
Posts: 23
Joined: Fri Apr 08, 2016 7:12 am

Exporting delta archives

Post by Skyblue »

Hello,

wimlib permits exporting delta archives to the base archives, are there some restrictions in this type of operations? Can we combine delta archives with bases wim files with this method?

An example :

Code: Select all

wimcapture.cmd C:\folder test.wim
Scanning "C:\folder"
499 KiB scanned (3 files, 1 directories)
Using LZX compression with 1 thread
Archiving file data: 499 KiB of 499 KiB (100%) done
After adding and removing files to update C:\folder :

Code: Select all

wimcapture.cmd C:\folder test2.dwm --delta-from=test.wim
Capturing delta WIM based on "test.wim"
Scanning "C:\folder"
990 KiB scanned (6 files, 1 directories)
Using LZX compression with 1 thread
Archiving file data: 491 KiB of 491 KiB (100%) done
Exporting the dwm archive to the base wim file :

Code: Select all

wimexport.cmd test2.dwm 1 test.wim "updated-archive"
Using LZX compression with 1 thread
Archiving file data: 491 KiB of 491 KiB (100%) done
The second archive ( index 2 ) in test.wim stores the combination of .dwm file and the base wim archive.
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: Exporting delta archives

Post by synchronicity »

That should work fine. It's not something that is usually done, but I can't think of any reason why it wouldn't work.
Skyblue
Posts: 23
Joined: Fri Apr 08, 2016 7:12 am

Re: Exporting delta archives

Post by Skyblue »

Hi synchronicity,

Thanks. This method could be used to consolidate \ merge base and delta wim files.
VirgilioHuseby
Posts: 1
Joined: Wed Apr 12, 2023 8:31 am

Re: Exporting delta archives

Post by VirgilioHuseby »

I have long read your forum as a reader, and finally decided to become a member of the forum, in case I have similar questions.
Skyblue
Posts: 23
Joined: Fri Apr 08, 2016 7:12 am

Re: Exporting delta archives

Post by Skyblue »

Hi synchronicity,

Your reply in the thread "Delta” WIM creation solves perfeclty my problem :
wimexport can be used create a standalone WIM from a delta WIM and its base WIMs. So e.g. in the previous example, 'wimexport wim3 1 standalone.wim --ref=wim1 --ref=wim2' would create a standalone WIM containing just the last image.
Thanks again.
Post Reply