- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to add time to backup files?
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
06-19-2003 07:38 PM
06-19-2003 07:38 PM
How to add time to backup files?
fackup -f /backup/oracle.app -0vi /u01
Can I add time to the file oracle.app?
I hope the output file has the format like oracle.app.20030620.
can you help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 08:00 PM
06-19-2003 08:00 PM
Re: How to add time to backup files?
# date "+%Y%m%d"
Probably best to set in variable as in:
#BKUP_DATE=$(date "+%Y%m%d")
Then use as follows:
/backup/oracle.app.${BKUP_DATE}
I would probably write a short script to do your fbackup and define the variable in the script.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 08:02 PM
06-19-2003 08:02 PM
Re: How to add time to backup files?
# fbackup -f /backup/oracle.app.`date '+%y%m%d'` -0vi /u01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 08:41 PM
06-19-2003 08:41 PM
Re: How to add time to backup files?
Regards
Michael
BTW: You should also make sure that you assign points to people who assist you. It is in the spirit and etiquette of the forums to do so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 05:53 PM
06-22-2003 05:53 PM
Re: How to add time to backup files?
59 23 * * 5 /backuporadata/backu01
59 23 * * 6 /backuporadata/backu03
# more /backuporadata/backu03
fbackup -f /dev/rmt/0mn -0i /u03
# more /backuporadata/backu01
fbackup -f /backuporadata/oracle.app.`date '+20%y%m%d'` -0i /u01
#