Cold backup


 
Thread Tools Search this Thread
Operating Systems AIX Cold backup
# 1  
Old 11-06-2010
Cold backup

Hello,
I am newbie IBM AIX.I am working on R12.1.1 O.S IBM AIX i want to take cold backup of 12.1.1 apps,db,inst folder with zip.Please tell me backup command with zip or any other utility.becauze i was using the tar -cvf command this command taking too much space for backup.please reply asap.


Regards,
Umair

Last edited by umair; 11-07-2010 at 12:10 PM..
# 2  
Old 11-08-2010
You could direct the tar-output to <stdout> and pipe that directly into gzip:

Code:
tar -cf - /the/dir/to/back/up | gzip -c [-9] > /path/to/output.file

"-f -" is the key option here, which redirects the output of "tar" to <stdout>. This way you eliminate the intermediate file.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I need perl script on cold backup in Oracle 10 g

Hi , I am new to Perl script.Can u please provide me perl scripts for the following: 1. Perl script on Cold backup in Oracle 10g 2.Perl script on Hot backup in Oracle 10g (0 Replies)
Discussion started by: Niharika Srivas
0 Replies

2. Shell Programming and Scripting

Cold Backup of Oracle database.

Hi i need a command to cut the last column from the location in a file and want write a gzip command like cat a.txt /data01/oracle/oradata/vas/data/system01.dbf /data01/oracle/oradata/vas/data/sysaux01.dbf /data01/oracle/oradata/vas/data/undotbs01.dbf... (3 Replies)
Discussion started by: javeedkaleem
3 Replies

3. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

4. Shell Programming and Scripting

Cold backup oracle and Restore to new db

Hello All, I am very new to Linux i have assignment to take offline backup in linux and restore it to new database oracle 10g? Help me out any script of it and steps i will be very thankful Regards, Sameer (0 Replies)
Discussion started by: sameer_123
0 Replies

5. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

6. Shell Programming and Scripting

Perl script to invoke Cold Backups

Hello, I am relatively new to Perl and I need help in creating a Perl script to automate a crontab job that starts and shutdowns multiple servers one server at a time. Script is to be run once a week. Below are the steps needed for the job... 1. Start stopping server1 and server2 using... (3 Replies)
Discussion started by: northern1969
3 Replies
Login or Register to Ask a Question