Re: [Bacula-users] Listing files backed up

2019-10-29 Thread Radosław Korzeniewski
Hello,

niedz., 27 paź 2019 o 02:37 Jose Alberto  napisał(a):

>
> https://www.bacula.org/9.4.x-manuals/en/developers/Implementing_GUI_Interface.html#SECTION00132
>
> I personally prefer to use bconsole to restore. But when the sysadmin has
> no experience with Bacula I have to explain the restoration by BAT or
> Baculum well.
>

For any inexperienced Bacula admin you can always switch to IBAdmin -
https://github.com/inteos/IBAdmin

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Listing files backed up

2019-10-28 Thread Marcin Haba
Hello,

I am only writing to let know that I have added the list job files
support to Baculum. So, from next version it will be available in
Baculum too.

Best regards,
Marcin Haba (gani)

On Sun, 27 Oct 2019 at 02:38, Jose Alberto  wrote:
>
> https://www.bacula.org/9.4.x-manuals/en/developers/Implementing_GUI_Interface.html#SECTION00132
>
> I personally prefer to use bconsole to restore. But when the sysadmin has no 
> experience with Bacula I have to explain the restoration by BAT or Baculum 
> well.
>
> On Fri, Oct 25, 2019 at 6:49 PM Chris Wilkinson  
> wrote:
>>
>> I’ve run into a problem that in both Baculum and BAT the restore functions 
>> are not finding the files that I know are in the backup in one of my 
>> clients. The other clients are fine.
>>
>> The file selection tree misses out one entire storage path. It may be no 
>> coincidence that the missing path is that of a drive that recently failed, 
>> was replaced and the data restored through bconsole.
>>
>> I can see that the files are present in the backup with bconsole (list files 
>> jobid=xx) but can’t seem to do the equivalent operation in the GUIs.
>>
>> Is there a way in Baculum and BAT to list the files that were backed up in a 
>> job?
>>
>> Regards
>> Chris Wilkinson
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> --
> #
> #   Sistema Operativo: Debian  #
> #Caracas, Venezuela  #
> #
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Listing files backed up

2019-10-26 Thread Jose Alberto
https://www.bacula.org/9.4.x-manuals/en/developers/Implementing_GUI_Interface.html#SECTION00132

I personally prefer to use bconsole to restore. But when the sysadmin has
no experience with Bacula I have to explain the restoration by BAT or
Baculum well.

On Fri, Oct 25, 2019 at 6:49 PM Chris Wilkinson 
wrote:

> I’ve run into a problem that in both Baculum and BAT the restore functions
> are not finding the files that I know are in the backup in one of my
> clients. The other clients are fine.
>
> The file selection tree misses out one entire storage path. It may be no
> coincidence that the missing path is that of a drive that recently failed,
> was replaced and the data restored through bconsole.
>
> I can see that the files are present in the backup with bconsole (list
> files jobid=xx) but can’t seem to do the equivalent operation in the GUIs.
>
> Is there a way in Baculum and BAT to list the files that were backed up in
> a job?
>
> Regards
> Chris Wilkinson
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
#
#   Sistema Operativo: Debian  #
#Caracas, Venezuela  #
#
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Listing files backed up

2019-10-26 Thread Chris Wilkinson
Davides suggestion to use Bacula-Web helped me to determine that I did backup 
what I had expected to and this comports with what bconsole shows. I had to 
upgrade my Bacula-Web to do this as it is a newish feature that I had not 
noticed.

Marcin’s suggestion to clear the bvfs cache has cleared up the missing storage 
path from the Baculum restore wizard. All is now good.

Many thanks to you both.

Regards
Chris Wilkinson

