• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Question Winrar

Joined
Nov 21, 2024
Messages
98 (2.23/day)
If I have several 7z, zip and rar files and I compress them into a larger file in rar or 7z or zip format, if I use the "optimal" compression method, will the chance of a file being corrupted at some point increase compared to using the "Normal" compression method?
 
Joined
Feb 3, 2017
Messages
3,837 (1.33/day)
Processor Ryzen 7800X3D
Motherboard ROG STRIX B650E-F GAMING WIFI
Memory 2x16GB G.Skill Flare X5 DDR5-6000 CL36 (F5-6000J3636F16GX2-FX5)
Video Card(s) INNO3D GeForce RTX™ 4070 Ti SUPER TWIN X2
Storage 2TB Samsung 980 PRO, 4TB WD Black SN850X
Display(s) 42" LG C2 OLED, 27" ASUS PG279Q
Case Thermaltake Core P5
Power Supply Fractal Design Ion+ Platinum 760W
Mouse Corsair Dark Core RGB Pro SE
Keyboard Corsair K100 RGB
VR HMD HTC Vive Cosmos
Yes and no.
From choosing "optimal" instead of "normal" - No. These compressions are all lossless and when uncompressed you get the exact same files back.
Compressing multiple files into one archive - a little bit. This is essentially because one file is easier to corrupt than several. The chances are low and you can mitigate by backups of course.
 
Joined
Nov 21, 2024
Messages
98 (2.23/day)
I have 4 HDDs where I store the same files

I thought that if I used the "optimal" compression method the chances of corruption during file compression and in the long term would be greater

For me, compressing several with Winrar already compressed files into a single large file (250GB) zip or rar or 7z is more organized and easy to transfer
 
