| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | 
07-03-2010, 01:41 AM
| | | zmbackupquery, cmd line option to show in progress backups Hi everyone
I was just looking through the docs for zmbackupquery... zmbackupquery
I wanted to check on the status of a full backup that was running and rather than going into the admin console and refreshing the backup status, I thought I'd try using a command line tool.
I found zmbackupquery which does the trick but it's slightly time-consuming having to enter either the known label or a time/date range to show the backups as "in progress"
My suggestion is this... the addition of a command line option to zmbackupquery which filters the output to show any backups that are either in progress or completed.
Comments/suggestions?
Cheers, B | 
07-03-2010, 06:34 AM
| | | doesn't zmbackupquery with no arguments do this | 
07-08-2010, 02:22 AM
| | | When I tried that, it seems to just list all backup labels with their status. | 
07-08-2010, 04:07 AM
| | | if there is a backup in progress it should show it. it should be the first entry it shows. it'll even show like
Backing Up Account 58 or 90 | 
07-08-2010, 05:36 AM
| | Advanced Member | |
Posts: 198
| | Quote:
Originally Posted by bdial if there is a backup in progress it should show it. it should be the first entry it shows. it'll even show like
Backing Up Account 58 or 90 | Yeah, if there is a backup in progress, the command will have output like the following:
"Status: in progress
Currently backing up: you@you.com
Number of accounts: 5 out of 1704 completed" | 
06-02-2011, 10:58 PM
| | | Yes that's correct. Any "in progress" backups are returned first but it is then followed by all completed backups. Scrolling up to find the first entry isn't easy when you have many backup labels.
I'm looking for a way to show only "in progress" backups.
I've entered this bug report Bug 60560 – Options for zmbackupquery to list only in progress or completed backup operations which proposes some new options to the zmbackupquery command to return only "in progress" or "completed" backup operations.
Cheers, B | 
03-05-2012, 11:46 PM
| | | zmbackupquery | grep -B 3 -A 4 'in progress'
zmbackupquery | grep -B 3 -A 4 'completed'
zmbackupquery | grep -B 3 -A 4 'aborted' | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |