- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Different types of backups
Operating System - HP-UX
1753822
Members
9419
Online
108805
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
Discussions
Discussions
Forums
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
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
тАО12-20-2003 03:38 AM
тАО12-20-2003 03:38 AM
Hi,
Could someone educate me a little about the characturistics about AT&T ,Berkely, best...types of backup schemes? What exactly am I doing by choosing 0m, or 0mn etc.
John
Could someone educate me a little about the characturistics about AT&T ,Berkely, best...types of backup schemes? What exactly am I doing by choosing 0m, or 0mn etc.
John
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2003 04:44 AM
тАО12-20-2003 04:44 AM
Solution
This is one of those it depends answers. You really have several things going on at once. First is density, generally 'm' -- shorthand for BEST is the one to use; next rewind (default) or 'n' no rewind. If you are only laying down one backup per tape then the rewind device is your boy; otherwise you use the norewind device node. Finally, and certainly the most confusing, is Berkeley or AT&T style. These choices have to do with how the tape is positioned for no-rewind devices after closing. In almost all cases (and unless you have to read a tape created with AT&T conventions) the Berkeley style is the way to go because it simply leaves the tape where it is.
Man 7 mt will really spell out the details for you.
Man 7 mt will really spell out the details for you.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2003 07:12 AM
тАО12-20-2003 07:12 AM
Re: Different types of backups
These terms are not backup schemes but the behavior of the driver with regard to the device. AT&T and Berkeley behavior is best described in the mt(7) man page. The nomenclature (7) means that the specific manpage is in section 7 or the 7th man page 'brick' (because the printed man pages are brick-sized). The man command has a section option so if you type man mt you'll get mt(1) which is the mt command. Type the command: man 7 mt and you'll get section 7, the documentation section.
Simply put: the device file is contains a major number which is really the driver number, and the minor number contains driver options. The options for tapes include compression (or density) and rewind on close. Now if you want to position the tape to a specific location, the AT&T behavior (typical device files) is *not* easy to use. AT&T behavior is detailed in man 7 mt under Tape Behavioral Characteristics. To move the tape in an inuitive manner, always use a Berkeley device file (as described in the mt(1) man page). You'll need to create Berkeley device files as they don't exist by default (see mksf man page, -u option).
All that is background for a backup solution. All of the Unix legacy tools such as tar, cpio, pax, dump, vxdump, all perform no tape positioning is performed before or after the program runs. That means that the tape's position after a backup will depend on the device file used for the backup. That means that almost all backups should have mt positioning commands in a script to make sure the tape is where it is expected to be. In the good old days (tm), multiple backups would be done onto a single tape and the right device file was a requisite. However, today's critical requirements for data reliability relegates these practices to small data sets.
As a result, modern backup tools such as fbackup, Omniback and other commercial tools always rewind the tape prior to writing (regardless of the tape's device file features). By overriding the device file behavior, the backup will always be one-per-tape and will begin with a complete index. In contrast, there is no index for classic Unix tools other than reading the entire tape.
Bill Hassell, sysadmin
Simply put: the device file is contains a major number which is really the driver number, and the minor number contains driver options. The options for tapes include compression (or density) and rewind on close. Now if you want to position the tape to a specific location, the AT&T behavior (typical device files) is *not* easy to use. AT&T behavior is detailed in man 7 mt under Tape Behavioral Characteristics. To move the tape in an inuitive manner, always use a Berkeley device file (as described in the mt(1) man page). You'll need to create Berkeley device files as they don't exist by default (see mksf man page, -u option).
All that is background for a backup solution. All of the Unix legacy tools such as tar, cpio, pax, dump, vxdump, all perform no tape positioning is performed before or after the program runs. That means that the tape's position after a backup will depend on the device file used for the backup. That means that almost all backups should have mt positioning commands in a script to make sure the tape is where it is expected to be. In the good old days (tm), multiple backups would be done onto a single tape and the right device file was a requisite. However, today's critical requirements for data reliability relegates these practices to small data sets.
As a result, modern backup tools such as fbackup, Omniback and other commercial tools always rewind the tape prior to writing (regardless of the tape's device file features). By overriding the device file behavior, the backup will always be one-per-tape and will begin with a complete index. In contrast, there is no index for classic Unix tools other than reading the entire tape.
Bill Hassell, sysadmin
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP