tar--limits ????


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers tar--limits ????
# 1  
Error

Hi! All,

This is True64 Unix, 4.0.F patch kit 4

I have a 15GB Oracle dump file that I have to backup to tape. I am trying to use "tar" to dump it to tape, but
tar complained that the file was too big and that it was
truncating it!.

I am compressing the file using the "compress" utility.
Now, here comes the BIG IF?

1. Is there a limit on the file size that can be tar-rd?
I did not find anything in the man pages.

2. What do I do if tar complains even after the compression?

3. Won't the file get corrupted if it's truncated??

What next? Smilie

Please lead me to the light!!!!

Suresh
# 2  
For as I understand there should not be a limit on the Tar command - it is designed to do large files.

I prefered to do a UFS dump to tape though on large files
Here is the tape backup script I use after mounting the tape

for i in `cat /backup/fslist`
do
ufsdump 0cuf servername:/dev/rmt/0n $i
done
echo "****************"
echo " BACKUP COMPLETED "
echo "****************"

The /bakcup/fslist file contains all the directories I wanna backup. And servername = your servername

I understand your pain, I got 8 Oracle databases on each of my servers, I wanna kill my DBA....
# 3  
See:
man -s5 largefile
That should tell you whether the tar on your system supports largefiles ( > 2GB) or not.
Or you can use some vairant of the dump command to dump the entire filesystem.
Better still, why don't you use some other backup software like Veritas or it's likes?
# 4  
Data tar-limits?????

Thanks n9ninchd, and NoOne for your responses!

The man -s5 largefile did not work on the True64 box, but it did work on the Solaris!

herez the latest!
1.initial dmp file---> 15 GB
2.tar complained --> compressed the file--> 10 GB
3.now tar worked! (No errors)
4.On listing the contents of the tar tape
the file was listed as a 8.5GB file! Smilie
5.We did not have any problems, when we restored the file
from tape to a Solaris box.(File is 8.5GB)
6. Right now we are uncompressing it--

Somehow, all this seems a bit weird to me!-- no errors/complaints, but the file sizes are not the same.

I am waiting to restore the Oracle tables to confirm......

We are using Legato for backup- but that has not been working, and we are trying alternate backup of the critical files.

yes, we'll probably do the "dump"- but that'll have to be during DB downtime!

Any thoughts/suggestions......?

Suresh


[Edited by sdharmap on 05-11-2001 at 03:04 PM]
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #644
Difficulty: Easy
The first web browser was called WorldWideWeb.
True or False?

9 More Discussions You Might Find Interesting

1. Programming

Limits on 32 and 64 bit in C++ / C

Hi All, I am getting below run time error I checked the code and see the structure defined as below and using the file position variable typedef struct Get_file { char *current_pathname; unsigned int tot_bytes_io, physical_position; int... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

2. UNIX for Dummies Questions & Answers

Soft and hard limits for nproc value in /etc/security/limits.conf file (Linux )

OS version : RHEL 6.5 Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server appusr soft nproc 2047 appusr hard nproc 16384 What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ? I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies

3. UNIX for Dummies Questions & Answers

memory limits

hello.. My task now is to set memory limits to users in a linux system. I found out two ways, one is using disk quotas and the other is using PAM. But my question here is what is the difference between these two. We have 'memlock' in PAM and we can set limits using quota also. Are they both... (2 Replies)
Discussion started by: kalyanilinux
2 Replies

4. HP-UX

HP-UX 10.20 file size limits?

Hi, I'm running HP-UX 10.20. Is there a 2GB file size limit? if so, can i change it? (3 Replies)
Discussion started by: gabriel.560
3 Replies

5. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

6. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

7. Programming

semaphore limits

Hi Could anybody tell me how can i see the semaphore limits on my system. I am using solaris 8. Thanks in advance (2 Replies)
Discussion started by: axes
2 Replies

8. UNIX for Dummies Questions & Answers

limits.conf

I have line in this file that says: username - maxlogins 1 and user can login 2 times instad of one. does enybody know why? and how can I fix that? (2 Replies)
Discussion started by: shooroop
2 Replies

9. Linux

limits.conf

Hello! How do make the limits.conf parameters work for a normal user. Ive changed both the hard and soft parameter for the specific user. It used to be 4096 and i changed it to 16384. But when i use the ulimit -n, all i got is permissen denied. Witch i can understand. But my question is? how... (1 Reply)
Discussion started by: dozy
1 Replies

Featured Tech Videos