Re: [Bacula-users] VirtualFull Jobs

2014-05-02 Thread Egoitz Aurrekoetxea
Anyone who knows this please?

El 30/04/2014, a las 12:45, Egoitz Aurrekoetxea ego...@ramattack.net escribió:

 Good morning,
 
 I’m at this moment doing real full jobs of my servers. I have some slowness 
 (in backup) with some servers due to it’s activity. I have tested virtual 
 full jobs
 and work like a charm :) but I have one problem; normally I schedule a real 
 full job and I’m done…  as virtual full jobs have to be done in another pool, 
 later 
 migrated and later a new incremental job should be done (for replacing a 
 normal full)  how could I manage for automating this tasks, without starting 
 one
 before the other one and… basically for automating all this tasks involving a 
 virtual full job but having in mind that this automation has to be in a 
 proper order, if
 one job fails should not continue with the other “sub jobs” let’s say of the 
 virtual full job?… how do you manage for this tasks?
 
 Best regards,
 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
 unparalleled scalability from the best Selenium testing platform available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Duplicate backup of file created by an RunScript

2014-05-02 Thread Geert De Pecker
Hi,

For some systems, we need to run backup script that are specific to the 
application. These scripts will make eg a dump file to
a backup directory. This dump file should be in the bacula backup.

So far so good and the file is indeed nicely on the backup. However, in 
some cases, also the dumpfile of the day before is backed up by
bacula. Eg:

bacula bls $(pwd)/doggie.INC_20140501_1900_2280
bls JobId 2280: -rw-r- 1 root root 3335137280 2014-05-01 19:01:26 
/data/backup/20140501-190126-078.tar
bacula bls $(pwd)/doggie.INC_20140430_1900_2270
bls JobId 2270: -rw-r- 1 root root 3332945920 2014-04-30 19:01:22 
/data/backup/20140430-190122-991.tar
bls JobId 2270: -rw-r- 1 root root 3330344960 2014-04-29 19:01:22 
/data/backup/20140429-190122-445.tar --
bacula bls $(pwd)/doggie.INC_20140429_1900_2260
bls JobId 2260: -rw-r- 1 root root 3328706560 2014-04-28 19:01:27 
/data/backup/20140428-190127-260.tar 
bls JobId 2260: -rw-r- 1 root root 3330344960 2014-04-29 19:01:22 
/data/backup/20140429-190122-445.tar --
bacula bls $(pwd)/doggie.INC_20140428_1900_2250
bls JobId 2250: -rw-r- 1 root root 3328706560 2014-04-28 19:01:27 
/data/backup/20140428-190127-260.tar 
bls JobId 2250: -rw-r- 1 root root 3327559680 2014-04-27 19:01:26 
/data/backup/20140427-190126-249.tar

Reading on the priciple used to determine if a file is new or not: when 
making an incremental, mtime is checked against the time of the START
of the previous inremental. This explains this behaviour.

I can remedy this by not using the RunScript for stuff like this, but 
putting them in a crontab. It is however nice to have this in bacula ...

Is there some way to tell bacula that not the START of the job, but the 
timestamp AFTER the finished RunScript should be taken?

Or should I use the Accurate option?

Thanks,
Geert
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How much is that index in the window? PostgreSQL

2014-05-02 Thread Dan Langille
This post is about indexes which have low usage. I am not proposing 
change.

After reading this post:

   
http://www.databasesoup.com/2014/05/new-finding-unused-indexes-query.html

I decided to try it on my Bacula server, and I've put the results here:

   https://gist.github.com/dlangille/cbd6ee13bab80399aaf7

In short, these indexes are never used:

tablename | indexname
jobhisto  | jobhisto_idx
fileset   | fileset_name_idx
pathhierarchy | pathhierarchy_ppathid

These indexes are rarely read, but I suspect they are very useful for 
restores:

file  | file_jpfid_idx
file  | file_pathid_idx
file  | file_filenameid_idx
job   | job_name_idx
media | media_idx

-- 
Dan Langille - http://langille.org/

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users