Which is suitable Tar or Backup command????


 
Thread Tools Search this Thread
Operating Systems AIX Which is suitable Tar or Backup command????
# 1  
Old 09-15-2008
Which is suitable Tar or Backup command????

hi all

im making a script for backing up a specific filesystem that is an output of our DB13(SAP) into tape..which is around 40g +


which is suitable tar or backup command

i heard tar has limitations ..i heard it can only backup upto 2 gig??? is this ryt?

and ill put this into cron.

by the way the o.s is AIX 5.3L

thanks all
# 2  
Old 09-15-2008
Depending on the AIX oslevel you will encounter different file size limits of AIX tar. The 2GB limit exists till about AIX 5.1. Recently you could archive files bigger than the limit officially announced. There are several ways around this file size limitation, e.g. you could use pax which uses tar format but handles bigger files (IIRC up to 8GB) or you could use gnu tar from the AIX Linux Toolbox that hasn't this POSIX limitation build in. However, as you are going to archive database files which could not only be large but also consist of sparse files the only program I'd recommend is AIX backup and restore.
# 3  
Old 09-15-2008
wow nice ... explained very well...that's wht i had in mind..backup (native aix..heheheh)

thanks sir
# 4  
Old 09-15-2008
You may also have to have a look at ulimits and see what size you have for

cd /etc/security
cat limits

look at

default:
fsize =

or also user fsize =
# 5  
Old 09-15-2008
Quote:
Originally Posted by ravager
You may also have to have a look at ulimits and see what size you have for

cd /etc/security
cat limits

look at

default:
fsize =

or also user fsize =

oki sir..if u dont mind me asking what's this commands for?

thanks
# 6  
Old 09-15-2008
The /etc/security/limits file defines process resource limits for users.

fsize
Identifies the soft limit for the largest file a user's process can create or extend.

you can do a man on limits for more detail
File for a user doing backup can not exceed this fsize set for the user in limits file
# 7  
Old 09-15-2008
ah oki sir thanks am cheking this out
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Not correct processing of “\ “ in names of dirs inside shell script (tar command - system backup scr

Hello, Recently, I've started with shell scripting, and decided to write a script for my system backup using tar. When I was dealing with tar execution inside shell script I found this, inside shell we have the following code: tar $TAR_PARAMS $ARCHIVE_FILE $EXCLUDE $BACKUP_STARTwith... (6 Replies)
Discussion started by: ilnar
6 Replies

3. Shell Programming and Scripting

File Backup - TAR help

Hi, Another rookie here. I have a script I am developing to backup files from various directories onto a windows machine. Script description: - mv files from various directories - tar all files in that directory - export to windows server for safe keeping, external backups. The... (5 Replies)
Discussion started by: mcclunyboy
5 Replies

4. UNIX for Dummies Questions & Answers

Backup with tar

Hi friends, I am planning to backup my Solaris Servers to SAN storage using tar. Also palnning to automate the job using Crontab. Can anyone advise how to make the date change automatically everyday for backup. Pls correct me if I am wrong. Thanks (7 Replies)
Discussion started by: solaris5.10
7 Replies

5. Solaris

backup through tar command on remote tape

Hello Everybody I have two servers, name A & B. I need to take a backup of one directory(/girish) on serverA. But my tape drive is in serverB through tar command. But when I run the following command it doesn't take the backup. Could any one correct my command to take a backup tar cvf - ... (0 Replies)
Discussion started by: girish.batra
0 Replies

6. UNIX for Advanced & Expert Users

restoring backup using tar command

Please help me in resolving the issue. I have taken backup using the below command $ tar cvf - . |compress -> /opt/globusback2/needed_backups/apglsg.tar.Z I tried to restore the backup using the below command. $ zcat /opt/globusback2/needed_backups/apglsg.tar.Z | tar -xvf - ... (5 Replies)
Discussion started by: amirthraj_12
5 Replies

7. UNIX for Dummies Questions & Answers

restoring backup using tar command

Please help me in resolving the issue. I have taken backup using the below command $ tar cvf - . |compress -> /opt/globusback2/needed_backups/apglsg.tar.Z I tried to restore the backup using the below command. $ zcat /opt/globusback2/needed_backups/apglsg.tar.Z | tar -xvf - ... (2 Replies)
Discussion started by: amirthraj_12
2 Replies

8. UNIX for Dummies Questions & Answers

Tar backup

I am trying to do a full system backup using tar. It then after maybe 12 or so hours comes up with tar: write error: unexpected EOF. I have thoroughly cleaned the drive and tried to use a different drive but it still gives me this error. Can someone help. I am on solaris 8. (1 Reply)
Discussion started by: TMashie
1 Replies

9. UNIX for Advanced & Expert Users

tar backup

Hi all, I would like to append list of files to already taken tar backup file. can anybody help? last month backup : cd /accounts/11 tar -cvf monthback.tar * Now I want to add /accounts/12 to monthback.tar is it possible? Krishna (1 Reply)
Discussion started by: krishna
1 Replies

10. UNIX for Advanced & Expert Users

extract from tar backup

Hi All, I have created a tar file by giving the below command : all files of directory : /Accounts/2001/10/26 $tar -cvf Act26.tar /Accounts/2001/10/26 I copied into another server and given the following command: $tar -xvf Act26.tar then permision denied message came due to the... (3 Replies)
Discussion started by: krishna
3 Replies
Login or Register to Ask a Question