On Sunday 20 August 2006 20:48, Mike wrote: > On Sat, 19 Aug 2006, Kern Sibbald might have said: > > > On Saturday 19 August 2006 18:09, Jo Rhett wrote: > > > ----- Forwarded message from Bacula <[EMAIL PROTECTED]> ----- > > > ...(clipped)... > > > Storage: "Disk_localnet" > > > Scheduled time: 18-Aug-2006 23:21:46 > > > Start time: 18-Aug-2006 23:21:57 > > > End time: 19-Aug-2006 05:33:18 > > > Priority: 10 > > > FD Files Written: 315,575 > > > SD Files Written: 315,575 > > > FD Bytes Written: 357,928,460,316 > > > SD Bytes Written: 182,535,116,638 > > > ...(clipped)... > > > > > > 182gb instead of 357gb. The only change I made was to enable sparse file > > > support so this is likely, but I wanted to confirm. > > > > > > The FD bytes being large is also why Estimate shows the wrong answer when > > > sparse file support is enabled? > > > > Because it is an "estimate" as the name implies. It takes the size of the > > file as recorded in the stat packet and doesn't read the whole file and apply > > the sparse algorithm. > > When using the command either 'status dir' or 'status storage=DEVICE' could > one of these commands output a percentage complete or a percentage remaining > based on the backup job examining the files and sizes of files to be backed > up so that either looking at the command or as a monitoring system (nagios > plugin) the monitor could report 'bacula backup in progress, 79% remaining'?
I'm not too much in favor of such features because they are very compute intensive and do not really furnish a lot of information. To know what percent remains, you need to first make a pass over the data, and as Jo points out, if you want to know with some certainty, you must read all the files (or implement some rather grotesque system dependent code), which with the current situation means two full read passes over the data -- not something I would do on my systems. I don't exclude having this as a feature sometime, but I am not likely to be the one to implement it. > > Mike > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users