> On 26 Oct 2019, at 16:13, Marcin Haba  wrote:
> 
> Hello Chris,
> 
> The different results between the file list in restore in Baculum and
> BAT and the file list in bconsole command 'list files jobid=xx' can
> occur becase both these lists use different way of getting directories
> and files.
> 
> Baculum and BAT use programming Bvfs interface to show items to
> restore but 'list files jobid=xx' doesn't use it and it shows results
> directly from the Catalog database 'filename' and 'path' tables
> without using Bvfs tables. So in your case it seems to be possible
> issue in Bvfs part if 'list files jobid=xx' shows files correctly.
> 
> I can add to Baculum listing files in backup but it will not solve
> this case because restore uses  Bvfs that seems to not show some paths
> that you want. You can try to clear this cache by bconsole command:
> 
> .bvfs_clear_cache yes
> 
> and then try restore again. If it will not help then I propose to open
> ticket in the Bacula Community bug tracker:
> 
> http://bugs.bacula.org
> 
> Best regards,
> Marcin Haba (gani)
> 
> On Sat, 26 Oct 2019 at 00:49, Chris Wilkinson  wrote:
>> 
>> I’ve run into a problem that in both Baculum and BAT the restore functions 
>> are not finding the files that I know are in the backup in one of my 
>> clients. The other clients are fine.
>> 
>> The file selection tree misses out one entire storage path. It may be no 
>> coincidence that the missing path is that of a drive that recently failed, 
>> was replaced and the data restored through bconsole.
>> 
>> I can see that the files are present in the backup with bconsole (list files 
>> jobid=xx) but can’t seem to do the equivalent operation in the GUIs.
>> 
>> Is there a way in Baculum and BAT to list the files that were backed up in a 
>> job?
>> 
>> Regards
>> Chris Wilkinson
>> 
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> -- 
> "Greater love hath no man than this, that a man lay down his life for
> his friends." Jesus Christ
> 
> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
> za przyjaciół swoich." Jezus Chrystus

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Listing files backed up

2019-10-26 Thread Marcin Haba
Hello Chris,

The different results between the file list in restore in Baculum and
BAT and the file list in bconsole command 'list files jobid=xx' can
occur becase both these lists use different way of getting directories
and files.

Baculum and BAT use programming Bvfs interface to show items to
restore but 'list files jobid=xx' doesn't use it and it shows results
directly from the Catalog database 'filename' and 'path' tables
without using Bvfs tables. So in your case it seems to be possible
issue in Bvfs part if 'list files jobid=xx' shows files correctly.

I can add to Baculum listing files in backup but it will not solve
this case because restore uses  Bvfs that seems to not show some paths
that you want. You can try to clear this cache by bconsole command:

.bvfs_clear_cache yes

and then try restore again. If it will not help then I propose to open
ticket in the Bacula Community bug tracker:

http://bugs.bacula.org

Best regards,
Marcin Haba (gani)

On Sat, 26 Oct 2019 at 00:49, Chris Wilkinson  wrote:
>
> I’ve run into a problem that in both Baculum and BAT the restore functions 
> are not finding the files that I know are in the backup in one of my clients. 
> The other clients are fine.
>
> The file selection tree misses out one entire storage path. It may be no 
> coincidence that the missing path is that of a drive that recently failed, 
> was replaced and the data restored through bconsole.
>
> I can see that the files are present in the backup with bconsole (list files 
> jobid=xx) but can’t seem to do the equivalent operation in the GUIs.
>
> Is there a way in Baculum and BAT to list the files that were backed up in a 
> job?
>
> Regards
> Chris Wilkinson
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Listing files backed up

2019-10-26 Thread Davide Franco
Hi Chris,

Have a try with Bacula-Web.
https://www.bacula-web.org

You cannot run restore with this tool (yet) but at least you can list files
from a backup job.

Hope it helps

Davide

On Sat, 26 Oct 2019 at 00:50, Chris Wilkinson 
wrote:

> I’ve run into a problem that in both Baculum and BAT the restore functions
> are not finding the files that I know are in the backup in one of my
> clients. The other clients are fine.
>
> The file selection tree misses out one entire storage path. It may be no
> coincidence that the missing path is that of a drive that recently failed,
> was replaced and the data restored through bconsole.
>
> I can see that the files are present in the backup with bconsole (list
> files jobid=xx) but can’t seem to do the equivalent operation in the GUIs.
>
> Is there a way in Baculum and BAT to list the files that were backed up in
> a job?
>
> Regards
> Chris Wilkinson
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users