- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script for daily backup
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
05-24-2007 11:40 PM
05-24-2007 11:40 PM
script for daily backup
I have two HP-UX boxes dbaux1 and dbaux2. /Clearcase is NFS mounted on dbaux2 from dbaux1.I need one script to automate daily tar backup process. Following are the steps which I perform manually
- Login to dbaux1 as comvobad
- Execute ./lockvob.sh
- change directory to /Clearcare/backup
- tar the contents by executing "tar -cf ccbkp.tar -C ../store/ combo/"
- change dirctory back to home directory
- Execute ./unlockvob.sh
- Login to dbaux2
- Change directory to /data1/ccbkp
- move ccbkp.tar ftom /ClearCase/backup to current directory
Please tell me how can automate this process for daily backup.
Thanks in advance.
GSB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 11:54 PM
05-24-2007 11:54 PM
Re: script for daily backup
Write a shell script using the steps you provided as an outline.
http://docs.hp.com/en/B2355-90046/
If you give a man a fish...
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 11:57 PM
05-24-2007 11:57 PM
Re: script for daily backup
http://docs.hp.com/en/B2355-60127/crontab.1.html
PS : points are always appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 12:00 AM
05-25-2007 12:00 AM
Re: script for daily backup
Can anyone send me the script for the same?
GSB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 12:07 AM
05-25-2007 12:07 AM
Re: script for daily backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 12:16 AM
05-25-2007 12:16 AM
Re: script for daily backup
Can anyone help
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 12:27 AM
05-25-2007 12:27 AM
Re: script for daily backup
Create a script which contains
$HOME/lockvob.sh
cd /Clearcare/backup
tar -cf ccbkp.tar -C ../store/ combo/
cd $HOME
$HOME/unlockvob.sh
Test this script before you put in the cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 12:29 AM
05-25-2007 12:29 AM
Re: script for daily backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 07:19 PM
05-27-2007 07:19 PM