473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

multiple files for Backup

I have a problem with moving the backup of my database from machine to
machine. The size is 17 Gig and my network keeps timing out when I try
to ftp it from machine to machine. I have had the situation where I
ended up with a backup that was in several pieces. the files were
xxxxx.001 xxxxxx.002 and so on.
I was thinking that if I could break up the file into smaller pieces
they would be able to move easier. Does anyone know how to break up a
backup into multiple files?

Thanks.

Dec 14 '05 #1
6 5048
"Steven" <st**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have a problem with moving the backup of my database from machine to
machine. The size is 17 Gig and my network keeps timing out when I try
to ftp it from machine to machine. I have had the situation where I
ended up with a backup that was in several pieces. the files were
xxxxx.001 xxxxxx.002 and so on.
I was thinking that if I could break up the file into smaller pieces
they would be able to move easier. Does anyone know how to break up a
backup into multiple files?

Thanks.


Specify multiple directories for the location of the backup. Not sure if
there is another way, but check the Command Reference.
Dec 15 '05 #2
Or perhaps have your sysadmin increase the FTP timeout period, use
restartable FTP, or try another mechanism (e.g., NFS mount).

--
--------------------
Larry Menard
"Defender of Geese and of All Things Natural"
"Mark A" <no****@nowhere.com> wrote in message
news:oY******************************@comcast.com. ..
"Steven" <st**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have a problem with moving the backup of my database from machine to
machine. The size is 17 Gig and my network keeps timing out when I try
to ftp it from machine to machine. I have had the situation where I
ended up with a backup that was in several pieces. the files were
xxxxx.001 xxxxxx.002 and so on.
I was thinking that if I could break up the file into smaller pieces
they would be able to move easier. Does anyone know how to break up a
backup into multiple files?

Thanks.


Specify multiple directories for the location of the backup. Not sure if
there is another way, but check the Command Reference.

Dec 15 '05 #3

"Steven" <st**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have a problem with moving the backup of my database from machine to
machine. The size is 17 Gig and my network keeps timing out when I try
to ftp it from machine to machine. I have had the situation where I
ended up with a backup that was in several pieces. the files were
xxxxx.001 xxxxxx.002 and so on.
I was thinking that if I could break up the file into smaller pieces
they would be able to move easier. Does anyone know how to break up a
backup into multiple files?


You could also use the UNIX 'split' commands to split the file into smaller
pieces, and then use 'cat' to reassemble them. If you try this, you should
definitely calculate checksums on all files before and after transmitting --
including the single 17GB backup file -- to ensure that there is no
corruption. (md5sum or sum are good tools to use.)

This method is likely not supported by IBM, so use with caution :)

--
Matt Emmerton
Dec 15 '05 #4
did you try to compress each file and ftp them, that way you can get
atleast the size down to 25% of the original size..close to 4.5 gig, in
your case!! Also, work with you unix sysadmin.

hth..
kums
Matt Emmerton wrote:
"Steven" <st**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have a problem with moving the backup of my database from machine to
machine. The size is 17 Gig and my network keeps timing out when I try
to ftp it from machine to machine. I have had the situation where I
ended up with a backup that was in several pieces. the files were
xxxxx.001 xxxxxx.002 and so on.
I was thinking that if I could break up the file into smaller pieces
they would be able to move easier. Does anyone know how to break up a
backup into multiple files?


You could also use the UNIX 'split' commands to split the file into smaller
pieces, and then use 'cat' to reassemble them. If you try this, you should
definitely calculate checksums on all files before and after transmitting --
including the single 17GB backup file -- to ensure that there is no
corruption. (md5sum or sum are good tools to use.)

This method is likely not supported by IBM, so use with caution :)

--
Matt Emmerton


Dec 15 '05 #5
Ian
Mark A wrote:
"Steven" <st**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have a problem with moving the backup of my database from machine to
machine. The size is 17 Gig and my network keeps timing out when I try
to ftp it from machine to machine. I have had the situation where I
ended up with a backup that was in several pieces. the files were
xxxxx.001 xxxxxx.002 and so on.
I was thinking that if I could break up the file into smaller pieces
they would be able to move easier. Does anyone know how to break up a
backup into multiple files?

Thanks.


Specify multiple directories for the location of the backup. Not sure if
there is another way, but check the Command Reference.


Just to add to this, when you specify multiple directories in the
backup command they do not all have to be different directories! You
can specify the same directory more than once to generate multiple
files, as in:

backup database sample to /backup,/backup,/backup,/backup

This will create 4 files (SAMPLE...001, SAMPLE...002, ..., SAMPLE...004)
in the /backup directory.
Dec 15 '05 #6
Steven wrote:
I have a problem with moving the backup of my database from machine to
machine. The size is 17 Gig and my network keeps timing out when I try
to ftp it from machine to machine. I have had the situation where I
ended up with a backup that was in several pieces. the files were
xxxxx.001 xxxxxx.002 and so on.
I was thinking that if I could break up the file into smaller pieces
they would be able to move easier. Does anyone know how to break up a
backup into multiple files?


Tools like "wget" are also good at picking up an interrupted transfer.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Dec 15 '05 #7

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

Similar topics

2
by: RJ | last post by:
We currently send product releases to our customers, and often have to include scripts that need to be ran on the Oracle databases (also do it for SqlServer customers, but we use a different set of...
1
by: Andy | last post by:
I'm using Mysql Max-4.1.4-gamma for Linux. I have a question related to a problem with my database server. If on my db server I have 2 different database, say DB1 & DB2, I create two INNODB tables...
3
by: jaekim | last post by:
Hi. I am wondering if it is a good idea to replicate sql server db files using frs. I don't really know how the frs works, so does frs replicates the whole database from time to time or just...
4
by: William Logan | last post by:
Hello all DBAs what is the best methodolgy to replace a server with a new server in a multiple sql server environment.. Is is using back up/restore to another/bridge type server then rename...
0
by: Eliezer Figueroa | last post by:
Managing Multiple Excel incoming files? I have this situation. I have a client which have several locations they work primary with excel forms and they are thinking in doing reports with them....
11
by: kusanagihk | last post by:
To all, How to backup a database into a number of smaller files ? For example, can I can fully backup a DB of 10 MB into 10 files (each 1 MB)??? The problem I've met is that the DB backup...
11
by: Mike | last post by:
Looking to find any information on how to properly configure multiple instances of DB2. This is on Win2k db2 ver 7.2. I am basically looking for information on how the multiple instance settings...
12
by: Berj | last post by:
i have a novice question. is Access multi-user? can multiple users access the same database?
1
by: Matt | last post by:
I have taken a backup of a production database and copied it to a test server. I'm attempting to use the Control Center to create the database from the backup. However, when I get to the screen...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.