Re: [Bacula-users] Job Type Copy

2013-01-09 Thread Olivier L.
thanks a lot for your answer :)

I missed the part of the documentation that explain type change of the 
copy job: "the moment the primary backup expires the copy gets upgraded 
to a normal Backup Job and its available for restore."

that's all I needed, thank you.

Le 08/01/2013 17:44, Marco van Wieringen a écrit :
> Olivier L.  luckol.net> writes:
>> thanks for your answer
>>
>> I saw this when the copy jobs are running and it's OK for me.
>> But my explanation is that i have after the end of the copy on the tape.
>>
>> My problem is that "BAT" dosen't see job type "copy job" for a restore.
>>
> Correct I think you should read-up on how copy jobs work. That you cannot
> restore from the copy job is how things are designed and why it is a different
> type of Job in the catalog. A copy is a copy in all senses that you can only
> restore from the primary backup not from a copy. But the moment the primary
> backup expires the copy gets upgraded to a normal Backup Job and its available
> for restore. If you have a Disk2Disk2Tape backup scheme for which copy Jobs
> were primary designed this also makes sense. You backup to disk and as long
> as that primary backup is available you want to use that as the copy on tape
> is always slower to restore. But the moment your disk copy expires and if you
> configured your config right the tape (Copy)Job should still not have expired
> and it gets upgraded to a normal Backup Job and from then on you can restore
> from that Job. Same is true when you do have multiple copies each time the 
> parent
> of the copy expires the child gets upgraded.
>
> Being able to restore from a copy is not implemented as far as I know and is
> a feature that might come eventually.
>
> Marco
>
>
>
> --
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job Type Copy

2013-01-08 Thread Olivier L.
thanks for your answer

I saw this when the copy jobs are running and it's OK for me.
But my explanation is that i have after the end of the copy on the tape.

My problem is that "BAT" dosen't see job type "copy job" for a restore.

Le 08/01/2013 12:49, Uwe Schuerkamp a écrit :
> On Tue, Jan 08, 2013 at 11:30:28AM +0100, Olivier L. wrote:
>> Hi all,
>>
>> When i use a job of type "Copy"to put my file backup on a tape. Some
>> jobs are marked as "type = Backup" and other are marked as "Type = Job
>> Copy".
>>
>> Do you know why types differ ?
>>
>> For my use i prefer "type = Backup", how can i do to force bacula to put
>> "type = Backup" on all of my copied jobs ?
>>
>> Olivier :)
>>
> If you run a single copy job, you'll find that bacula actually runs 2
> jobs in parallel: The read job which is usually marked as "incremental
> / backup" and the copy job which is marked as "full / copy". I have no
> idea why it's done this way, but OTOH I also don't see why I should
> worry about it ;)
>
> All the best, Uwe
>


--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job Type Copy

2013-01-08 Thread Olivier L.
Hi all,

When i use a job of type "Copy"to put my file backup on a tape. Some 
jobs are marked as "type = Backup" and other are marked as "Type = Job 
Copy".

Do you know why types differ ?

For my use i prefer "type = Backup", how can i do to force bacula to put 
"type = Backup" on all of my copied jobs ?

Olivier :)

--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Numbers of copied jobs with PoolUncopiedJobs

2012-11-26 Thread Olivier L.

Le 25/11/2012 11:31, Marco van Wieringen a écrit :
> Olivier L.  luckol.net> writes:
>>
>>  Hi all,when I
>>  use the directive PoolUncopiedJobs, bacula copy only 99
>>jobs. Is there a limitation on the
>>number of jobs
>>that can be copied
>>by this directive.When I use the
>>  following SQL query directly on PostgresSQL, result list
>>it's over 1000 jobs.SELECT DISTINCTJob.JobId,
>>Job.Name,
>>Job.level,
>>Job.jobstatus,
>>Job.StartTime,
>>Job.EndTime,
>>Job.jobfiles,
>>Job.jobbytesFROM Job, PoolWHERE Pool.Name =
>>'% 1'   AND Pool.PoolId = Job.PoolId   AND Job.Type =
>>'B'   Job.JobStatus AND IN
>>('T', 'W')   AND Job.jobBytes> 0   Job.JobId AND NOT
>>IN (SELECT FROM Job
>>WHERE type PriorJobId
>>IN('B', 'C')
>>AND Job.JobStatus
>>IN ('T',
>>'W')   AND PriorJobId! = 0)ORDER by Job.StartTime;
>>  Any idea why it's only 99 jobs on my tape ?
> See dird migrate.c line 673. Per run of PoolUncopiedJobs it will only
> run 100 jobs at a time to make sure it doesn't blow upo the dird. So if
> you have a lot of jobs to copy you just need to run the copy job a couple
> of times. It will run 100 jobs each time so for 1000 jobs that is at least
> 10 runs. I guess this is your first copy run or do you run more then 1000 
> jobs a
> night ?
>
> You can increase the limit in the code and recompile the director but the
> limit is there for a reason e.g. not to blow up the director and as the
> work around is kind of obvious e.g. run the copy multiple times as it will
> only copy a job once.
>
> Marco
thank you for your answer.

