Solved

file archives in VB.NET

Posted on 2008-06-21
5
262 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
  • 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now