473,612 Members | 2,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

zip and backup

Hello

i'm looking for some tool to backup some data but as i don't seem to
find one that fits my needs i'll start implementing it by my own.

Here's some funktions i need to have:
- Backup between 1,5 to 2 million files/direcorties (150 to 250 GB)
- Backup all to a 'one-file-archive'. This could be a zip file e.g. on
an other disk or a networkdrive.
- Backup only modified files (date/size)
- Backup modied files into the 'one-file-archive'. I don't want to
backup newly modified fiels into an own archive. I like to have one
archive which represent the actual data backuped.
- Possibility to shutdown the system after backup was done (controled
by cmd-line-param e.g.)
Possibly anyone knows some tool that allready provides this functions?
If yes please let me know.

But now my question to you :)

Would i be able to buid up such a big zip-file using e.g. the
SharpZipLib? If yes, is it possible to open such a big zip file in C#.
I know i can't open it with WinZIP but probablly there some way to do
it programmaticly. I'd build up a file-browser then therefore where you
can restore the files then.

Actualy I think i would need something like tar under unix. Any hints
what i could use therefore?

many thanks in advnace.

Jan 10 '07 #1
5 3583
Hello hula,

hHello
h>
hi'm looking for some tool to backup some data but as i don't seem to
hfind one that fits my needs i'll start implementing it by my own.
h>
hHere's some funktions i need to have:

I'm not sure that u find the tool with such specific functionality what is
configured via params.
(btw look on the winrar, it has a lot of functionality via comand line)

What I'd suggest (if you don't want to write too much code interwined with
your app) is to look at PowerShell - to write the scirpt to select files
on your creteria and to zip with external tool (winrar for example)

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Jan 10 '07 #2
I think you may be making a mistake using one archive file. It makes it
harder to work with the files afterwards and update them with newer files,
especially the amount of data you are talking about.

Why not give AJC Directory Synchronizer a try:
http://www.ajcsoft.com/ProductsAJCDirSync.php

You can use it to create a mirror to another location and keep it up to date
when files are modified. You also have the option to turn on archiving
which means you can get back any older version of a file (from a very
compact archive that only stores the changes to files).

You can also do a scheduled sync and I can supply you with a batch file that
runs the backup and shuts down your machine.

--
Andrew Cutforth - AJC Software - www.ajcsoft.com
The best folder synchronize and directory compare tool available.
AJC Active Backup instantly archives every file you edit giving you
unlimited undo and automatic revision control. Never lose your data again.
Jan 10 '07 #3
Andrew wrote:
I think you may be making a mistake using one archive file. It makes it
harder to work with the files afterwards and update them with newer files,
especially the amount of data you are talking about.

Why not give AJC Directory Synchronizer a try:
http://www.ajcsoft.com/ProductsAJCDirSync.php

You can use it to create a mirror to another location and keep it up to date
when files are modified. You also have the option to turn on archiving
which means you can get back any older version of a file (from a very
compact archive that only stores the changes to files).

You can also do a scheduled sync and I can supply you with a batch file that
runs the backup and shuts down your machine.
or SyncBack (which has a free version) found at
http://www.2brightsparks.com/
Jan 10 '07 #4
"Andrew" <so*****@nospam .comwrote in message
news:OV******** ******@TK2MSFTN GP04.phx.gbl...
>I think you may be making a mistake using one archive file.
Also, IIRC, doesn't the PkZip / WinZip format have a file size limit of
4Gb...?
Jan 10 '07 #5

Mark Rae schrieb:
"Andrew" <so*****@nospam .comwrote in message
news:OV******** ******@TK2MSFTN GP04.phx.gbl...
I think you may be making a mistake using one archive file.

Also, IIRC, doesn't the PkZip / WinZip format have a file size limit of
4Gb...?
Could be.
I just saw that RAR supports up to 8 TB.

But i think i'll use one of the sync solution

Many thanks to you

