Re: [Bacula-users] Filesize in database

2007-11-28 Thread jay
Hope this proves useful to someone on the list. This short python script will decode some of the values in the File.LStat field, or at least the ones I needed when I wrote this. Script was written to work with MySQL, but could easily be changed to query PostgreSQL or whatever else you want. Would

Re: [Bacula-users] Filesize in database

2007-11-27 Thread jay
Hmm, this appears to be a Postgres stored procedure. Anyone have a way to get this within MySQL or a Python script? On Nov 27, 2007 3:51 PM, jay <[EMAIL PROTECTED]> wrote: > Hmm, this appears to be a Postgres stored procedure. Anyone have a way to > get this within MySQL or a Python script? > >

Re: [Bacula-users] Filesize in database

2007-11-27 Thread jay
Thanks Ralf, this looks like what I need. Although I'm not exactly sure how to use a stored procedure in Mysql 4.1, I will give it a try. J On Nov 27, 2007 2:39 PM, Ralf Gross <[EMAIL PROTECTED]> wrote: > jay schrieb: > > Does Bacula store the filesize of each file backed up in the database? >

Re: [Bacula-users] Filesize in database

2007-11-27 Thread Ralf Gross
jay schrieb: > Does Bacula store the filesize of each file backed up in the database? I > can't seem to find where and I'm curious how it derives the calculation for > a restore estimate. I think it's the lstat field in the file table. http://marc.info/?l=bacula-users&m=119312809020731&w=2 Ralf

[Bacula-users] Filesize in database

2007-11-27 Thread jay
Does Bacula store the filesize of each file backed up in the database? I can't seem to find where and I'm curious how it derives the calculation for a restore estimate. Thanks Jay - This SF.net email is sponsored by: Microso