- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup doesn't work
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-28-2002 10:07 PM
04-28-2002 10:07 PM
fbackup doesn't work
# /usr/sbin/fbackup -f /dev/rmt/0m -2 ???g
/opt/sdp/snapadm/etc/backup/daily_sdp_bck_graph
#
Please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2002 10:14 PM
04-28-2002 10:14 PM
Re: fbackup doesn't work
You need to define a graph file name after the -g option.
Since there is no pgraph file defined, this means there is nothing to takebackup so you get a command prompt.
Do read the man pages
=============================
-g graph graph defines the graph file. The graph file is a text
file containing the list of file names of trees to be
included or excluded from the backup graph. These
trees are interpreted in the same manner as when they
are specified with the -i and -e options. Graph file
entries consist of a line beginning with either i or e,
followed by white space, and then the path name of a
tree. Lines not beginning with i or e are treated as
an error. There is no default graph file. For
example, to back up all of /usr except for the subtree
/usr/lib, a file could be created with the following
two records:
i /usr
e /usr/lib
==============================
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2002 10:24 PM
04-28-2002 10:24 PM
Re: fbackup doesn't work
Try change -2 to -0 first.
does it backup ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2002 11:43 PM
04-28-2002 11:43 PM
Re: fbackup doesn't work
The filename is daily_sdp_bck_graph and located at /opt/sdp/snapadm/etc/backup/
Contents of daily_sdp_bck_graph file:
#########################################
i /opt/sdp/snapadm/etc
e /opt/sdp/snapadm/etc/install
i /opt/sybase/home
i /opt/sybase/DS/interfaces
i /opt/sybase/DS/SYB_SDP1.cfg
i /opt/sybase/RS/REP/install/SYB_SDP1_RS.cfg
i /dbdumps
###########################################
I run the command in multiuser mode, it was working fine previously. I do backup daily (incremental backup).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 12:10 AM
04-29-2002 12:10 AM
Re: fbackup doesn't work
can you please check the system date and time .
try touch to any file withing the backup data tree and use tho -0 instead of -2.
Can you also verify whether
/var/adm/fbackupfiles/dates
is getting created for the current date???
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 07:00 AM
04-29-2002 07:00 AM
Re: fbackup doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:52 PM
05-01-2002 05:52 PM
Re: fbackup doesn't work
maintenance, we found that the SDP1 weekly O/S
backup failed. After entering the command
/usr/sbin/fbackup -f /dev/rmt/0m -1 -g \
/opt/sdp/snapadm/etc/backup/daily_sdp_bck_graph, the screen will automatically goes to command prompt. On 29/4/02, during daily maintenance activities, the SDP1 daily backup also failed. After further investigation we found that the fbackup file is zerorize (0 bytes). Then we copied the same file from identical machine. When tried to do O/S backup on SDP1, it is a success.
Q1. How the fbackup file can be zerorized ?
Q2. What are the steps to avoid these from
happening again ?
Q3. Can other users than 'root' run the backup
commands ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:02 PM
05-01-2002 06:02 PM
Re: fbackup doesn't work
Your 'fbackup' binary was zero?
/usr/sbin/fbackup
Some steps to take:
Make sure that this file has the
permissions of only 555 meaning it can't
easily be written over. Change the 'root'
password on your system regularly.
Implement 'sudo' or restricted SAM (sam -r)
if operators need to do tasks.
Yes other users can use 'fbackup'. To prevent
this situation, look at the restricted tools
as above or change the permissions of the
binary to be 500.
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:05 PM
05-01-2002 06:05 PM
Re: fbackup doesn't work
Can't tell whether you mean the graph file or the fbackup command itself was zero bytes.
But regardless a file can be "zeroed" by:
1) > /path/to/filename
2) The FS goes 100% used at a
time when the file is being written to (rare but happens)
3) cp /dev/null /path/to/filename
4) inode table corruption
There are probably several other scenarios - but these come to mind.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 12:12 AM
05-03-2002 12:12 AM
Re: fbackup doesn't work
Yes, the fbackup binary was "zeroed". Do we have any method to find in the system what actually happen to the binary file (fbackup).
It is difficult to say that this file was
"zeroed" by command null. The file has already 555 permission. I will change the file permission to 500.
I agreed with you that the 'root' password have to be regularly change.
Please advise.
Regards
Munawwar