Re: [Bacula-users] Maximum concurrency [SOLVED]

2010-08-24 Thread Proskurin Kirill
On 24/08/10 01:35, Phil Stracchino wrote:
 Allow Mixed Priority

Thanks for great answer!

-- 
Best regards,
Proskurin Kirill

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Maximum concurrency

2010-08-23 Thread Proskurin Kirill
Hello.

What we have:
FreeBSD-8.0
Bacula-5.0.2

Backup on HDD. Every Job have they own pool and own storage.

Most confusing thing in bacula after retention policy is a concurrency. 
What I need to do to make jobs not wait for previous to end? Priority is 
now work here.



-- 
Best regards,
Proskurin Kirill

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Maximum concurrency

2010-08-23 Thread Proskurin Kirill
23.08.2010 20:05, Phil Stracchino пишет:
 On 08/23/10 07:05, Proskurin Kirill wrote:
 Hello.

 What we have:
 FreeBSD-8.0
 Bacula-5.0.2

 Backup on HDD. Every Job have they own pool and own storage.

 Most confusing thing in bacula after retention policy is a concurrency.
 What I need to do to make jobs not wait for previous to end? Priority is
 now work here.

 I'm sorry, your question is unclear.  When you say make jobs not wait
 for previous to end, what exactly do you mean?  Do you mean that only
 one job is running at a time?

Sorry for that.

Real example:
1) 4 jobs start in one time with priority 10 - all them work at once 
concurent - all ok.
2) Then start jobs with priority 11 and it is take long time to end.
3) In the middle of that job started another job with priority 10 and 
this job is wait previous to end.

And this is a problem. This jobs have separate pools in separate storage 
- I want then to work in concurrency.

-- 
Best regards,
Proskurin Kirill

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] About pool retention

2010-08-10 Thread Proskurin Kirill
Hello all.

Bacula-5.0.2

I have such pool definition:

Pool {
   Name = host.domain.org
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 7 days
   UseVolumeOnce = yes
   Maximum Volumes = 7
   Label Format = host.domain.org-
}

But now I have 7 volumes in status Used and new backup is saying what:
Cannot find any appendable volumes.
Please use the label command to create a new Volume

Why it is not recycle Used volume? There is my mistake?


-- 
Best regards,
Proskurin Kirill

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] About pool retention

2010-08-10 Thread Proskurin Kirill
On 10/08/10 14:33, Thomas Mueller wrote:

 did you change the pool definition after the volumes were created? if so,
 you need to use upate volume in the bacula console.

 If you do everyday a backup you need to change the Volume Retention to
 something lower than 7 days because the retention is counted from the
 last written date.

Can you be more detail here? I need to make it less then 7 to make it 
recycle?

Im little confused about all Bacula retention policy...

 Use Volume Once deprecated, use Maximum Volume Jobs = 1 instead. I
 myself would rather user Volume Use Duration.

Thanks - fixed.


-- 
Best regards,
Proskurin Kirill

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bscan and wrong mysql password

2010-07-20 Thread Proskurin Kirill
Hello.

What we have:
FreeBSD-8.0
bacula-client-3.0.3
bacula-server-3.0.3
ysql-client-5.1.44
mysql-server-5.1.44

I try to restore catalog records from volume and do:

bscan -p hidden -v -r -c /usr/local/etc/bacula-sd.conf 
/backup/production/server.domain.org/server.domain.org-full-0093

bscan: butil.c:282 Using device: /backup/production/server.domain.org 
for reading.
20-Jul 09:11 bscan JobId 0: Ready to read from volume 
server.domain.org-full-0093 on device server.domain.org 
(/backup/production/server.domain.org).
20-Jul 09:12 bscan: ERROR TERMINATION at bscan.c:305
mysql.c:195 Unable to connect to MySQL server.
Database=bacula User=root
MySQL connect failed either server not running or your authorization is 
incorrect.

But it is not true:

mysql -ubacula -phidden bacula
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 88184
Server version: 5.1.44 FreeBSD port: mysql-server-5.1.44

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.

mysql Ctrl-C -- exit!

So - why bscan failed authorization? Whats wrong?

P.S. I try to set -h localhost and I try to use root mysql auth - not helps.

-- 
Best regards,
Proskurin Kirill

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bscan and wrong mysql password

2010-07-20 Thread Proskurin Kirill
On 20/07/10 14:48, Dan Langille wrote:

 mysql.c:195 Unable to connect to MySQL server.
 Database=bacula User=root

 That is user root

 MySQL connect failed either server not running or your authorization is
 incorrect.

 But it is not true:

 mysql -ubacula -phidden bacula

 This is user bacula

It is a misstype, sorry.
Of course I use user bacula, db bacula, right pass and -h localhost.
But it is still get auth failed.

I check it really many times - I can successfully auth via mysql but 
can`t via bscan.

-- 
Best regards,
Proskurin Kirill

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bscan and wrong mysql password

2010-07-20 Thread Proskurin Kirill
On 20/07/10 14:59, Proskurin Kirill wrote:
 On 20/07/10 14:48, Dan Langille wrote:

 mysql.c:195 Unable to connect to MySQL server.
 Database=bacula User=root

 That is user root

 MySQL connect failed either server not running or your authorization is
 incorrect.

 But it is not true:

 mysql -ubacula -phidden bacula

 This is user bacula

 It is a misstype, sorry.
 Of course I use user bacula, db bacula, right pass and -h localhost.
 But it is still get auth failed.

 I check it really many times - I can successfully auth via mysql but
 can`t via bscan.


Here all this again:

