Menu

How to update huge 7z File

Help
2017-03-14
2017-03-14
  • Benjamin Wagner

    Benjamin Wagner - 2017-03-14

    Hi, I want to backup some local folders. The size of that folder is abouot 20GB, so the backup using 7zip takes about 60 Minutes. Now I made some tests, and found out that backup using the command:
    7za u -r0 archive.7z Folder
    is much more faster than creating always a new archive.7z file.

    Now it came out, that below the folder Folder is a subfolder transientVolume which has thousands sof subfolders/files which does not need to be backuped. How can I exlcude them?
    I tried the following command:
    7za u -r0 -uq0 archive.7z Folder -xr!transientVolume
    But unfortunately the subfolder transientVolume is still in the backup file, it won´t be deleted. Any suggestions?

    I use 7za 9.20 on Windows Server 2008.

     
  • Igor Pavlov

    Igor Pavlov - 2017-03-15
    7za u -uq0 c:\archive.7z Folder -x!Folder\transientVolume
    

    You don't need additional switches like -r0.
    and use latest 16.04 x64. It will be faster.

     

Log in to post a comment.