Location>code7788 >text

Problems with backup files getting bigger when Windows makes multiple master disks

Popularity:591 ℃/2024-11-06 01:09:51

The company's product is based on Win11 23H2 image version to create a master disk, we found that with the iteration of the version, based on the previous version of the master disk to generate a new master disk backup, the master disk file will become larger and larger.

Here's a note on the difference between an image and a master disk file.

1. An image is a compressed file of an operating system. The original installation file is an ISO, and common compression formats are WIM and ESD, with flexible installation and deployment options.

2. A master disk file is a copy of an operating system that has been installed and configured on a computer with partition and disk information. The master file is a backup of the contents of the hard disk, compressed locally generated backup file, and then has been backed up to the master file can be restored to other hard disk, that is, moving files or data from one location to another location

The current production is a dual system master disk, Android + Windows, the production process is to flash Android first then install Windows with other boot disk.

If there are subsequent updates for Android and Windows, then based on the previous backup version of the master disk, you will enter the corresponding system respectively to complete the software update, and then backup and save it as a new master disk file.

I've been doing mastering for the last few months and have noticed that the version file sizes have gotten bigger:

Windows system backup partition optimization

Let's try to reduce the windows module size first:

1. Clean up redundant component usage data with Dism

After the cleanup, the size of the company's large screen C drive was barely reduced. This hard disk as not actually used.

I tried my personal computer at home and I was able to reduce 2.5G after the cleanup:

2. Use SDelete to clean up free space

downloadingSDelete - Sysinternals | Microsoft Learn, which contains the executable exe:

Unzip it and use the command line to execute it in the directory "sdelete -z C:"

This worked, and after organizing the free space, the C drive was reduced by 3G!

It safely cleans up free disk space

3. Using System Tools - Disk Cleanup

Directly search for disk cleanup tools, open the file you can see to be cleaned up such as the Recycle Bin, browser temporary files, etc., click OK!

Here you can see that because the mother disk has just restored the system, has not been used frequently, so there is not much room for optimization.

So the Windows side is optimized for 3G via SDelete, and since Windows added backup restore, it can reduce 6G in total.

Partition Size Optimization for Android

Looking at the Android side again, compare the size of the Android partition backup file in the before and after parent disk versions, A03->A05:

Saw the p10 partition get 6x bigger.... Android has a lot of partitions, p10 is one of them

Communicate with the colleague who was responsible for the previous master disk, there should be into the Android end to update the software. Based on the previous master disk, enter the Android terminal to update the software version using the OTA file to generate a new master disk version.

It was later verified that in addition to updating the Android OTA, it is supposed to also increase the partition backup file size whenever it has booted into Android.

So the Android side if you want to keep a smaller backup size and do a master disk should be recreated based on the image.