From: <bac...@li...> - 2008-05-23 20:55:15
|
A NOTE has been added to this issue. ====================================================================== http://bugs.bacula.org/view.php?id=1091 ====================================================================== Reported By: novosirj Assigned To: ebollengier ====================================================================== Project: bacula Issue ID: 1091 Category: bconsole Reproducibility: always Severity: major Priority: normal Status: assigned ====================================================================== Date Submitted: 05-23-2008 19:23 BST Last Modified: 05-23-2008 21:55 BST ====================================================================== Summary: bconsole 'estimate' command ignores client= Description: Checked with the mailing list and this problem is reproducible on other installs. Here are links to the list archives with more information (one suggests it is an output bug and that it does connect to the right client, another disputes that): http://marc.info/?l=bacula-users&m=121156465509777&w=2 http://marc.info/?l=bacula-users&m=121156646913188&w=2 *estimate job=SystemArchive client=arcturus-fd ...you can see what happens next: Using Catalog "umd_CATALOG" Connecting to Client catalyst-fd at catalyst:9102 >From the manual, this IS correct syntax: --- estimate Using this command, you can get an idea how many files will be backed up, or if you are unsure about your Include statements in your FileSet, you can test them without doing an actual backup. The default is to assume a Full backup. However, you can override this by specifying a level=Incremental or level=Differential on the command line. A Job name must be specified or you will be prompted for one, and optionally a Client and FileSet may be specified on the command line. It then contacts the client which computes the number of files and bytes that would be backed up. Please note that this is an estimate calculated from the number of blocks in the file rather than by reading the actual bytes. As such, the estimated backup size will generally be larger than an actual backup. Optionally you may specify the keyword listing in which case, all the files to be backed up will be listed. Note, it could take quite some time to display them if the backup is large. The full form is: estimate job=<job-name> listing client=<client-name> fileset=<fileset-name> level=<level-name> Specification of the job is sufficient, but you can also override the client, fileset and/or level by specifying them on the estimate command line. http://www.bacula.org/en/rel-manual/Bacula_Console.html#SECTION002150000000000000000 ====================================================================== ---------------------------------------------------------------------- ebollengier - 05-23-08 21:55 ---------------------------------------------------------------------- This is a bug in estimate output. You can fix it with this little patch. Thanks. Issue History Date Modified Username Field Change ====================================================================== 05-23-08 19:23 novosirj New Issue 05-23-08 21:43 ebollengier Status new => assigned 05-23-08 21:43 ebollengier Assigned To => ebollengier 05-23-08 21:50 ebollengier File Added: 2.2.8-estimate-output.patch 05-23-08 21:55 ebollengier Note Added: 0003350 ====================================================================== |