- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- list scheduled backups - command line
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
тАО06-25-2001 04:59 AM
тАО06-25-2001 04:59 AM
I was hoping someone can tell how I can list scheduled backups using the command line. I need to know what backups are scheduled for the next year and put the information to Excel.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 05:09 AM
тАО06-25-2001 05:09 AM
Re: list scheduled backups - command line
I beleive omnirpt only works up to current date and time but reading the omnistat man page I see a -Until date which may prove useful ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 05:12 AM
тАО06-25-2001 05:12 AM
Re: list scheduled backups - command line
If the backups are scheduled and run automatically (whether setup through SAM or script), you should be able to see the schedule through cron. Type "crontab -l" to show the listing. The listing goes by column: minute hour day of month month day of week command. So, for example, an entry of 30 15 * * 1-5 myscript would run myscript at 3:30 in the afternoon Monday through Friday, every month, regardless of the day. Hope this helps.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 05:20 AM
тАО06-25-2001 05:20 AM
Re: list scheduled backups - command line
Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 05:41 AM
тАО06-25-2001 05:41 AM
Re: list scheduled backups - command line
if you mean Omniback you can do it like this.
omnirpt -report lookup_sch -schedule 189 -tab | grep -v '^#' |tr "\t" ";" | sort -t\; -k4n >schedule.csv
This will list all backup schedules from today to 31. December 2001 into the file schedules.csv
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 06:25 AM
тАО06-25-2001 06:25 AM
Re: list scheduled backups - command line
The omnirpt command would be very useful if I can get it to work. Andreas - I tried what you put on your last posting and received an error message that the parameter string is too long (12:1610) and that there was an error generating the report. Any suggestions??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 06:42 AM
тАО06-25-2001 06:42 AM
SolutionI do it this way to see them for the next 24 hours:
omnirpt -report lookup_sch -schedule 1
So do it for the next year, you should be able to do:
omnirpt -report lookup_sch -schedule 365
Hmm. I tried that last one and I get the same error. With some trial and error, the highest value that works on my system is 108 days. Weird. Smells like a bug to me.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 06:58 AM
тАО06-25-2001 06:58 AM
Re: list scheduled backups - command line
scheduling can only be done using either 'cron' or 'at'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 08:39 AM
тАО06-25-2001 08:39 AM