- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help on fbackup
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
Discussions
Discussions
Forums
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
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-28-2009 05:39 AM
тАО01-28-2009 05:39 AM
10 2 * * 2-5 /usr/sam/lbin/br_backup DLT FULL Y /dev/rmt/0m /var/sam/graphOFAa11881 root Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup
These are the messages we get daily informing us of the status of our backups:
10 2 * * 2-5 /usr/sam/lbin/br_backup DLT FULL Y /dev/rmt/0m /var/sam/graphOFAa11881 root Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup
This is my question, after reading the post about incremental backups and the man page I think the '-d' option is for incremental backups, the file /var/adm/fbackupfiles/dates shows the following below which shows only two backups on Sat and Wed, but the /var/sam/log/br_log shows backups completed on Sat, Tues and Wed. Can someone please explain to me if this is really doing a full backup and if so why Tuesday backup not listed in the dates file. Maybe I am not understanding the '-d' option but the backups were set up before I came and I want to be sure to be doing full and not incremental backups. Thank you in advance am really green at this.
/var/sam/graphOFAa11881 0 1233130201 1233134884
STARTED: Wed Jan 28 02:10:01 2009 ENDED: Wed Jan 28 03:28:04 2009
/var/sam/graphSDAa14800 0 1232784602 1232790638
STARTED: Sat Jan 24 02:10:02 2009 ENDED: Sat Jan 24 03:50:38 2009
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 05:41 AM
тАО01-28-2009 05:41 AM
Re: help on fbackup
Full backup started on hp2.alvincollege.edu : Sat Jan 24 02:10:00 CST 2009 (Scheduled Backup)
{ fbackup -0 -u -g /var/sam/graphSDAa14800 -I /var/sam/log/br_index.full -c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2>&1
Full backup completed with warnings on hp2.alvincollege.edu : Sat Jan 24 03:50:45 CST 2009 .
Exit code = 4
Full backup started on hp2.alvincollege.edu : Tue Jan 27 02:10:00 CST 2009 (Scheduled Backup)
{ fbackup -0 -u -g /var/sam/graphOFAa11881 -I /var/sam/log/br_index.full -c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2>&1
Full backup completed with warnings on hp2.alvincollege.edu : Tue Jan 27 03:28:22 CST 2009 .
Exit code = 4
Full backup started on hp2.alvincollege.edu : Wed Jan 28 02:10:00 CST 2009 (Scheduled Backup)
{ fbackup -0 -u -g /var/sam/graphOFAa11881 -I /var/sam/log/br_index.full -c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2>&1
Full backup completed with warnings on hp2.alvincollege.edu : Wed Jan 28 03:28:09 CST 2009 .
Exit code = 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 06:03 AM
тАО01-28-2009 06:03 AM
SolutionThis seems to invoke the fbackup with the -0 option that is for the full backup and the -d option for the date file to be used and -u option to update the date file.
yes the date file is very helpful in helping get the Incremental backup.
if the fbackup runs as in example with -1 (call this N) instead of 0, then fbackup shall consult the date file that is /var/adm/fbackupfiles/dates to look for the latest archive that is 0 =(N -1) and if finds that will take a backup incrementally for the files W.r.t. that N-1 backup file.
But as the command runs with the -0 ( 0 always means a full backup) Option the backups are full and the date file being used here is only getting updated for the same.
can have more a look at the /var/adm/fabackupfiles/dates in order if you can see any level 1 backup or incremental backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 07:46 AM
тАО01-28-2009 07:46 AM
Re: help on fbackup
/var/sam/graphOFAa11881 0 1233130201 1233134884
STARTED: Wed Jan 28 02:10:01 2009 ENDED: Wed Jan 28 03:28:04 2009
/var/sam/graphSDAa14800 0 1232784602 1232790638
STARTED: Sat Jan 24 02:10:02 2009 ENDED: Sat Jan 24 03:50:38 2009
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 07:50 AM
тАО01-28-2009 07:50 AM
Re: help on fbackup
Why would you use the '-d' option for a full backup? Since these are SAM generated, they may just add but for my own peace of mind want to be sure this will always do a full backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:43 PM
тАО01-28-2009 12:43 PM
Re: help on fbackup
I would like to have the br_backup_log and the /var/adm/fbakupfiles/dates for 29th Jan also.
If possible the whole of the dates files.
Or you can also check that on the following lines.
This shall hint you that the dates file and the br backup log are both true.(also you can refer to the man pages for the command fbackup(1M)).
1)the default file for the fbackup record of keeping the dates file is /var/adm/fbackupfiles/dates but this is needed to be created the first time fabckup is run.
this will keep the records on the basis of (a)Backup level(0-9), and (b)Graph file used by fbackup if a graph file is specified (-d for specifying a non-default graph file)
-u option is used to make an entry to that graph file once fabckup is over with the two entries (a) and (b) and with the date entry.
2) if you can notice then it is found that for the three fbackups completed(24,27,28) the graph file used for the level 0 (mind option -0 of fbackup as the br log says): for 24 the Graph file is /var/sam/graphSDAa14800 and for 27 and 28 is /var/sam/graphOFAa11881
3) from the information in point 2, when fbackup after completion writes to the dates file, it writes the latest on Jan 24 entries:/var/sam/graphSDAa14800 level 0 for Jan 24
and /var/sam/graphOFAa11881, level 0 for Jan 28 on Jan 28.
Actually while fbackup completes on jan 28 it finds that alreaady the latest Entry for the Graph file /var/sam/graphOFAa11881, and level 0 was that of Jan 27 and overwrites that (hope i am correct).
This entry
/var/sam/graphOFAa11881 0 1233130201 1233134884
reads actually
So in tommorrows(29th) BR backup log just have a look at the br backup file and the dates files.
also you can see what are the contents of the graph files being used as they are different on 24 to that on 27 0r 28.
If taken using the graph file that is used on 27 or 28 you must find the entry of 28 Jan being replaced in the dates files as that will be a backup with the same graph file /var/sam/graphOFAa11881 , level 0 . so dates file shall be updated with the latest entry.
remember that an fbackup with -0 option is always the highest level of backup that is the full backup once specified.
Refer to the man pages of fbackup command
#man fbackup and have a look at the -u and -d options.
please post the br backup logs and dates file fully for jan29.
hope i am not too lengthy in the explanation.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:55 PM
тАО01-28-2009 12:55 PM