Joined
Jan 14, 2019
Messages
12,898 (5.91/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Bazzite (Fedora Linux) KDE Plasma
Compressing multiple files into one archive - a little bit. This is essentially because one file is easier to corrupt than several. The chances are low and you can mitigate by backups of course.
This. I would never compress several files into one when archiving long-term. Losing one by pure chance is bad enough, losing all of them is a lot worse.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
19,705 (2.86/day)
Location
w
System Name Black MC in Tokyo
Processor Ryzen 5 7600
Motherboard MSI X670E Gaming Plus Wifi
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Corsair Vengeance @ 6000Mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston KC3000 1TB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Plantronics 5220, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Dell SK3205
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
For me, compressing several with Winrar already compressed files into a single large file (250GB) zip or rar or 7z is more organized and easy to transfer

That's why we have folders.
 
Joined
Jan 14, 2019
Messages
12,898 (5.91/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Bazzite (Fedora Linux) KDE Plasma
corrupt 1 big file compacted is easy occurs in hdd 2.5" storage archival?
That's not the question. The question is, if your compressed file gets corrupted, are you ready to lose all of its contents?
 
Joined
Jan 14, 2019
Messages
12,898 (5.91/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Bazzite (Fedora Linux) KDE Plasma
What are the possibilities to prevent this large compressed file from becoming corrupted?
Don't bother with compression. If you have 100 files, and one gets corrupted, you can still use 99. If you compress those 100 files into a large .zip or .rar, and that large file gets corrupted, you'll lose all of its contents.
 
Joined
Nov 21, 2024
Messages
98 (2.23/day)
Managing multiple separate compressed files is a complex mess and if any file gets corrupted it is difficult to find out without analyzing them all, so I compressed them into a single file. In this case, is it important to have 4 HDDs with this file?
 
Joined
Jan 14, 2019
Messages
12,898 (5.91/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Bazzite (Fedora Linux) KDE Plasma
Managing multiple separate compressed files is a complex mess and if any file gets corrupted it is difficult to find out without analyzing them all, so I compressed them into a single file. In this case, is it important to have 4 HDDs with this file?
Why bother with compression at all? Can't you just organise your files into folders?

Let's say a single sector gets corrupted on each 4 of your drives. There's a pretty slim chance, but let's just suppose...
1. If you keep a single large compressed file copied over onto each of those drives, your data is lost (because the large file got corrupted on all 4 of the drives).
2. If you keep your files separate, then one single file got corrupted on each drive, which you can overwrite from the same file from another drive - no data is lost.
 
Joined
Nov 21, 2024
Messages
98 (2.23/day)
To have only one large compressed file and minimize the possibility of corruption of this file, what strategy should be adopted?
 
Joined
Jan 14, 2019
Messages
12,898 (5.91/day)
Location
Midlands, UK
System Name Nebulon B
Processor AMD Ryzen 7 7800X3D
Motherboard MSi PRO B650M-A WiFi
Cooling be quiet! Dark Rock 4
Memory 2x 24 GB Corsair Vengeance DDR5-4800
Video Card(s) AMD Radeon RX 6750 XT 12 GB
Storage 2 TB Corsair MP600 GS, 2 TB Corsair MP600 R2
Display(s) Dell S3422DWG, 7" Waveshare touchscreen
Case Kolink Citadel Mesh black
Audio Device(s) Logitech Z333 2.1 speakers, AKG Y50 headphones
Power Supply Seasonic Prime GX-750
Mouse Logitech MX Master 2S
Keyboard Logitech G413 SE
Software Bazzite (Fedora Linux) KDE Plasma
To have only one large compressed file and minimize the possibility of corruption of this file, what strategy should be adopted?
None. I do not recommend doing that at all.
 
Joined
Dec 16, 2017
Messages
2,950 (1.15/day)
System Name System V
Processor AMD Ryzen 5 3600
Motherboard Asus Prime X570-P
Cooling Cooler Master Hyper 212 // a bunch of 120 mm Xigmatek 1500 RPM fans (2 ins, 3 outs)
Memory 2x8GB Ballistix Sport LT 3200 MHz (BLS8G4D32AESCK.M8FE) (CL16-18-18-36)
Video Card(s) Gigabyte AORUS Radeon RX 580 8 GB
Storage SHFS37A240G / DT01ACA200 / ST10000VN0008 / ST8000VN004 / SA400S37960G / SNV21000G / NM620 2TB
Display(s) LG 22MP55 IPS Display
Case NZXT Source 210
Audio Device(s) Logitech G430 Headset
Power Supply Corsair CX650M
Software Whatever build of Windows 11 is being served in Canary channel at the time.
Benchmark Scores Corona 1.3: 3120620 r/s Cinebench R20: 3355 FireStrike: 12490 TimeSpy: 4624
To have only one large compressed file and minimize the possibility of corruption of this file, what strategy should be adopted?
As said before, it's preferable to have separate compressed archives instead of a single big archive. There just isn't a fail-proof strategy. And "fail-resistant" is subjective. Best that can be done relatively easy is to have multiple copies spread out on multiple disks in multiple places.

If you still insist on doing this anyway (and to be honest, even if you decide to keep your archives as separate files), you should make use of WinRAR's recovery record (unless something catastrophic happens, a 10 or 15% size should be enough, feel free to use more though). Do not enable solid compression for RAR files though. They make damage repair harder.

1735740080237.png


If you have no need for your 7z or ZIP files to be specifically 7z or ZIP archives, convert them all to RAR files and enable recovery record with all of them. Compression rate differences are negligible today anyway so, might as well switch to RAR that has better chances of being repaired if the archive gets damaged.

Compression of compressed files is usually pointless, so you can use any of the Store/Fastest/Fast compression methods anyway.

Considering you just want one big file, I doubt you're using multi-volume approach to this. But if you are, there's also a setting to create a number of recovery volumes in the Advanced tab. A single recovery volume can replace any lost/damaged volume, but only one. You can replace as many lost/damaged volumes as the number of recovery volumes you have.

With all that said, keep in mind interoperability requirements if you have them. For starters, current WinRAR versions (7.0+) use RAR 5.0 exclusively, and do not support making archives in the older and more well known RAR3 format. And specific characteristics, such as dictionary sizes beyond 1 GB or extreme path lengths (beyond 2047 characters) are only available through WinRAR 7.0 or later.

RAR3 files on Linux should be usable, but I have no idea what's the exact state of support for RAR5.0 files. Specially if your RAR files use characteristics that were just recently made available in WinRAR 7.0+.

Operating system compatibility with regards to Windows might also need to be considered. If you need support for 32-bit Windows, WinRAR is ditching it in upcoming version 7.10, with Windows Vista also no longer being supported (XP stopped being supported after 6.02 and Windows 2000 after 4.11). Self-extraction (SFX) modules are not affected by this however and should still work on 32-bit Windows as long as you specifically select the 32-bit SFX module.
 
Joined
Jul 25, 2006
Messages
13,403 (1.99/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
I thought that if I used the "optimal" compression method the chances of corruption during file compression and in the long term would be greater
Technically speaking, you are correct. The greater the compression, the greater the risk the compression process causes corruption. But not by much. Compression in the first place poses the greatest risk. Additional compression just adds a little more risk.

Do note when you compress an already compressed file, you save very little space, if any. It is already compressed, after all. But note when you compress several compressed files together, there is a good chance you will end up with a single file that takes up MORE space than the individual files did. This is because the compression program has to create a new index/table for the new, combined file. So instead of 4 indexes, for example, from the original zipped files, now you still have the 4 indexes, plus a new index for the combined file. If I was set on doing this (and I'm not), I would unzip all the zipped files, then create a new zipped file, with only one index.

Either way, as AusWolf suggests, when you combine all these files into one, you are essentially putting all your eggs in one basket.

I personally don't like using compression programs at all, except, maybe, to make it easier to email a program, or temporarily store a program on a small flash drive so I can transport it to or from work. Even then it is more likely I would temporarily put the program out in the cloud instead of using compression - and I don't like the cloud either! I say that to point out how much I don't like using compression programs.

Hard disk space is cheap. I mean 24TB for $480! That's cheap! I would buy new drives, unzip all the files and store them on the new drives. That way, I won't have to worry about having a compatible unzip program in the future either. If $480 seems like a lot of money, then try to put a value on all that data you are trying to preserve, to include the value of all your time and effort to recover it, should your zipped files become corrupt.
 
Joined
Nov 21, 2024
Messages
98 (2.23/day)
I have a 150GB compressed rar file and inside it there are several zip, rar, 7z img files and some installers but I don't remember if I used the option to add recovery record

on that same HDD I have another 18GB rar file with several zip, 7z, rar files

and another 8GB file compressed in rar also with compressed files inside it

and some more uncompressed winrar and 7zip installation files
 
Joined
Dec 16, 2017
Messages
2,950 (1.15/day)
System Name System V
Processor AMD Ryzen 5 3600
Motherboard Asus Prime X570-P
Cooling Cooler Master Hyper 212 // a bunch of 120 mm Xigmatek 1500 RPM fans (2 ins, 3 outs)
Memory 2x8GB Ballistix Sport LT 3200 MHz (BLS8G4D32AESCK.M8FE) (CL16-18-18-36)
Video Card(s) Gigabyte AORUS Radeon RX 580 8 GB
Storage SHFS37A240G / DT01ACA200 / ST10000VN0008 / ST8000VN004 / SA400S37960G / SNV21000G / NM620 2TB
Display(s) LG 22MP55 IPS Display
Case NZXT Source 210
Audio Device(s) Logitech G430 Headset
Power Supply Corsair CX650M
Software Whatever build of Windows 11 is being served in Canary channel at the time.
Benchmark Scores Corona 1.3: 3120620 r/s Cinebench R20: 3355 FireStrike: 12490 TimeSpy: 4624
I don't remember if I used the option to add recovery record
Check the file properties. There should be a tab with the details (or just open the archive in WinRAR and use the Info button). If there's a recovery record, it will tell you how big it is. If there's no recovery record, it should say Absent/Not Present.

1735745254216.png
 
Joined
Aug 19, 2024
Messages
391 (2.83/day)
Location
Texas, USA
System Name Obliterator
Processor Ryzen 7 7700x PBO
Motherboard ASRock x670e Steel Legend
Cooling Noctua NH-D15 G2 LBC
Memory G.skill Trident Z5 Neo 6000@CL30
Video Card(s) ASRock rx7900 GRE Steel Legend
Storage 2 x 2TB Samsung 990 pro nmve ssd 2 X 4TB Samsung 870 evo sata ssd 1 X 18TB WD Gold sata hdd
Display(s) LG 27GN750-B
Case Fractal Torrent
Audio Device(s) Klipsch promedia heritage 2.1
Power Supply FSP Hydro TI 1000w
Mouse SteelSeries Prime+
Keyboard Lenovo SK-8825 (L)
Software Windows 10 Enterprise LTSC 21H2 / Windows 11 Enterprise LTSC 24H2 with multiple flavors of VM
+1 for just don't compress them.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
19,705 (2.86/day)
Location
w
System Name Black MC in Tokyo
Processor Ryzen 5 7600
Motherboard MSI X670E Gaming Plus Wifi
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Corsair Vengeance @ 6000Mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston KC3000 1TB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Plantronics 5220, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Dell SK3205
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
I have a 150GB compressed rar file and inside it there are several zip, rar, 7z img files and some installers but I don't remember if I used the option to add recovery record

Think of it this way: If any of that data is corrupted, all of those files are now corrupted. If you don't compress them, only one of the files is corrupted. There are mitigations (as the good windwhirl mentioned) but as the good Bill Bright mentioned (storage is cheap) there really is little point to this endevour these days. Especially if we're only talking hundreds of Gigabytes.
 
Joined
Nov 21, 2024
Messages
98 (2.23/day)
4,11GB is my recovery record total file rar 145GB


Does Winrar have any function to test for corruption in zip, rar, 7z files that are on the 2.5" HDD?
 
Last edited:
Top