I have more than 500 jobs per full backup.
I need to keep a copy of my backup on the server and one other in a 
safe. To do that i make a full backup and i copy it on the tape.

Olivier

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Numbers of copied jobs with PoolUncopiedJobs

2012-11-23 Thread Olivier L.

Hi all,

when I use the directive PoolUncopiedJobs, bacula copy only 99 jobs. Is 
there a limitation on the number of jobs that can be copied by 
thisdirective.


When I use the following SQL query directly on PostgresSQL, resultlist 
it's over 1000 jobs.

*SELECT DISTINCT**
**Job.JobId**,Job.Name**,Job.level**,Job.jobstatus**,Job.StartTime**,Job.EndTime**,Job.jobfiles**,Job.jobbytes**
**
**FROMJob,Pool**
**WHEREPool.Name='% 1'**
ANDPool.PoolId=Job.PoolId**
ANDJob.Type= 'B'**
Job.JobStatusANDIN ('**T', '**W')**
ANDJob.jobBytes**> 0**
Job.JobIdANDNOT IN 
(**SELECTFROMJobWHEREtypePriorJobIdIN**

**('B'**, 'C'**) ANDJob.JobStatusIN ('**T', '**W')**
ANDPriorJobId**!= 0)**
**ORDER byJob.StartTime**;*

Any idea why it's only 99 jobs on my tape ?

Olivier :)
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] how to use Maximum Bandwidth ?

2012-06-18 Thread Olivier L.

Hi all,

All is in title, how to use "Maximum Bandwidth" or "Maximum Bandwidth 
per Job" with bacula 5.2.3 or 5.2.6 ?


I try to use it like it's indicated in the documentation but this 
parameter doesn't work.


anybody have an idea ?




smime.p7s
Description: Signature cryptographique S/MIME
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.2.3 & 5.2.6 : Maximum Bandwidth

2012-06-11 Thread Olivier L.

Hi all,

When i try to use "Maximum Bandwidth" (in job resource) or "Maximum 
Bandwidth Per Job" (in client resource), i have an error like this from 
director :
- 11-juin 11:13 Bacula-Dir: ERROR in parse_conf.c:991 Config error: 
Keyword "MaximumBandwidth" not permitted in this resource. Perhaps you 
left the trailing brace off of the previous resource. : line 46, col 20 
of file /etc/bacula/conf.d/db1.conf Maximum Bandwidth = 50Mb/s
- 11-juin 11:13 Bacula-Dir JobId 0: Error: Please correct configuration 
file: /opt/bacula/etc/bacula-dir.conf


My configuration (for a job) :
Job {
  Name = "db1 Oracle"
  Client = db1-fd
  JobDefs = "OracleJob"
  FileSet = "db1-oracle"
  RunScript {
 RunsWhen = Before
 RunsOnClient = Yes
 FailJobOnError = Yes
 Command = "su - oracle -c '/opt/bacula/scripts/checkbackup.sh db1'"
  }
  Maximum Bandwidth = 50Mb/s
  Write Bootstrap = "/opt/bacula/working/db1-oracle.bsr"
}

Do you have any idea why bacula dosen't take this option ?

Olivier L.



smime.p7s
Description: Signature cryptographique S/MIME
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Transfert a Volume to another storage daemon ?

2012-03-06 Thread Olivier L.

Le 05/03/2012 15:25, Silver Salonen a écrit :

On Monday 05 March 2012 14:53:55 Olivier L. wrote:

Hi all,

I have two storage daemon with file device on each.

I know that i can't use a copy job to transfer a Volume between my two
storage daemon, but i need to transfert all my volumes on my second
storage.

Do you have any solution to my problem ?

Thanks

Olivier L.

Doesn't it suffice to just copy them over (by eg. rsync)?

Or why do you have to do it at all? I've found that when it comes to purging 
and re-using the volume files, it's enough for the files to just exist (ie. 
doesn't matter whether they actually contain any data).

--
Silver

I need to do it because my primary storage daemon (dayly backup on a 
file storage) and my secondary storage daemon (with Tape for archives) 
are not on the same site.




smime.p7s
Description: Signature cryptographique S/MIME
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Transfert a Volume to another storage daemon ?

2012-03-05 Thread Olivier L.

Hi all,

I have two storage daemon with file device on each.

I know that i can't use a copy job to transfer a Volume between my two 
storage daemon, but i need to transfert all my volumes on my second 
storage.


Do you have any solution to my problem ?

Thanks

Olivier L.







smime.p7s
Description: Signature cryptographique S/MIME
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users