Jan 10 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
16214
by: Andrew E | last post by:
I just took over DBA responsibilities for an Oracle 8i database running on Linux. Although I've been working with relational databases for some time, I'm a bit green on Oracle so forgive me. My first task was to implement a backup strategy (currently there is none). I did a great deal of research both on this board and using the Oracle Press 8i handbook. I made a cold backup (with oracle shutdown) and sucessfully moved it from my...
3
7566
by: Thiko | last post by:
Hi I take one nightly full database backup at 02:00 and backup the transaction log to one backup set every 15mins. The commands to do this are as follows and are set up to run as database jobs: -- Database Backup BACKUP DATABASE TO WITH NOINIT ,
2
13384
by: nt | last post by:
I am having a problem with a regular backup of an SQL Server (MSDE 2000) database to a local drive. I initiate the backup once a week, by issuing the required T-SQL, via ADO. In this case, the T-SQL is: BACKUP DATABASE GPRS_Dimensioning_Archive TO local_backup WITH RETAINDAYS=21, NAME='GDA_20040706' Note that "local_backup" is a file sitting on the same physical drive as the database itself, and has > 80 GB free. It is not a RAID...
1
2107
by: John Rajendran | last post by:
Hi there, I need to take a backup with the following scanerio in mind: At T1 I take the FULL BACK UP of the database called BACK_1_FULL.BACK in c:\ Then at T2 I would like to take only the differential BACKUP of the Transaction log called BACK_1_TRANSLOG.BACK and at T3 I would like to take only the differential BACKUP of the Transaction log called BACK_2_TRANSLOG.BACK. At T4 my system fails and I need to bring the database
6
3338
by: Eric Herber | last post by:
I've a question regarding db2 (V8.1) and database backups going to a storage manager like TSM for example. As I can see in the storage manager if I backup the complete database over the TSM API (no tablespace backups) the backup images is stored as a single backup object. Later I will be able to restore the complete database from this image and I will also be able to restore single tablespaces from this backup image as long as I...
1
4736
by: alex | last post by:
Hi ! I couldn't make backups with our new system using db2 8.2. Every time I trigger a backup I get this error message: BACKUP DATABASE EBUERO2 ONLINE TO "/raid/backup/ebuero2/part1", "/raid/backup/ebuero2/part10", "/raid/backup/ebuero2/part11", "/raid/backup/ebuero2/part12", "/raid/backup/ebuero2/part13", "/raid/backup/ebuero2/part14", "/raid/backup/ebuero2/part15", "/raid/backup/ebuero2/part16", "/raid/backup/ebuero2/part17",
4
4723
by: uthuras | last post by:
Hi all, I have DB2ESE version 8.1 with FP 4 on AIX 5.2. My database used to be 1.1TB. When the DB size is 1.1TB, it takes approximately 7 hours to backup the entire database (online backup). The backup is directed to disk and not tape. Recently, we did data archival by purging some of the records. Now, the size of the database is 500GB plus. That means, only data purged and we never resize the tablespace. Therefore, the allocated...
6
1736
by: k04jg02 | last post by:
Problem: I have a properties dialog. X objects build the dialog, but a subclass of X, such as Y, can add more options to the dialog for Y specific properties. I would like to write code for the dialog that creates a backup of the current object when the dialog pops up, and sets the current modified object to the backup when the user clicks cancel (or discards the backup if the user clicks OK). X already has a Clone method.
10
3164
by: Konstantin Andreev | last post by:
Hello. Some time ago I asked in this conference, - How to use an ONLINE BACKUP to restore database onto another system? - but got no answers. Therefore I can conclude it is not possible. But... what can I do with "online backup", really ? What is it needed for ? I do not see any possibility to use this backup. Please, share your knowledge, if you can. Yes, I've read that since version 8.2 there is an option "INCLUDE LOSG" for "online...
2
3680
by: clilush | last post by:
I've been working with db2 8.2fp14 for over a year now and was wondering what is a "standard" way of doing a backup to provide 24/7 operations with disaster recovery capabilities? My thoughts were an offline backup once per quarter, followed by a monthly online backup, followed by daily backups of the logfiles. BUT it's the details of each that I'm wondering... 1- how can i tell what logfiles need to be backedup? is there a way to "trim"...
0
8173
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8422
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5537
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4047
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4111
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2555
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1699
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.