Solved

file archives in VB.NET

Posted on 2008-06-21
5
270 Views
Last Modified: 2013-11-26
What are some of the proven methods of archiving large quantities of files (e.g. millions of files, terabytes in size)? I'm looking for a way to retrieve/add files to an archive format VB.NET in such a way that it is still robust even if the archive is huge.

I have explored using ZIP files for archives, with Chilkat's libraries. There's a 4gb limit on zip archives though. I've thought about ISOs, TARs, maybe CAB files?

What other standardized formats exist out there specifically for archiving large quanties of files? Is there anything microsoft made, or reliable VB.NET classes that can manipulate them?
0
Comment
Question by:Frosty555
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 18

Expert Comment

by:Priest04
ID: 21837814
May I ask why do you compress files that result in such a large compressed file? If you have thousand/milions of small files thar result in one large compressed file, then damage to this file will make all files in it useless. Anyway, one of the options is

http://www.rarsoft.com/rar_archiver.htm

Goran

0
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 21838964
Another option ... SharpZipLib (http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx)

To be honest I don't know if it works with 4gb but you can try it!
0
 
LVL 31

Author Comment

by:Frosty555
ID: 21845731
>May I ask why do you compress files that result in such a large compressed file?
I'll be using the archives to store backups of files from the system (as well as from other sources). There can be many revisions of any single file in the archive, and file servers often have half a million files. Typically, each archive should be no larger than 4gb, small enough to store on a DVD, but I'm writing for scaleability.

>http://www.rarsoft.com/rar_archiver.htm
Does not hav a programmable interface... that I could see. I love RAR files but I don't see how I can use this.

>Another option ... SharpZipLib (http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx)
I see a lot of promise in this - supports zip, bzip, encryption, even tar files! But where's their documentation? Code examples? Can't seem to find much in the way of help.
0
 
LVL 48

Expert Comment

by:jpaulino
ID: 21845768
0
 
LVL 18

Expert Comment

by:Priest04
ID: 21848323
I dont know how long will you keep archived files, but if you intend to keep them longer than 2-3 years, DVDs shouldn't be an option, since they are not made to last long. There was a story about some company that had a climatized room, and they kept in there archiving files on DVDs, and after a couple of years (not remember exactly how many years) most of them were unreadable.

As for the winrar, it accepts command line parameters

http://www.respower.com/page_tutorial_unrar
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question