apollo# bscan -ubacula -phidden -h localhost -v -r -c 
/usr/local/etc/bacula-sd.conf 
/backup/production/server.domain.org/server.domain-full-0093
bscan: butil.c:282 Using device: /backup/production/server.domain.org 
for reading.
20-Jul 11:02 bscan JobId 0: Ready to read from volume 
server.domain-full-0093 on device server.domain.org 
(/backup/production/server.domain.org).
20-Jul 11:02 bscan: ERROR TERMINATION at bscan.c:305
mysql.c:195 Unable to connect to MySQL server.
Database=bacula User=bacula
MySQL connect failed either server not running or your authorization is 
incorrect.


apollo# mysql -ubacula -phidden -h localhost bacula
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 88794
Server version: 5.1.44 FreeBSD port: mysql-server-5.1.44

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.

mysql quit
Bye

-- 
Best regards,
Proskurin Kirill

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bscan and wrong mysql password

2010-07-20 Thread Proskurin Kirill
On 20/07/10 15:13, Dan Langille wrote:
 On 7/20/2010 7:05 AM, Proskurin Kirill wrote:
 On 20/07/10 14:59, Proskurin Kirill wrote:
 On 20/07/10 14:48, Dan Langille wrote:

 mysql.c:195 Unable to connect to MySQL server.
 Database=bacula User=root

 That is user root

 MySQL connect failed either server not running or your
 authorization is
 incorrect.

 But it is not true:

 mysql -ubacula -phidden bacula

 This is user bacula

 It is a misstype, sorry.
 Of course I use user bacula, db bacula, right pass and -h localhost.
 But it is still get auth failed.

 I check it really many times - I can successfully auth via mysql but
 can`t via bscan.


 Here all this again:

 apollo# bscan -ubacula -phidden -h localhost -v -r -c

 I think you want -P, not -p.

Wow - it works! Thank you!
In man page it is:

-p password
   Specify database password (default: none)

And nothing about a -P


-- 
Best regards,
Proskurin Kirill

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula cannot write on disk Volume... because: The sizes do not match!

2010-05-26 Thread Proskurin Kirill
Hello all!

What we have:
FreeBSD-8.0-p2 amd64
Bacula-3.0.3
MySQL-5.1.44

I have a working bacula setup for an 4-5 month without any problems.

Today I notice an error:

26-May 06:46 hide.domain.org-sd JobId 1645: Volume 
hide.domain.org-0074 previously written, moving to end of data.
26-May 06:46 hide.domain.org-sd JobId 1645: Error: Bacula cannot write 
on disk Volume hide.domain.org-0074 because: The sizes do not match! 
Volume=17941393742 Catalog=17799660878
26-May 06:46 hide.domain.org-sd JobId 1645: Marking Volume 
hide.domain.org-0074 in Error in Catalog.

It is first time appeared in my setup. I google for it but not got clear 
answer - that cause it and that need to do to solve it.

Can someone help?

-- 
Best regards,
Proskurin Kirill

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula monthly keyword bug?

2010-04-05 Thread Proskurin Kirill
Someone?...

On 04/02/2010 10:17 AM, Proskurin Kirill wrote:
 Hello.

 I use bacula 3.0.3 at FreeBSD-8.0-x64

 Yesterday I set monthly backups to my job:

 Run = Level=Full Pool=mypool-full monthly

 But I get an indecent this night - bacula start to do this monthly
 backup one by one. I mean it start to do this backup, done it and...
 start again and again and again.

 What wrong with it? Or what I do wrong?



-- 
Best regards,
Proskurin Kirill

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula monthly keyword bug?

2010-04-02 Thread Proskurin Kirill
Hello.

I use bacula 3.0.3 at FreeBSD-8.0-x64

Yesterday I set monthly backups to my job:

Run = Level=Full Pool=mypool-full monthly

But I get an indecent this night - bacula start to do this monthly 
backup one by one. I mean it start to do this backup, done it and... 
start again and again and again.

What wrong with it? Or what I do wrong?

-- 
Best regards,
Proskurin Kirill

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Auto restore job

2009-10-13 Thread Proskurin Kirill
Hello.

I check documentation and found what:

Restore jobs cannot be automatically started by the scheduler as is the 
case for Backup, Verify and Admin jobs. To restore files, you must use 
the restore command in the console.

Oh... It is really no way to make this?
I need to auto restore many backups every day.

-- 
Best regards,
Proskurin Kirill

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Auto recycle volume

2009-09-25 Thread Proskurin Kirill
Hello all.

Im confused about recycle options in Bacula 2.4.4.
I have such options on some pools:

Recycle = yes
AutoPrune = yes
Volume Retention = 30 days
Maximum Volumes = 3
Maximum Volume Bytes = 10G

As I understand - volume what older than 30 day will be recycled if it 
FULL. BUT - how can I set to recycle volume if all volumes are FULL?

For example I fill all 3 volumes with 10G each by 20 days.
How to make auto recycle of latest volume?

-- 
Best regards,
Proskurin Kirill

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Client File Job Retention and Volume Retention

2008-12-10 Thread Proskurin Kirill
Hello all.

I trying to understand some things about bacula.
I use bacula-2.4.3

I what to make this:

Keep 30 day of backup I pool1, In 31 day - delete day 1 and write day 31 
- so only keep backup for a 30 days.

Keep 1 month backup in pool2, At 13 month - delete 1 month and write 13 
- so only keep backup for a 12 months.

I try to make this - but I totaly confused by a Client File  Job 
Retention and Pool Volume Retention.

How I must set it for my tasks?

-- 
Best regards,
Proskurin Kirill

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Large maildir backup

2008-11-27 Thread Proskurin Kirill
Hello all!

Soon I will deploy a large email server - it will use maildirs and will 
be about 1Tb of mail with really many small files.

It is any hints to make a backup via bacula of this?


-- 
Best regards,
Proskurin Kirill

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users