HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: frecover commands
 
Operating System - HP-UX
        1840213
        Members
    
    
        3810
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-07-2003 05:20 AM
05-07-2003 05:20 AM
			
				
					
					
						hey there,
i used fbackup with a DLT 8000 tape drive for my backup (# /usr/sbin/fbackup -0uvc config -g graph -I index -f/dev/rmt/1m), now i want to delete and restore/recover, i want to use frecover to recover, what command can i use?..any ideas?...
iphy
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
i used fbackup with a DLT 8000 tape drive for my backup (# /usr/sbin/fbackup -0uvc config -g graph -I index -f/dev/rmt/1m), now i want to delete and restore/recover, i want to use frecover to recover, what command can i use?..any ideas?...
iphy
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-07-2003 05:27 AM
05-07-2003 05:27 AM
			
				
					
						
							Re: frecover commands
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I usually use -v -x -i to recover just a file or directory:
frecover -v -x -i /dir/file_you_want
or
frecover -v -x -i /dir_you_want
The -v is verbose
The -x is extract
and the -i is Include
					
				
			
			
				
		
		
	
	
	
frecover -v -x -i /dir/file_you_want
or
frecover -v -x -i /dir_you_want
The -v is verbose
The -x is extract
and the -i is Include
	If it has wheels or a skirt, you can't afford it.
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-07-2003 05:29 AM
05-07-2003 05:29 AM
			
				
					
						
							Re: frecover commands
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						List the tape
frecover -x -f /dev/rmt/1m -N -v
.
./a
./b
Recovery the whole tape
frecover -x -f /dev/rmt/1m -i ./
Recovery the file named b
frecover -x -f /dev/rmt/1m -i /.b -v
regards
		
		
	
	
	
frecover -x -f /dev/rmt/1m -N -v
.
./a
./b
Recovery the whole tape
frecover -x -f /dev/rmt/1m -i ./
Recovery the file named b
frecover -x -f /dev/rmt/1m -i /.b -v
regards
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-07-2003 05:53 AM
05-07-2003 05:53 AM
Solution
			
				
					
					
						Hi Iphy
One of following will help you.
Ensure that the tape used for data recovery is the correct one by checking the tape label date. NB: In the examples below the -f /dev/rmt/0m tape device is used as an example - if the default device (ususally /dev/rmt/0m) is used the -f option can be omitted.
# frecover -f /dev/rmt/0m -V -
It is possible to recover the tape index from the file for a quick check of the contents of the tape - however this method does not guarantee that displayed files will be present on the tape (the index is a list of files expected to be backed up on the tape - files moved or deleted during the backup process may not backed up to tape).
# frecover -f /dev/rmt/0m -I index
where: index is the name of the file to contain the indexed file listing.
To recover files to original location:
# frecover -f /dev/rmt/0m -xov -i /source_directory
To recover files relative to the current working directory:
# cd /destination_directory
# frecover -f /dev/rmt/0m -xXov -i /source_directory
To recover all files under source directory to the present directory (all paths on tape will be ignored - leaving a flat directory structure):
# cd /destination_directory
# frecover -f /dev/rmt/0m -xFov -i /source_directory
To recover data from a remote tape drive use (the -f option must be used in this case):
# frecover -f sys1:/dev/rmt/0m -xov -i /source_directory
Sachin
					
				
			
			
				
		
		
	
	
	
One of following will help you.
Ensure that the tape used for data recovery is the correct one by checking the tape label date. NB: In the examples below the -f /dev/rmt/0m tape device is used as an example - if the default device (ususally /dev/rmt/0m) is used the -f option can be omitted.
# frecover -f /dev/rmt/0m -V -
It is possible to recover the tape index from the file for a quick check of the contents of the tape - however this method does not guarantee that displayed files will be present on the tape (the index is a list of files expected to be backed up on the tape - files moved or deleted during the backup process may not backed up to tape).
# frecover -f /dev/rmt/0m -I index
where: index is the name of the file to contain the indexed file listing.
To recover files to original location:
# frecover -f /dev/rmt/0m -xov -i /source_directory
To recover files relative to the current working directory:
# cd /destination_directory
# frecover -f /dev/rmt/0m -xXov -i /source_directory
To recover all files under source directory to the present directory (all paths on tape will be ignored - leaving a flat directory structure):
# cd /destination_directory
# frecover -f /dev/rmt/0m -xFov -i /source_directory
To recover data from a remote tape drive use (the -f option must be used in this case):
# frecover -f sys1:/dev/rmt/0m -xov -i /source_directory
Sachin
	Is photography a hobby or another way to spend $
			
			
				
			
			
			
			
			
			
		The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP