- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- yearly backups
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
01-09-2002 07:05 AM
01-09-2002 07:05 AM
Got requests coming in from clients to perform the yearly backup. Catch is they do not want via OmniBack or some other proprietary utility. They want the backup to be performed via a backup utility that is portable to other UNIX platforms. TAR was a mention.
Questions, can TAR span multiple tapes for a complete system backup? Do I need to TAR some stuff to the tape and then TAR some additional stuff to another tape to get past the storage limit on DLTs?
Can vxdump be by other UNIX flavors in case a restore is needed?
I have an idea to use dd for the backup but will this span multiple tapes?
Are there any oponions as to the tool to use for this task?
Going through the research stage here and I need to get the info as this is a one-shot deal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:11 AM
01-09-2002 07:11 AM
SolutionI'd use 'tar' since its such "common-change". From the man pages, "When end-of-tape is reached, tar prompts the user for a new special file and continues.".
One other consideration is that the standard 'tar' will not handle files larger than 2GB nor will it handle user or group id`s larger than 60,000.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:16 AM
01-09-2002 07:16 AM
Re: yearly backups
If it were me and portability is a concern, I would stick to the old reliable - tar. I would use the Gnu version of tar to avoid the 2GB filesize restriction. Dd by itself won't span tapes. You have to prescan the data and determine how much will fit on a tape and then pipe the output of tar or cpio through dd and prompt for a new tape when you reach capacity.
The only reason to do this is to get better blocking factors and possibly higher transfer rates. Since this is only done once a year, I would just let them run tar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:16 AM
01-09-2002 07:16 AM
Re: yearly backups
For portability tar or cpio are possibilities. vxdump is HP specific.
Suggest you use tar with a 64Kb blocksize to improve speed and tape usage - use the b (blocking factor) flag. You'll also have to supply this to tar if you restore.
Neither tar or cpio will span tapes but you can split it into several different tar runs to seperate tapes, specifying different legs in the filesystem.
dd won't span tapes either.
Also beware files > 2Gb, standard tar won't handle them.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:17 AM
01-09-2002 07:17 AM
Re: yearly backups
You might also consider "pax" which is like the best of tar and cpio mixed in with some other cool options.
I don't know how portable it is, though.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:19 AM
01-09-2002 07:19 AM
Re: yearly backups
An Idea
Use tar but from a script that starts at / and finds files.
Note their size.
Add up sizes.
When total size = backup device size ie 12/70 gig.
Tar those file to device.
Request a tape change.
Do it again.
ETC
ETC
Simple with only one variable (the dat/dlt drive).
For safety do each twice.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:20 AM
01-09-2002 07:20 AM
Re: yearly backups
In the case of tar - Yes, it will span multiple tapes during backup. Once the media is full, it will ask you to enter the device file (/dev/rmt/0m) for the next media.
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:22 AM
01-09-2002 07:22 AM
Re: yearly backups
An addition to your script could check for files greater than 2 gig, if found gzip them and retest the size, if under 2 gig continue, if over fire up error warning.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:25 AM
01-09-2002 07:25 AM
Re: yearly backups
Hi,
There are many disadvantages in using dd. Like, It's not possible to restore single file or directory from backup
Not possible to restore files based on a "pattern-match"
Difficult to create backups that can be recovered on other systems and It's not possible to perform incremental backups. DD is basically a image copy.
Some of the backup commands, specifically tar, cpio, pax will support files up to 2GB
only. Attempts to archive any files >2GB would fail.
Try using GNUTAR instead ... http://hpux.asknet.de/hppd/hpux/Gnu/tar-1.13.18
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:26 AM
01-09-2002 07:26 AM
Re: yearly backups
Apologies, tar will span tapes but only if you run it interactively.
I used to use it for cron'd backups and it would fail at end of tape with 'unable to access /dev/tty'.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 09:26 AM
01-09-2002 09:26 AM
Re: yearly backups
For files greater than 2 GB, you may need to use the GNUtar. The normal tar/cpio will not help for fles bigger than that.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 10:56 AM
01-09-2002 10:56 AM
Re: yearly backups
Uday has it right, use GNU's tar, because it WILL span tape drives:
http://www.gnu.org/manual/tar/html_mono/tar.html#SEC131
software can be found here:
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/
(nov 2001)
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 12:21 PM
01-09-2002 12:21 PM
Re: yearly backups
You can use GNU TAR to accomplish this, but I prefer CPIO since I believe it to be much faster than TAR.
Anyway here is a link to GNU TAR.
http://hpux.asknet.de/hppd/hpux/Gnu/tar-1.13.18
Hope this assist you in your task.
Good luck.
FG.