11-23-2004
dumping data and compressing
I have a utility provided by our vendor to dump data from their system. It is
expsysdb -s prod proddata.dmp
"-s" and "prod" are parameters and "proddata.dmp" is the file name that the data is dumped to (this can be any name). Our current system (AIX 4.3) has a file size limit set to 1 gig and as you can imagine I am running up againts this limit. Is there a way that I can have the output compressed at the same time that it is being dumped to a file? The reason I need to do this is we have set up a new system and I need to transfer the data to this system. I have used named pipes when transfering the data between two applications on the same machine, but not sure how to work this when it needs to be transferred to another machine. For example I used this to load the data under one session:
impexp -f test named.pipe
Then loged in another session (same user id) and started to dump the data like this:
expsysdb -s prod named.pipe
If you can give me some ideas that would be great or even point me to some examples. Thank you.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone please help....
how can I dump just a single file to tape using the ufsrestore command!!! I'm a newbie to unix and It's driving me mad..
Thanks in advance. (2 Replies)
Discussion started by: Jonathan
2 Replies
2. UNIX for Advanced & Expert Users
How would i go about dumping my /home/ directory and my /root directory
i currently have.....
dump -f /root/backup.dp /home/ /root/
...but dump only seems to see only my first source directory and not the second (/root in this case)
anyone know a way around this..or if it is even... (1 Reply)
Discussion started by: Freakytah
1 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to dump files to tape and im just wondering can i dump from /tmp swap partition?
ufsdump 0ubf 126 /dev/rmt/1 swap/tmp/blah.tar
DUMP: Cannot open dump device `swap/tmp/blah.tar': No such file or directory
ufsdump 0ubf 126 /dev/rmt/1 /tmp/NotificationServer_1.bku
DUMP:... (1 Reply)
Discussion started by: kingdbag
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
My Solaris Workstation has got 4 NICS, out of which one of them(bge3) is unplugged from the rest of the external network & connected to other interface(bge1). The isolated NIC serves as a simulated Ethernet Interface for my application under development.
Now, I'd like to capture RAW... (1 Reply)
Discussion started by: smanu
1 Replies
5. Programming
strcat dumping core in the situation like
main()
{
char* item;
char* p=sat_item;
char type;
item=(char*) malloc(strlen(p));
strncpy(type,p,4);
type='\0';
strcat(item,type); //dumping core
}
I couldn't get why strcat dumping core? (3 Replies)
Discussion started by: satish@123
3 Replies
6. Red Hat
How to now if the server is core dumping into the same filesystem? (4 Replies)
Discussion started by: 300zxmuro
4 Replies
7. IP Networking
I would like to know if there is a way to dump the network traffic of a single application. I tried with tcpdump but I couldn't find a way. Is there a patch, which enables that or does someone know an other application to do this? (2 Replies)
Discussion started by: smf15
2 Replies
8. Shell Programming and Scripting
Hello wise scripters
This is my first post and I am glad to join this community.
I am trying to make work a mysqldump via ssh tunnel in a shell script.
The problem is that running this sequence of commands manually works fine, but when I put these in a bash script they give me the following... (8 Replies)
Discussion started by: Solidus
8 Replies
9. Shell Programming and Scripting
hey I am dumping two database results into two text files and doing checksums on them.
Anyone know how to do this.
I originally was doing line by line comparison and diff but I need something faster for larger gb size files. anyone got tips? (5 Replies)
Discussion started by: Samuel12
5 Replies
VOLDUMP(8) AFS Command Reference VOLDUMP(8)
NAME
voldump - Dump an AFS volume without using the Volume Server
SYNOPSIS
voldump -part <partition> -volumeid <volume id>
[-file <dump file>] [-verbose] [-help]
voldump -p <partition> -vo <volume id>
[-f <dump file>] [-ve] [-h]
DESCRIPTION
voldump dumps an AFS volume in the format used by vos dump without using the Volume Server. It must be run on the file server machine and
usually must be run as the superuser "root" to have permissions to read the file server data. It's primary use is to recover data from a
file server machine where the Volume Server cannot be started for some reason.
The dump output will go to standard output, or to a file if -file is specified. vos restore can be used to load the resulting dump into a
new AFS volume. voldump always does a full dump.
CAUTIONS
Normally, use vos dump instead of this command. voldump is a tool of last resort to try to extract data from the raw data structures
stored on the file server machine and is not as regularly tested or used as the normal vos dump implementation.
If the AFS volume being dumped changes while voldump is running, the results may be inconsistent. If the File Server and Volume Server are
running, stop them with bos shutdown or a similar method before running this command.
OPTIONS
-part <partition>
Names the partition on which the volume to be dumped is located. voldump does not take the normal full range of ways of specifying a
partition. Instead, partition must be either a single letter between "a" and "z", corresponding to /vicepa through /vicepz, or the
full path to the file server partition. "aa" is not recognized; use /vicepaa instead.
-volumeid <volume id>
Specifies the ID of the volume to dump. The volume must be specified by numeric ID, not by name.
-file <dump file>
Specifies the output file for the dump. If this option is not given, the volume will be dumped to standard output.
-verbose
Asks for a verbose trace of the dump process. This trace information will be sent to standard error.
EXAMPLES
The following command dumps the volume 1936964939 on the /vicepb partition to the file /tmp/volume.dump:
% voldump -part /vicepb -volumeid 1936964939 -file /tmp/volume.dump
PRIVILEGE REQUIRED
The issuer must have read access to the file server data stored in the specified partition. Usually, this means that the issuer must be
the local superuser "root" on the file server machine.
SEE ALSO
bos_shutdown(8), restorevol(1), volserver(8), vos_dump(1), vos_restore(1)
COPYRIGHT
Copyright 2005 Russ Allbery <rra@stanford.edu>
This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS.
OpenAFS 2012-03-26 VOLDUMP(8)