| shell script for cold backup [message #427818] | 
			Mon, 26 October 2009 00:29   | 
		 
		
			
				
				
				
					
						
						ranvijaidba
						 Messages: 71 Registered: May 2008  Location: Bangalore
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Operating system:Linux 
Database version:10.2.0.3 
 
I want to create script that take location of datafile,redolog file,controlfile from database and copy or backup the file from that location.I dont want script use separate copy command for 
each file in that location. 
 
eg: 
 
loc1=/home/oracle/product/10.2.0/dbf 
loc2=/home/oracle/product/10.2.0/ctl 
loc3=/home/oracle/product/10.2.0/redo 
 
tar -cvzf backup.tar.gz loc1 loc2 loc3 
 
I don't know it is possible or not.Please guide me.
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |