- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script to run Ignite backup and remove last two we...
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
12-05-2010 07:59 PM
12-05-2010 07:59 PM
I need your help on how to write a script to run Ignite backup and at the same time delete the last two weeks backup copy. From my understanding, the Ignite script will be run on client and the removal script will be run on the Ignite server, right?
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2010 08:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2010 11:05 PM
12-05-2010 11:05 PM
Re: Script to run Ignite backup and remove last two weeks backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2010 11:21 PM
12-05-2010 11:21 PM
Re: Script to run Ignite backup and remove last two weeks backup
/opt/ignite/bin/make_net_recovery -v -s
You need to create another script to check this log file, once it is completed.
grep -i unsuccess /tmp/ignite.log
if [ ${?} -eq 0 ]; then
echo "Subject: Ignite failed on `hostname`" |/usr/bin/mail
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010 09:26 PM
12-06-2010 09:26 PM
Re: Script to run Ignite backup and remove last two weeks backup
Yes
Or you can add below to the end of make_net_recovery command in the script
if [ $? -eq 0 ]
then
echo "Ignite backup of `hostname` completed successfully" | mailx -s "Ignite backup of `hostname` completed"
else
echo "Please check log file or Ignite backup for more details of the error on `hostname`" | mailx -s "Ignite backup of `hostname` was unsuccessfull"
fi
WCI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2010 01:50 AM
12-07-2010 01:50 AM
Re: Script to run Ignite backup and remove last two weeks backup
The -n option of the make_net_recovery command allows you to retain a fixed number of recovery images on your system, the default being two images. The oldest recovery image is removed when a new recovery image is created and the specified limit is exceeded. For more information, see make_net_recovery(1M).
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2011 05:01 AM
03-15-2011 05:01 AM