Re: [Bacula-users] brestore vs version browser
Hello, On 13/12/2011 11:30, Silver Salonen wrote: I'm just taking a look at new Bat (5.2.2) and I can't figure how to process out my most common use-case of Version Browser in bRestore. Let's say a user messed up a file and asked me which versions of the file are available in backups. In Version Browser I checked it this way: 1) Select FD 2) Select FD's job and click Refresh (or whatever that button was) 3) Browse to the according folder 4) Select the file and check versions 5) Restore some specific version of the file Maybe someone will give me guidelines how to do it in bRestore (release notes state that it has the same functionality as Version Browser)? The procedure should be something like: 1) Select FD 2) Select FD's job (all relevant jobs are selected automatically) 3) Browse to the according folder 4) Drag Drop your file selection (from file list or version list) to the restore area 5) Click on Restore and choose options such as where, client, ... 6) Click done Some users reported blank screen during the selection, at this time it looks to be a configuration issue with mysql/postgresql, but I'm not able to reproduce this kind of problem, so if you have them, look at your database error log, bacula's error log, turn debug to 50 during your bRestore test and look at traces to see if something is wrong. This is also possible to use dot commands without bat to see if the problem is in bat or bacula/bvfs. Bye -- Need professional help and support for Bacula ? Visit http://www.baculasystems.com -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] brestore vs version browser
On 13.12.2011 12:51, Eric Bollengier wrote: Hello, On 13/12/2011 11:30, Silver Salonen wrote: I'm just taking a look at new Bat (5.2.2) and I can't figure how to process out my most common use-case of Version Browser in bRestore. Let's say a user messed up a file and asked me which versions of the file are available in backups. In Version Browser I checked it this way: 1) Select FD 2) Select FD's job and click Refresh (or whatever that button was) 3) Browse to the according folder 4) Select the file and check versions 5) Restore some specific version of the file Maybe someone will give me guidelines how to do it in bRestore (release notes state that it has the same functionality as Version Browser)? The procedure should be something like: 1) Select FD 2) Select FD's job (all relevant jobs are selected automatically) 3) Browse to the according folder 4) Drag Drop your file selection (from file list or version list) to the restore area 5) Click on Restore and choose options such as where, client, ... 6) Click done Some users reported blank screen during the selection, at this time it looks to be a configuration issue with mysql/postgresql, but I'm not able to reproduce this kind of problem, so if you have them, look at your database error log, bacula's error log, turn debug to 50 during your bRestore test and look at traces to see if something is wrong. This is also possible to use dot commands without bat to see if the problem is in bat or bacula/bvfs. Bye Yes, I can see the list of jobs, but the list is of all the individual jobs (incremental, differential etc.), not a logical set of all jobs configured for the FD. And the problem is that although I know which job has the file/folder, I don't know in which job instance it was backed up. Without selecting anything, the default is Job list for myfd - how can I now browse anything? Clicking on both File Filter's refresh-button or Current Directory button gives an error Can't find jobid, pathid or path argument. -- Silver -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] brestore vs version browser
Hi, On 13/12/2011 13:54, Silver Salonen wrote: Yes, I can see the list of jobs, but the list is of all the individual jobs (incremental, differential etc.), not a logical set of all jobs configured for the FD. And the problem is that although I know which job has the file/folder, I don't know in which job instance it was backed up. Normally, it's more a time view, you choose a date, and it displays all files that were available at this date. (the idea was to merge all fileset into a single view, it's what is implemented in the perl version, but it's not yet in the QT version) Without selecting anything, the default is Job list for myfd - how can I now browse anything? Clicking on both File Filter's refresh-button or Current Directory button gives an error Can't find jobid, pathid or path argument. If you don't pick a job (or a date), you can't browse files... It sounds me obvious. We should maybe add a blink pointer or disable all other items. Bye -- Need professional help and support for Bacula ? Visit http://www.baculasystems.com -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] brestore vs version browser
On 13.12.2011 15:24, Eric Bollengier wrote: Hi, On 13/12/2011 13:54, Silver Salonen wrote: Yes, I can see the list of jobs, but the list is of all the individual jobs (incremental, differential etc.), not a logical set of all jobs configured for the FD. And the problem is that although I know which job has the file/folder, I don't know in which job instance it was backed up. Normally, it's more a time view, you choose a date, and it displays all files that were available at this date. (the idea was to merge all fileset into a single view, it's what is implemented in the perl version, but it's not yet in the QT version) Without selecting anything, the default is Job list for myfd - how can I now browse anything? Clicking on both File Filter's refresh-button or Current Directory button gives an error Can't find jobid, pathid or path argument. If you don't pick a job (or a date), you can't browse files... It sounds me obvious. We should maybe add a blink pointer or disable all other items. Bye OK, that's what I suspected. So the bRestore has not the same functionality as Version Browser. Because in Version Browser I could select a job, browse through ALL files and find out on which date any file is available for. Could the Version Browser be brought back or re-enabled in a custom build somehow? -- Silver -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] brestore vs version browser
On 13/12/2011 14:40, Silver Salonen wrote: On 13.12.2011 15:24, Eric Bollengier wrote: Hi, On 13/12/2011 13:54, Silver Salonen wrote: Yes, I can see the list of jobs, but the list is of all the individual jobs (incremental, differential etc.), not a logical set of all jobs configured for the FD. And the problem is that although I know which job has the file/folder, I don't know in which job instance it was backed up. Normally, it's more a time view, you choose a date, and it displays all files that were available at this date. (the idea was to merge all fileset into a single view, it's what is implemented in the perl version, but it's not yet in the QT version) I just looked more carefully, and it's already implemented and can be enabled/disabled by clicking on Merge jobs. If you have ideas/patches about the window layout, tooltips, organization, feel free to comment. It looks reasonable to me, simpler than the File Version Browser. The cache creation can be a bit slow on untuned system at the first run. It has to build a Path hierarchy table that is shared between all jobs and all clients. So, the second time, only new directories are added and it run much faster. At this time, this tool is working extremely well on Postgres, and is slower on MySQL/SQLite. For example, it permits to browse directories that contain millions of small files within few ms. Feedbacks and improvement patches are welcome for this two engines. Without selecting anything, the default is Job list for myfd - how can I now browse anything? Clicking on both File Filter's refresh-button or Current Directory button gives an error Can't find jobid, pathid or path argument. If you don't pick a job (or a date), you can't browse files... It sounds me obvious. We should maybe add a blink pointer or disable all other items. Bye OK, that's what I suspected. So the bRestore has not the same functionality as Version Browser. Because in Version Browser I could select a job, browse through ALL files and find out on which date any file is available for. Since the Merge Job is implemented, I don't see what is missing from the Version Browser. Could the Version Browser be brought back or re-enabled in a custom build somehow? This is probably just commented in the code, take a look to the git history to find when it has been disabled, and recompile it. Bye -- Need professional help and support for Bacula ? Visit http://www.baculasystems.com -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] brestore vs version browser
On 13.12.2011 18:43, Eric Bollengier wrote: On 13/12/2011 14:40, Silver Salonen wrote: On 13.12.2011 15:24, Eric Bollengier wrote: Hi, On 13/12/2011 13:54, Silver Salonen wrote: Yes, I can see the list of jobs, but the list is of all the individual jobs (incremental, differential etc.), not a logical set of all jobs configured for the FD. And the problem is that although I know which job has the file/folder, I don't know in which job instance it was backed up. Normally, it's more a time view, you choose a date, and it displays all files that were available at this date. (the idea was to merge all fileset into a single view, it's what is implemented in the perl version, but it's not yet in the QT version) I just looked more carefully, and it's already implemented and can be enabled/disabled by clicking on Merge jobs. Aha, indeed, thanks :) I was puzzled about the individual jobs still being in the list. If you have ideas/patches about the window layout, tooltips, organization, feel free to comment. It looks reasonable to me, simpler than the File Version Browser. Some suggestions then :) If Merge Jobs is checked, the jobs' list seems quite irrelevant, because then all files from all jobs are shown, no matter which individual job is selected from the list. So I think it would make more sense to then group the jobs in the list as jobs' names and then show only that job, which is selected. And then add one selection for showing all jobs. As for UI, I think that in the name of more consistent UI, separating refresh actions from selections would be a good idea, ie. a user has to first make his selection, maybe correct it etc. and then hit Refresh or smth. In most places (and other apps, which is important point too) it's that way, but in there, it's not. And sorting everywhere could also be a nice feature (eg. currently the list of files seems quite randomly ordered) :) Why are encrypted files' size shown as 0B? Does any of the points above make sense? :) -- Silver -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users