- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disappointed with backup !!
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
04-01-2005 09:32 PM
04-01-2005 09:32 PM
I have opened a thread few days ago (see http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=846390 )concerning knowing the size of total data before doning the backup.
the problem is I have DSS3 disk drive that can store 12 GB (24 GB compressed). with the command "du -ks" the total size 11044372 KB or 11 GB. Doing the full backup with sam requires two tapes which disapponited me.
Two question:
1- how can I check the total data size with sam after the backup?
2- Is there a difference between the backup with sam and the fbackup.
THANKS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 10:18 PM
04-01-2005 10:18 PM
Re: Disappointed with backup !!
Why use sam to perform backups? I don't of anyone that uses that, and I'm not even sure what sam is doing under the covers.
I bet you could EASILY "tar" your data. Give it a try.
btw, 11044372 KB does NOT equal 11 GB, it's more like 10.53GB.
Also, are you doing hardware compression?
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 11:31 PM
04-01-2005 11:31 PM
Re: Disappointed with backup !!
DSS3 disk drive? Or are you talking about a DDS3 tape drive? I have no idea how SAM backup works, or how it would work copying it to another disk, but I understand tape, so I'm going to make the assumption that's what you're talking about and try to sound intelligent :)
The DDS3 tape drive can store 12GB native, but compression depends on the kind of data you're backing up. You'll *typically* be able to get twice the normal amount of data onto a tape drive, but there are no guarantees. Back up near empty database files with compression and you may get well over 100:1 compression. Back up jpg or mpgs and you'll be lucky to get 12:10.
There are a few other problems you'll be hitting too. Tape media tends to be different lengths, so you can't guarantee a set amount on each tape. You'll also find that the backup will need to store its own information, so while the physical data in the files may be 10.5GB, you've also got a pile of pathnames, permissions, owner info and other metadata stored on there as well which may take up the other 1.5GB. The smaller the files you're backing up, the bigger the percentage of tape data is taken up with this. Also, each file will take up a block on tape, and if your blocksize is 64KB, then a 1KB /etc/hosts file will still take up 64KB on tape. Take the blocksize down and you slow down the drive speed by asking the drive to insert more block marks, which also take up more space (but nowhere near 32K - we're talking tiny amounts here).
I'd go with the suggestion to use tar. Depending on what kind of system you're backing up, I'd go for a script like the following (untested):
#!/bin/ksh
tar cvf /dev/rmt/0cbn /usr
tar cvf /dev/rmt/0cbn /export
tar cvf /dev/rmt/0cbn /etc
and so on. Or better, go for a copy of Amanda. Haven't used it, but it's free and sounds fairly good. Or get a decent commercial backup solution such as NetWorker/NetBackup/Data Protector etc, which will get you through those blockmarks faster to get your data back a whole lot quicker.
Stuart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2005 02:50 AM
04-02-2005 02:50 AM
SolutionSo the first thing to do is to earn the command line options--and most important, always use a config file (-c config-file). Otherwise, you'll waste a lot of tape and the backup will take a lot longer. The config file looks like this:
blocksperrecord 512
records 64
checkpointfreq 1024
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000
Then use the -i and -e options as needed and try your backup again. Note also two very useful commands:
frecover -V - -f /dev/rmt/0m
(for a header listing)
frecover -I /tmp/myindex -f /dev/rmt/0m
For a complete index. And as always, very that the tape device file you are using reports "best density" using the lssf command.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2005 05:07 AM
04-02-2005 05:07 AM
Re: Disappointed with backup !!
Sorry, DDS3 not DSS3, it is just mistyping.
the reason for using fbackup or sam is the indexing ,as Bill said,specially when your data is huge, the indexing is important. tar or cpio doesn't do that.
but what makes me confusing is my total data is 11 GB and can't fit into 24 GB compressed tape. Bill I can't imagine the rest of the space will be used for indexing and still not enough. unless sam or fbackup doesn't do compression. As far as I know, It does do compression by default.
my server is old HP 9000, with 4 processors and 400 MB memory. HP-UX version 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2005 06:04 AM
04-02-2005 06:04 AM
Re: Disappointed with backup !!
are the data absolutely stable? It could be that fbackup makes more than a single attempt at backing up one or more of your files....
Fbackup checks the timestamp of each file before and after copying it to tape. For a big file, it also checks after having written some data to tape. If the timestamp has changed, the maxretries parameter decides if a new attempt should be made: either until a successful copy is achieved, or the limit for maxretries is reached. Fbackup consumes some tape in doing this, as it does not rewind after a failed attempt, but rather continues from where it was.
This makes it difficult to foresee the amount of tape consumption for fbackup.
Do you see any warnings concerning this behaviour - particularly for huge oracle files?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2005 07:51 AM
04-02-2005 07:51 AM
Re: Disappointed with backup !!
and with the --verbose option you can build your own "index" and you can use --gzip to compress the data on the tape.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2005 01:04 PM
04-02-2005 01:04 PM
Re: Disappointed with backup !!
Very important: Neither SAM nor fbackup (or tar or cpio, etc) do compression. You enable compression by using the correct device file. When you run fbackup, what is your -f parameter? Then run lssf against that device file. For example:
lssf /dev/rmt/0m
stape card instance 2 SCSI target 0 SCSI LUN 0 at&t best density available at ad
dress 10/12/5.0.0 /dev/rmt/0m
The above indicates that this particular device will use compression ("best density").
> my server is old HP 9000, with 4 processors and 400 MB memory. HP-UX version 10.
400 megs is very, very small. There is a possibility that with such small memory, the extra reader processes (2 by default) and the amount of shared memory used by fbackup (which is proportional to the total number of files that are backed up) is causing serious paging (swapping). What this does is to stop processes for long periods of time. And for any modern tape drive (DDS, DLT, etc) this causes the tape to stop, backup and get ready to record more data. This causes significant delays (10:1 to 100:1) and excess wear on the tape drive.
I assume that you can't add more RAM or upgrade from the obsolete version of HP-UX. You can try using tar which has a lower footprint in RAM and should be able to keep the tape drive busy.
I would suggest downloading the tapeinfo program from: ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/tapeinfo/
This program will report on the tape's capacity, the compression ratio (read and write) and the actual data transmission to/from the tape.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 05:13 AM
04-04-2005 05:13 AM
Re: Disappointed with backup !!
Is anyone using Omniback (and is it still supported - or an HP product)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 05:27 AM
04-04-2005 05:27 AM
Re: Disappointed with backup !!
http://h18006.www1.hp.com/products/storage/software/dataprotector/index.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:52 AM
04-11-2005 07:52 AM
Re: Disappointed with backup !!
Marlou