- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to speed up restoring a file backed up wit...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
02-05-2006 02:03 PM
02-05-2006 02:03 PM
How to speed up restoring a file backed up with sam?
I want to restore the file /etc/hosts. I use sam to restore it, but it cost sereval hours. How to restore the file more quickly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2006 10:46 PM
02-05-2006 10:46 PM
Re: How to speed up restoring a file backed up with sam?
# cd /destination_directory
# frecover -f /dev/rmt/0m -xXov -i /source_directory_or_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 01:49 AM
02-06-2006 01:49 AM
Re: How to speed up restoring a file backed up with sam?
You can use frecover to specify /etc/hosts specfically. (see the man page for specifics.
When you do a restore via SAM you actually are using frecover. You can see the actual command in the samlog.
You can also specify the /etc/hosts as the only file to recover in the sam restore screen. It should restore fairly quckly, unless there is a problwm with the tape drive and/or tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 01:57 AM
02-06-2006 01:57 AM
Re: How to speed up restoring a file backed up with sam?
Is it a local or a remote tape
The frecover command shown to recover to local directory is ok but if you use a system:/dev/rmt/?? format then it doe snot use the fast search to recover.
Just try it manually and locally.
If tape is on other machine then compare the recover time for an unimportant file between local and remote
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 02:18 AM
02-06-2006 02:18 AM
Re: How to speed up restoring a file backed up with sam?
DDS2 is slow and if the file is near the end of the tape it will take as long as it takes. There is little you can do other than to in the future make smaller discrete backups of more critical files.
Assuming your system is running correctly and the drive is local it takes as long as it takes to read the tape.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:52 PM
02-06-2006 09:52 PM
Re: How to speed up restoring a file backed up with sam?
I believe, only a newer tape drive will do it faster - I changed from DDS2 to DDS4.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 11:26 PM
02-06-2006 11:26 PM
Re: How to speed up restoring a file backed up with sam?
If you are not using a 'config' file with 'fbackup' you are going to get very poor backup performance.
As documented in the man pages for 'fbackup' in the absence of an explicit configuration file ('-c config'), default values are provided. However, these defaults are archaic and will not yield good performance with modern tapes and tape drives. A much better set of parameters look something like these:
blocksperrecord 256
records 32
checkpointfreq 1024
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000
These parameters are recorded onto the actual backup tape and are thus used for recovery sessions with 'frecover'.
Checkpoint records allow the salvage of a backup when a bad tape spot is detected, since the records contain information about the file being backed up. The 'filesperfsm' parameter controls the frequency with which Fast Search Marks (FSM) are written. Both checkpoint and FSM records affect performance. FSMs take a tape drive out of streaming mode thereby adding to backup time. Conversely, FSMs improve the time it takes to recover a file from tape.
In general, if your backup consists of a high proportion of small files, increase the value for 'filesperfsm'. If your backup consists of a high proportion of large files, then decrease the 'filesperfsm' value.
Regards!
...JRF...