- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- BRARCHIVE copy to tape and to disk
Operating System - HP-UX
1753837
Members
9457
Online
108806
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО11-04-2008 02:45 PM
тАО11-04-2008 02:45 PM
BRARCHIVE copy to tape and to disk
Hello Guys.
O.S: HP-UX
Version: 11.11
I have the following question.
I need to do the following.
I need to run a Brarchive backup to archive some offline DB logs. (this I know how to do).
The other thing I need and this is were my question comes in.
I need to run a brarchive to tape to backup an archive file and then simultaneously copy that same archive file
to disk (To a location I specify) while deleting the archive file from the original location.
Can this be done ?
Has Anybody done this ?
Any help you could provide, would be of great help.
O.S: HP-UX
Version: 11.11
I have the following question.
I need to do the following.
I need to run a Brarchive backup to archive some offline DB logs. (this I know how to do).
The other thing I need and this is were my question comes in.
I need to run a brarchive to tape to backup an archive file and then simultaneously copy that same archive file
to disk (To a location I specify) while deleting the archive file from the original location.
Can this be done ?
Has Anybody done this ?
Any help you could provide, would be of great help.
Knowledge is power.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 01:26 AM
тАО11-06-2008 01:26 AM
Re: BRARCHIVE copy to tape and to disk
Hi Fabian,
You must create a script like this:
#!/bin/sh
SOURCE_DIR=/...
TARGET_DIR_DISK=/...
TARGET_DIR_TAPE=/...
cp $SOURCE_DIR/* $TARGET_DIR_DISK
brarchive $SOURCE_DIR/* $TARGET_DIR_TAPE -- I don't know the exact syntax of brarchive...
Best Regards,
Eric Antunes
You must create a script like this:
#!/bin/sh
SOURCE_DIR=/...
TARGET_DIR_DISK=/...
TARGET_DIR_TAPE=/...
cp $SOURCE_DIR/* $TARGET_DIR_DISK
brarchive $SOURCE_DIR/* $TARGET_DIR_TAPE -- I don't know the exact syntax of brarchive...
Best Regards,
Eric Antunes
Each and every day is a good day to learn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 08:09 AM
тАО11-06-2008 08:09 AM
Re: BRARCHIVE copy to tape and to disk
Hi Eric.
Tanks for the tip.
Let me try it and i will let you know.
Tanks for the tip.
Let me try it and i will let you know.
Knowledge is power.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2008 06:26 AM
тАО11-08-2008 06:26 AM
Re: BRARCHIVE copy to tape and to disk
I would suggest two aproaches on this.
Option one: You do two runs (brarchive can handle to action a second copy)
First run:
brarchive -c -u / -s -d tape ....
-s = just save and do nothing else
-d tape = Do a backup to tape
Backup target needs to be customized in initSID.sap
Second run:
brarchive -c -u / -sc -d disk [-k yes] ....
-sc = second copy (use scd if you like to delete after successfull copy)
- d disk = Do backup to disk
-k yes = Want to use sw-compression to disk ?
If you do not like to delete the logs with the second run, you might neet to schedule a
brarchie -dsc
(delete second copy)
at a time convenient or let it be triggered by a filesystem usage monitor.
Option Two: Check out the sap documentation on brarchive/brbackup @ help.sap.com to verify if the new *stage* devices will help you. Those have been introduced to provide the option to do fast backups to a staging area, so that the performance impact to the archive filesystem is only short. In a second run, the stage area is copied to a tape.
We prefer aproach one, esp. if you do not delete the logs beforehand directly after the backup. We just schedule a SAVE (every three hours) to disk and a SECOND_COPY to tape (daily).
Nagios takes care to delete 100 logs (-dsc -n 100) when the filesystem is filed up to 65%.
If you like to do a brarchive every three hours, consider to do a
brspace ...switchlog...
right before the brarchive. This makes sure, that brarchive will not throw an rc=1 for "no log found to save".
Hope this helps
Volker
Option one: You do two runs (brarchive can handle to action a second copy)
First run:
brarchive -c -u / -s -d tape ....
-s = just save and do nothing else
-d tape = Do a backup to tape
Backup target needs to be customized in initSID.sap
Second run:
brarchive -c -u / -sc -d disk [-k yes] ....
-sc = second copy (use scd if you like to delete after successfull copy)
- d disk = Do backup to disk
-k yes = Want to use sw-compression to disk ?
If you do not like to delete the logs with the second run, you might neet to schedule a
brarchie -dsc
(delete second copy)
at a time convenient or let it be triggered by a filesystem usage monitor.
Option Two: Check out the sap documentation on brarchive/brbackup @ help.sap.com to verify if the new *stage* devices will help you. Those have been introduced to provide the option to do fast backups to a staging area, so that the performance impact to the archive filesystem is only short. In a second run, the stage area is copied to a tape.
We prefer aproach one, esp. if you do not delete the logs beforehand directly after the backup. We just schedule a SAVE (every three hours) to disk and a SECOND_COPY to tape (daily).
Nagios takes care to delete 100 logs (-dsc -n 100) when the filesystem is filed up to 65%.
If you like to do a brarchive every three hours, consider to do a
brspace ...switchlog...
right before the brarchive. This makes sure, that brarchive will not throw an rc=1 for "no log found to save".
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP