Re: [Bacula-users] a simple question.

2013-09-19 Thread Martin Simmons
 On Wed, 18 Sep 2013 22:57:32 +0200, Mauro Sanna said:
 
 On 17 September 2013 19:46, Martin Simmons mar...@lispworks.com wrote:
 
   On Tue, 17 Sep 2013 16:43:02 +0200, Mauro Sanna said:
  
   I've configured a conuter resource, seems to work but the daemon send me
   this error:
  
   17-Sep 12:26 bacula-dir JobId 0: Fatal error: sql_create.c:664
   sql_create.c:664 insert INSERT INTO Counters
   (Counter,Counters.MinValue,Counters.MaxValue,CurrentValue,WrapCounter)
   VALUES ('DayCounter','1','8','1','') failed:
   ERROR:  column counters of relation counters does not exist
   LINE 1: INSERT INTO Counters (Counter,Counters.MinValue,Counters.Max...
 
  Upgrading to 5.2.11 might fit it (see
  http://bugs.bacula.org/view.php?id=1859).
 
 
 I need an account to see the bugs.
 I've created one a week ago but still I've not received the confirmation
 mail.
 Is the site working?

My account is working.

You can view bugs with username anonymous and password anonymous.

__Martin

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-18 Thread Mauro Sanna
On 17 September 2013 19:46, Martin Simmons mar...@lispworks.com wrote:

  On Tue, 17 Sep 2013 16:43:02 +0200, Mauro Sanna said:
 
  I've configured a conuter resource, seems to work but the daemon send me
  this error:
 
  17-Sep 12:26 bacula-dir JobId 0: Fatal error: sql_create.c:664
  sql_create.c:664 insert INSERT INTO Counters
  (Counter,Counters.MinValue,Counters.MaxValue,CurrentValue,WrapCounter)
  VALUES ('DayCounter','1','8','1','') failed:
  ERROR:  column counters of relation counters does not exist
  LINE 1: INSERT INTO Counters (Counter,Counters.MinValue,Counters.Max...

 Upgrading to 5.2.11 might fit it (see
 http://bugs.bacula.org/view.php?id=1859).


I need an account to see the bugs.
I've created one a week ago but still I've not received the confirmation
mail.
Is the site working?
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-18 Thread John Drescher

 I need an account to see the bugs.
 I've created one a week ago but still I've not received the confirmation
 mail.
 Is the site working?


I can login using my account. Although I did not try to make a new account.

John
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-17 Thread Mauro Sanna
On 16 September 2013 15:52, Radosław Korzeniewski rados...@korzeniewski.net
 wrote:

 Hello,

 2013/9/16 Uwe Schuerkamp uwe.schuerk...@nionex.net

 On Sat, Sep 14, 2013 at 02:35:20PM +0200, Mauro Sanna wrote:
 snip snip
 
  I stopped bacula-fd and delete .state files on all clients.
  When I run backups the monthly label start at 01, it is Monthly-01,
 while
  Daily starts at 02, Daily-02.
  My question is: why Daily starts at 02 and not 01 even if I delete all
  .state files in all clients?
  Thank you.


 I think bacula uses a single counter for all auto-labelled volumes.


 No. You can configure a Counter Resource, i.e.
 http://wiki.bacula.org/doku.php?id=bacula_manual:the_counter_resource


I've configured a conuter resource, seems to work but the daemon send me
this error:

17-Sep 12:26 bacula-dir JobId 0: Fatal error: sql_create.c:664
sql_create.c:664 insert INSERT INTO Counters
(Counter,Counters.MinValue,Counters.MaxValue,CurrentValue,WrapCounter)
VALUES ('DayCounter','1','8','1','') failed:
ERROR:  column counters of relation counters does not exist
LINE 1: INSERT INTO Counters (Counter,Counters.MinValue,Counters.Max...
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-17 Thread Martin Simmons
 On Tue, 17 Sep 2013 16:43:02 +0200, Mauro Sanna said:
 
 I've configured a conuter resource, seems to work but the daemon send me
 this error:
 
 17-Sep 12:26 bacula-dir JobId 0: Fatal error: sql_create.c:664
 sql_create.c:664 insert INSERT INTO Counters
 (Counter,Counters.MinValue,Counters.MaxValue,CurrentValue,WrapCounter)
 VALUES ('DayCounter','1','8','1','') failed:
 ERROR:  column counters of relation counters does not exist
 LINE 1: INSERT INTO Counters (Counter,Counters.MinValue,Counters.Max...

Upgrading to 5.2.11 might fit it (see http://bugs.bacula.org/view.php?id=1859).

__Martin

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-17 Thread Mauro Sanna
I'm using bacula for debian wheezy, it's 5.2.6.
Then bacula debian maintainer has packaged a buggy version.
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-17 Thread Radosław Korzeniewski
Hello,

2013/9/17 Mauro Sanna mrsan...@gmail.com


 I've configured a conuter resource, seems to work but the daemon send me
 this error:

 17-Sep 12:26 bacula-dir JobId 0: Fatal error: sql_create.c:664 
 sql_create.c:664 insert INSERT INTO Counters 
 (Counter,Counters.MinValue,Counters.MaxValue,CurrentValue,WrapCounter) VALUES 
 ('DayCounter','1','8','1','') failed:
 ERROR:  column counters of relation counters does not exist
 LINE 1: INSERT INTO Counters (Counter,Counters.MinValue,Counters.Max...

 IMVHO, it could be a bug.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-16 Thread Uwe Schuerkamp
On Sat, Sep 14, 2013 at 02:35:20PM +0200, Mauro Sanna wrote:
snip snip
 
 I stopped bacula-fd and delete .state files on all clients.
 When I run backups the monthly label start at 01, it is Monthly-01, while
 Daily starts at 02, Daily-02.
 My question is: why Daily starts at 02 and not 01 even if I delete all
 .state files in all clients?
 Thank you.


I think bacula uses a single counter for all auto-labelled volumes. If
you want to create a certain sequence, I guess you'd have to label the
volumes manually. 

Uwe 

-- 
NIONEX --- Ein Unternehmen der Bertelsmann SE  Co. KGaA



--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-16 Thread Radosław Korzeniewski
Hello,

2013/9/16 Uwe Schuerkamp uwe.schuerk...@nionex.net

 On Sat, Sep 14, 2013 at 02:35:20PM +0200, Mauro Sanna wrote:
 snip snip
 
  I stopped bacula-fd and delete .state files on all clients.
  When I run backups the monthly label start at 01, it is Monthly-01, while
  Daily starts at 02, Daily-02.
  My question is: why Daily starts at 02 and not 01 even if I delete all
  .state files in all clients?
  Thank you.


 I think bacula uses a single counter for all auto-labelled volumes.


No. You can configure a Counter Resource, i.e.
http://wiki.bacula.org/doku.php?id=bacula_manual:the_counter_resource

If
 you want to create a certain sequence, I guess you'd have to label the
 volumes manually.


No, as above.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] a simple question.

2013-09-14 Thread Mauro Sanna
I've these 3 pools configured in bacula-dir.conf.

Pool {
  Name = Monthly
  Pool Type = Backup
  Storage = File
  Use Volume Once = no
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes
  Maximum Volume Bytes = 100G
  Maximum Volumes = 4
  Volume Retention = 90 days
  Action On Purge = Truncate
  Recycle Oldest Volume = yes
  Purge Oldest Volume = yes
  Label Format = Monthly-
}

Pool {
  Name = Weekly
  Pool Type = Backup
  Storage = File
  Use Volume Once = no
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes
  Maximum Volume Bytes = 50G
  Maximum Volumes = 5
  Volume Retention =  30d
  Action On Purge = Truncate
  Recycle Oldest Volume = yes
  Purge Oldest Volume = yes
  Label Format = Weekly-
}

Pool {
  Name = Daily
  Pool Type = Backup
  Storage = Filet
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes
  Maximum Volume Bytes = 20G
  Maximum Volumes = 8
  Volume Retention = 7d
  Action On Purge = Truncate
  Recycle Oldest Volume = yes
  Purge Oldest Volume = yes
  Label Format = Daily-
}

I stopped bacula-fd and delete .state files on all clients.
When I run backups the monthly label start at 01, it is Monthly-01, while
Daily starts at 02, Daily-02.
My question is: why Daily starts at 02 and not 01 even if I delete all
.state files in all clients?
Thank you.
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] a simple question.

2013-09-14 Thread John Drescher
On Sat, Sep 14, 2013 at 8:35 AM, Mauro Sanna mrsan...@gmail.com wrote:

 I've these 3 pools configured in bacula-dir.conf.

 Pool {
   Name = Monthly
   Pool Type = Backup
   Storage = File
   Use Volume Once = no
   Recycle = yes   # Bacula can automatically recycle
 Volumes
   AutoPrune = yes
   Maximum Volume Bytes = 100G
   Maximum Volumes = 4
   Volume Retention = 90 days
   Action On Purge = Truncate
   Recycle Oldest Volume = yes
   Purge Oldest Volume = yes
   Label Format = Monthly-
 }

 Pool {
   Name = Weekly
   Pool Type = Backup
   Storage = File
   Use Volume Once = no
   Recycle = yes   # Bacula can automatically recycle
 Volumes
   AutoPrune = yes
   Maximum Volume Bytes = 50G
   Maximum Volumes = 5
   Volume Retention =  30d
   Action On Purge = Truncate
   Recycle Oldest Volume = yes
   Purge Oldest Volume = yes
   Label Format = Weekly-
 }

 Pool {
   Name = Daily
   Pool Type = Backup
   Storage = Filet
   Recycle = yes   # Bacula can automatically recycle
 Volumes
   AutoPrune = yes
   Maximum Volume Bytes = 20G
   Maximum Volumes = 8
   Volume Retention = 7d
   Action On Purge = Truncate
   Recycle Oldest Volume = yes
   Purge Oldest Volume = yes
   Label Format = Daily-
 }

 I stopped bacula-fd and delete .state files on all clients.
 When I run backups the monthly label start at 01, it is Monthly-01, while
 Daily starts at 02, Daily-02.
 My question is: why Daily starts at 02 and not 01 even if I delete all
 .state files in all clients?
 Thank you.


The state files do not control this at all. Automatic numbering is done
with the director and database and it has nothing to do with the client.

John
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users