HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help with remote fbackup and error...
Operating System - HP-UX
1839245
Members
2066
Online
110137
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
04-20-2001 09:55 AM
04-20-2001 09:55 AM
Hello everyone,
There are 2 problems with fbackup that I have been looking into for a few days but - I'm stump.
1. I have 4 machines (all HP 10.20) and want to have 1 fbackup script at machine 1 to do backup for the 4 machines from machine 1. I used this command but when I check the tape it contain data from machine 1 NOT machine 2,3 or 4 (I set up the graph and the config files for each machine in its' appropriate dir. (/var/adm/fbackupfiles)) :
fbackup -f machine2:/dev/rmt/tape -c config -u0g graph -d logfile -I index >>errlog 2>&1
Am I doing something wrong here? I thought of using -n but from my understanding it is use if you want to backup an mount file system ???
2. In my fbackup script I have it sents to me a notice of the time it took to do backup once it done, but for whatever reason if the user kill the fbackup half way through I still get the notice of the "complete" backup. Is there a way that I can write a function within this script to check with fbackup that if fbackup aborts half way through then a message is sent to my email as well ???
Your help is greatly appreciate. Thanks
Thi
There are 2 problems with fbackup that I have been looking into for a few days but - I'm stump.
1. I have 4 machines (all HP 10.20) and want to have 1 fbackup script at machine 1 to do backup for the 4 machines from machine 1. I used this command but when I check the tape it contain data from machine 1 NOT machine 2,3 or 4 (I set up the graph and the config files for each machine in its' appropriate dir. (/var/adm/fbackupfiles)) :
fbackup -f machine2:/dev/rmt/tape -c config -u0g graph -d logfile -I index >>errlog 2>&1
Am I doing something wrong here? I thought of using -n but from my understanding it is use if you want to backup an mount file system ???
2. In my fbackup script I have it sents to me a notice of the time it took to do backup once it done, but for whatever reason if the user kill the fbackup half way through I still get the notice of the "complete" backup. Is there a way that I can write a function within this script to check with fbackup that if fbackup aborts half way through then a message is sent to my email as well ???
Your help is greatly appreciate. Thanks
Thi
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2001 01:22 PM
04-20-2001 01:22 PM
Solution
HI,
I am not sure if I've understood well your problem.
But assume that you want to ruin a backup script on machine 1, and the backup is to be done on the tape in drive on the same machine 1 (other combinations are also possible).
In your script you should run the following command:
remsh machine 2|3|4 fbackup -f machine1:/dev/rmt/0m -u0g graph_file -other_options
Of course you should configure system equivalence for your machnes to enable remsh command (.rhosts file).
To solve the problem from the second question you should test the return value of the fbackup command, i.e
$? shell varuiable. After normal completion of this command $? should be equal to 0.
In any other case $? have value non equal to 0.
Hope this help.
I am not sure if I've understood well your problem.
But assume that you want to ruin a backup script on machine 1, and the backup is to be done on the tape in drive on the same machine 1 (other combinations are also possible).
In your script you should run the following command:
remsh machine 2|3|4 fbackup -f machine1:/dev/rmt/0m -u0g graph_file -other_options
Of course you should configure system equivalence for your machnes to enable remsh command (.rhosts file).
To solve the problem from the second question you should test the return value of the fbackup command, i.e
$? shell varuiable. After normal completion of this command $? should be equal to 0.
In any other case $? have value non equal to 0.
Hope this help.
Permanent training makes master
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2001 09:37 AM
04-23-2001 09:37 AM
Re: help with remote fbackup and error...
Hello,
I think fbackup does a rewind to be sure, that the volume header is at the beginning of the tape.
I think it is not possible to create more than one backup set on an fbackup tape (may be someone can correct me on this ?).
So I think with a script on host1:
remsh host2 fbackup -f host1:/dev/rmt/tape ...
remsh host3 fbackup -f host1:/dev/rmt/tape ...
remsh host4 fbackup -f host1:/dev/rmt/tape ...
fbackup -f /dev/rmt/tape ...
there should only be the saved data from host1 on the tape. You could check this with a new tape. The logfiles on the diffrent hosts should mention, how often the tapeheader is being rewritten. ( new, 1 , 2 , 3 )
You should nfsmount host2, host3 and host4 to host 1, and run a single fbackup crossing nfs or switch to a tar-backup invoked with a remote shell to the norewind device.
But you need to maintain the savesets manually !
Hope this helps
Volker
I think fbackup does a rewind to be sure, that the volume header is at the beginning of the tape.
I think it is not possible to create more than one backup set on an fbackup tape (may be someone can correct me on this ?).
So I think with a script on host1:
remsh host2 fbackup -f host1:/dev/rmt/tape ...
remsh host3 fbackup -f host1:/dev/rmt/tape ...
remsh host4 fbackup -f host1:/dev/rmt/tape ...
fbackup -f /dev/rmt/tape ...
there should only be the saved data from host1 on the tape. You could check this with a new tape. The logfiles on the diffrent hosts should mention, how often the tapeheader is being rewritten. ( new, 1 , 2 , 3 )
You should nfsmount host2, host3 and host4 to host 1, and run a single fbackup crossing nfs or switch to a tar-backup invoked with a remote shell to the norewind device.
But you need to maintain the savesets manually !
Hope this helps
Volker
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