Re: [Bacula-users] No Job status returned from FD. Backup fails

2017-09-05 Thread Kern Sibbald

  
  
Very likely the line timed out.  You can probably correct the
  problem by setting the HeartBeat Interval.  Note, you must set it
  in quite a few places.  I recommend not to use anything smaller
  than 600 (i.e. 5 minutes).
Best regards,
Kern


On 09/05/2017 03:51 PM, Matthias
  Koch-Schirrmeister wrote:


  Am 04.09.2017 um 14:05 schrieb Heitor Faria:


  
Please inform Director, Storage and File Daemon versions.

  
  
The versions are

Director: 7.4.2
SD: 7.4.2
both on OpenBSD 6.0

FD: 5.2.6 on Debian 7



Kern has already mentioned concerns about the versions, but I am running
a number of 5.* FDs on Linux and Windows and they are doing fine. In the
present case, the only difference is that the FD is on a remote site,
while all other FDs are on my local site.


Here's the job output. "fafnir" is the OpenBSD machine running both DIR
and SD, "atropos" is the remote client.



*list joblog jobid=1801
+---
   -+
| logtext

 |
+---
   -+
| fafnir JobId 1801: Start Backup JobId 1801,
Job=atropos_Standard.2017-09-03_18
 .05.00_41  |
| fafnir JobId 1801: Using Device "HESTIA-files" to write.

 |
| Standard-Device JobId 1801: Elapsed time=11:56:14, Transfer rate=590.4
K Bytes/second
 |
| Standard-Device JobId 1801: Sending spooled attrs to the Director.
Despooling 24,360,764
bytes ...   |
| fafnir JobId 1801: Fatal error: Network error with FD during Backup:
ERR=Connection reset by
peer|
| fafnir JobId 1801: Fatal error: No Job status returned from FD.

 |
| fafnir JobId 1801: Error: Bacula fafnir 7.4.2 (06Jun16):
  Build OS:   x86_64-unknown-openbsd6.0 openbsd 6.0
  JobId:  1801
  Job:atropos_Standard.2017-09-03_18.05.00_41
  Backup Level:   Full
  Client: "atropos" 5.2.6 (21Feb12)
x86_64-pc-linux-gnu,debian,7
   .0
  FileSet:"Unixoid" 2017-07-12 11:56:49
  Pool:   "Standard" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"Standard-Device" (From Job resource)
  Scheduled time: 03-Sep-2017 18:05:00
  Start time: 03-Sep-2017 18:05:01
  End time:   04-Sep-2017 17:45:28
  Elapsed time:   23 hours 40 mins 27 secs
  Priority:   10
  FD Files Written:   0
  SD Files Written:   72,403
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   25,372,392,225 (25.37 GB)
  Rate:   0.0 KB/s
  Software Compression:   None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): FVol-0036
  Volume Session Id:  354
  Volume Session Time:1501835794
  Last Volume Bytes:  38,090,322,392 (38.09 GB)
  Non-fatal FD errors:1
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  OK
  Termination:*** Backup Error *** |
+---
   -+
+---+--+-+--+---+--+
   --+---+
| jobid | name | starttime   | type | level |
jobfiles | jobbytes |
jobstatus |
+---+--+-+--+---+--+
   --+---+
| 1,801 | atropos_Standard | 2017-09-03 18:05:01 | B| F |
0 |0 | f |
+---+--+-+--+---+--+
   



Kind regards
Matthias


  
  
  
  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
  
  
  
  ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



  


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 

[Bacula-users] Fw: Aw: Re: Renamed and moved files are backed up again

2017-09-05 Thread Fabian Brod
I have tried it with the following configuration without success.
 
Job {
  Name = BaseData
  Type = Backup
  JobDefs = ChangerJob
  Level = Base
  FileSet = BaseFS
}
Job {
  Name = BackupClient1
  JobDefs = ChangerJob
  Base = BackupClient1, BaseData
  Accurate = yes
  Level = Full
  FileSet = FullFS
}
 
 
FileSet {
  Name = BaseFS
  Include {
Options {
BaseJob = s5
Accurate = s5
Verify = s5
Signature = MD5
}
File = /daten
  }
}
FileSet {
  Name = FullFS
  Include {
Options {
  Accurate = s5
  BaseJob = s5
  Verify = s5
  Signature = MD5
}
 
A file has been moved to another folder between Job 160 and 161.


159 Base 36 764.3 M OK 05-Sep-17 15:40 BaseData
160 Full 36 0 OK 05-Sep-17 15:42 BackupClient1
161 Full 36 24.65 M OK 05-Sep-17 15:44 BackupClient1


What is my fault?


> Thanks for the answer.

Hello, Fabian,

> But what makes it for sense that a moved file with the same MD5 sum is saved
> again?
> It works as if only the complete path to the file is compared. Does anyone use
> Deduplication?

Please, read the manual:

"By default, Bacula will compare permissions bits, user and group fields, 
modification time, size and the checksum of the file to choose between the 
current backup and the BaseJob file list. You can change this behavior with the 
BaseJob FileSet option. This option works like the verify= one, that is 
described in the FileSetFileSetResource chapter.

FileSet {
Name = Full
Include = {
Options {
BaseJob = pmugcs5
Accurate = mcs
Verify = pin5
}
File = /
}
}"



> Hello,
> Hello, Fabian,
>
> is it normal to back up bacula moved files or renamed files over and over 
> again?
> I have created a test configuration with base jobs but the files are backed up
> again and again.
> Base jobs are always full, since they are the paradigm to further jobs
> file-level deduplication.
>
> Does anyone have a solution to the problem or a working configuration file?
>
> To the procedure:
> 1. I'm starting a backup as a base job OK
> 2. a full backup using a base job OK
> 3. rename or move a file
> 4. Full Backup with Base JobRegards,
> --
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot[http://sdm.link/slashdot]
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users[https://lists.sourceforge.net/lists/listinfo/bacula-users]

--
===
Heitor Medrado de Faria | CEO Bacula do Brasil | Visto EB-1 | LPIC-III | EMC 
05-001 | ITIL-F
• Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula Enterprise: 
http://www.bacula.com.br/enterprise/[http://www.bacula.com.br/enterprise/]
• Ministro treinamento e implementação in-company do Bacula Community: 
http://www.bacula.com.br/in-company/[http://www.bacula.com.br/in-company/]
+55 61 98268-4220 | www.bacula.com.br[http://www.bacula.com.br]

Indicamos também as capacitações complementares:
• Shell básico e Programação em Shell com Julio Neves.
• Zabbix com Adail Host.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Non-DoD Source] Re: Bacula 9.0.3 bat qwt requirements

2017-09-05 Thread Kern Sibbald

  
  
Hello Daniel,
That is good to hear.  It seems that persistence pays off!  :-)

Best regards,
Kern


On 09/05/2017 03:12 PM, Hicks, Daniel
  CTR OSD DMEA wrote:


  
  
  
  
Kern
 
Since this was
on my test system I ignored the error and ran ‘make install’
that ran without errors. I was able to also start bat and
after updating the DB it looks to be running fine. With the
exception of a DB error that I noted in another message
thread. 
 
Thanks for the
reply. 
 

  Daniel Hicks
  | 916-999-2711 | DMEA 

 

  
From: Kern Sibbald
[mailto:k...@sibbald.com] 
Sent: Saturday, September 2, 2017 11:55 PM
To: Hicks, Daniel CTR OSD DMEA
;
Bacula-users@lists.sourceforge.net
Subject: [Non-DoD Source] Re: [Bacula-users]
Bacula 9.0.3 bat qwt requirements
  

 
Hello,
I am not sure why you mention qwt since Bat has not used it
  for a number of years.  Bat builds fine for me here and it
  builds on the machines where we are beginning to produce
  binaries.  I have a number of suggestions:
1. With output
  like "Make[1]: *** [bat] Error 1" it is impossible to find the
  problem. If you want help, you will need to supply some
  additional information:
     - Version of qt you are compiling/linking against
     - Full output from the compiles in src/qt-console
  
  2. You can contact Bacula Systems and ask for a professional
  contract, which will supply you with working binaries on a
  number of platforms (not all) and world class support.
  
  3. You can wait a bit, since we are now building binaries for
  distribution on the www.bacula.org web site, but this
  is at least a month off.  It *is* advancing though ...
  
  Best regards,
  Kern

  On 08/31/2017 06:25 PM, Hicks, Daniel CTR
OSD DMEA wrote:


  Hello,
   
  I am trying to test the 9.0.3 build but
cannot get past the make process. I am configuring with the
following but when I try to run make I get an error:
   
  CFLAGS="-g -O2 -Wall" \
    ./configure \
      --sysconfdir=/etc/bacula \
      --sbindir=/sbin \
     
--oldincludedir=/usr/include/mysql \
      --enable-smartalloc \
      --enable-bat \
      --disable-nls \
     
--with-pid-dir=/var/run/bacula \
     
--with-subsys-dir=/var/run/subsys \
     
--with-systemd=/usr/lib/systemd/system \
      --with-mysql \
     
--with-working-dir=/etc/bacula/working \
  
--with-plugindir=/etc/bacula/plugins \
      --with-logdir=/var/log/bacula
\
     
--with-dump-email=admin@localhost \
     
--with-job-email=admin@localhost \
      --with-smtp-host=localhost
   
   
  Make[1]: *** [bat] Error 1
  Make[1]: Leaving directory
‘/usr/local/src/Bacula-9.0.3/src/qt-console’
   
  = Error in /
usr/local/src/Bacula-9.0.3/src/qt-console 
   
   
  This error is on a test system that
already has Bacula 7.4.7 running with bat enabled. 
   
  Thank you
   
  Daniel Hicks
  Senior Systems Analyst
  DMEA IT Support
   
  
  
  
  
  --
  Check out the vibrant tech community on one of the world's most
  engaging tech sites, Slashdot.org! http://sdm.link/slashdot
  
  
  
  
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users

 
  


  


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list

Re: [Bacula-users] No Job status returned from FD. Backup fails

2017-09-05 Thread Matthias Koch-Schirrmeister
Am 04.09.2017 um 14:05 schrieb Heitor Faria:

> Please inform Director, Storage and File Daemon versions.

The versions are

Director: 7.4.2
SD: 7.4.2
both on OpenBSD 6.0

FD: 5.2.6 on Debian 7



Kern has already mentioned concerns about the versions, but I am running
a number of 5.* FDs on Linux and Windows and they are doing fine. In the
present case, the only difference is that the FD is on a remote site,
while all other FDs are on my local site.


Here's the job output. "fafnir" is the OpenBSD machine running both DIR
and SD, "atropos" is the remote client.



*list joblog jobid=1801
+---
   -+
| logtext

 |
+---
   -+
| fafnir JobId 1801: Start Backup JobId 1801,
Job=atropos_Standard.2017-09-03_18
 .05.00_41  |
| fafnir JobId 1801: Using Device "HESTIA-files" to write.

 |
| Standard-Device JobId 1801: Elapsed time=11:56:14, Transfer rate=590.4
K Bytes/second
 |
| Standard-Device JobId 1801: Sending spooled attrs to the Director.
Despooling 24,360,764
bytes ...   |
| fafnir JobId 1801: Fatal error: Network error with FD during Backup:
ERR=Connection reset by
peer|
| fafnir JobId 1801: Fatal error: No Job status returned from FD.

 |
| fafnir JobId 1801: Error: Bacula fafnir 7.4.2 (06Jun16):
  Build OS:   x86_64-unknown-openbsd6.0 openbsd 6.0
  JobId:  1801
  Job:atropos_Standard.2017-09-03_18.05.00_41
  Backup Level:   Full
  Client: "atropos" 5.2.6 (21Feb12)
x86_64-pc-linux-gnu,debian,7
   .0
  FileSet:"Unixoid" 2017-07-12 11:56:49
  Pool:   "Standard" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"Standard-Device" (From Job resource)
  Scheduled time: 03-Sep-2017 18:05:00
  Start time: 03-Sep-2017 18:05:01
  End time:   04-Sep-2017 17:45:28
  Elapsed time:   23 hours 40 mins 27 secs
  Priority:   10
  FD Files Written:   0
  SD Files Written:   72,403
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   25,372,392,225 (25.37 GB)
  Rate:   0.0 KB/s
  Software Compression:   None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): FVol-0036
  Volume Session Id:  354
  Volume Session Time:1501835794
  Last Volume Bytes:  38,090,322,392 (38.09 GB)
  Non-fatal FD errors:1
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  OK
  Termination:*** Backup Error *** |
+---
   -+
+---+--+-+--+---+--+
   --+---+
| jobid | name | starttime   | type | level |
jobfiles | jobbytes |
jobstatus |
+---+--+-+--+---+--+
   --+---+
| 1,801 | atropos_Standard | 2017-09-03 18:05:01 | B| F |
0 |0 | f |
+---+--+-+--+---+--+
   



Kind regards
Matthias



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Non-DoD Source] Re: Bacula 9.0.3 bat qwt requirements

2017-09-05 Thread Hicks, Daniel CTR OSD DMEA
Kern

 

Since this was on my test system I ignored the error and ran ‘make install’ 
that ran without errors. I was able to also start bat and after updating the DB 
it looks to be running fine. With the exception of a DB error that I noted in 
another message thread. 

 

Thanks for the reply. 

 

Daniel Hicks | 916-999-2711 | DMEA 

 

From: Kern Sibbald [mailto:k...@sibbald.com] 
Sent: Saturday, September 2, 2017 11:55 PM
To: Hicks, Daniel CTR OSD DMEA ; 
Bacula-users@lists.sourceforge.net
Subject: [Non-DoD Source] Re: [Bacula-users] Bacula 9.0.3 bat qwt requirements

 

Hello,

I am not sure why you mention qwt since Bat has not used it for a number of 
years.  Bat builds fine for me here and it builds on the machines where we are 
beginning to produce binaries.  I have a number of suggestions:

1. With output like "Make[1]: *** [bat] Error 1" it is impossible to find the 
problem. If you want help, you will need to supply some additional information:
   - Version of qt you are compiling/linking against
   - Full output from the compiles in src/qt-console

2. You can contact Bacula Systems and ask for a professional contract, which 
will supply you with working binaries on a number of platforms (not all) and 
world class support.

3. You can wait a bit, since we are now building binaries for distribution on 
the www.bacula.org   web site, but this is at least a 
month off.  It *is* advancing though ...

Best regards,
Kern

On 08/31/2017 06:25 PM, Hicks, Daniel CTR OSD DMEA wrote:

Hello,

 

I am trying to test the 9.0.3 build but cannot get past the make process. I am 
configuring with the following but when I try to run make I get an error:

 

CFLAGS="-g -O2 -Wall" \

  ./configure \

--sysconfdir=/etc/bacula \

--sbindir=/sbin \

--oldincludedir=/usr/include/mysql \

--enable-smartalloc \

--enable-bat \

--disable-nls \

--with-pid-dir=/var/run/bacula \

--with-subsys-dir=/var/run/subsys \

--with-systemd=/usr/lib/systemd/system \

--with-mysql \

--with-working-dir=/etc/bacula/working \

 --with-plugindir=/etc/bacula/plugins \

--with-logdir=/var/log/bacula \

--with-dump-email=admin@localhost \

--with-job-email=admin@localhost \

--with-smtp-host=localhost

 

 

Make[1]: *** [bat] Error 1

Make[1]: Leaving directory ‘/usr/local/src/Bacula-9.0.3/src/qt-console’

 

= Error in / usr/local/src/Bacula-9.0.3/src/qt-console 

 

 

This error is on a test system that already has Bacula 7.4.7 running with bat 
enabled. 

 

Thank you

 

Daniel Hicks

Senior Systems Analyst

DMEA IT Support

 






--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot






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

 



smime.p7s
Description: S/MIME cryptographic signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Renamed and moved files are backed up again

2017-09-05 Thread Heitor Faria

> Thanks for the answer.

Hello, Fabian,

> But what makes it for sense that a moved file with the same MD5 sum is saved
> again?
> It works as if only the complete path to the file is compared. Does anyone use
> Deduplication?

Please, read the manual:

"By default, Bacula will compare permissions bits, user and group fields, 
modification time, size and the checksum of the file to choose between the 
current backup and the BaseJob file list. You can change this behavior with the 
BaseJob FileSet option. This option works like the verify= one, that is 
described in the FileSetFileSetResource chapter.

FileSet {
  Name = Full
  Include = {
Options {
   BaseJob  = pmugcs5
   Accurate = mcs
   Verify   = pin5
}
File = /
  }
}"



> Hello,
> Hello, Fabian,
> 
> is it normal to back up bacula moved files or renamed files over and over 
> again?
> I have created a test configuration with base jobs but the files are backed up
> again and again.
> Base jobs are always full, since they are the paradigm to further jobs
> file-level deduplication.
> 
> Does anyone have a solution to the problem or a working configuration file?
> 
> To the procedure:
> 1. I'm starting a backup as a base job OK
> 2. a full backup using a base job OK
> 3. rename or move a file
> 4. Full Backup with Base JobRegards,
> --
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
=== 
Heitor Medrado de Faria | CEO Bacula do Brasil | Visto EB-1 | LPIC-III | EMC 
05-001 | ITIL-F 
• Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula Enterprise: 
http://www.bacula.com.br/enterprise/ 
• Ministro treinamento e implementação in-company do Bacula Community: 
http://www.bacula.com.br/in-company/ 
+55 61 98268-4220 | www.bacula.com.br 
 
Indicamos também as capacitações complementares: 
• Shell básico e Programação em Shell com Julio Neves. 
• Zabbix com Adail Host. 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to handle periods when wanting to preserve long time backups

2017-09-05 Thread Wanderlei Huttel
Hello Yogesh

The problem is not in the Bacula but in the Webmin module. Probably you
need to install the module "libdbd-mysql-perl" (sudo apt-get
install libdbd-mysql-perl)
Personally I don't like Webmin, cause sometimes  when you use it to
configure Bacula conf files it mess up the files.

Is better configure Bacula manually and use include files for better
understanding.

If are you looking for a web interface to start jobs, stop jobs, restore
jobs and do some more things you can use the Baculum;

Or ...
I have a fork of the original Webacula with some improvements
You can take a look here: https://github.com/wanderleihuttel/webacula

Regards

*Wanderlei Hüttel*
http://www.huttel.com.br

2017-09-05 7:51 GMT-03:00 m.yogesh waran :

> Hi,
>
> I need help this Error On bacula
>System ->Bacula Backup System
>
> ERROR:Failed to connect to the Bacula database : Failed to load the
> database DBI driver mysql at ./bacula-backup-lib.pl line 45. Maybe it is
> not set up, or the module configuration
>  is incorrect.
>
>
> Please help this error
>
> [image: aj3]
>
> *& Regard's*
>
> *   Yogesh*
>
> On Wed, Aug 30, 2017 at 4:17 PM, Martin Simmons 
> wrote:
>
>> > On Tue, 29 Aug 2017 16:18:45 +0200, Egoitz Aurrekoetxea said:
>> >
>> > I wanted to be doing two kind of different backups. I do explain. One of
>> > them is the daily backup. The daily backup consists on :
>> >
>> >
>> > - Monday -> Full backup
>> >
>> > - rest of the days -> Inc backup
>> >
>> >
>> > I keep this backups and catalogs during three weeks but seting the
>> > following retention periods :
>> >
>> >
>> > - File retention = 21 days
>> >
>> > - Job retention = 22 days
>> >
>> > - Volume retention = 23 days
>> >
>> >
>> > But now is when the second kind of backup comes
>> >
>> >
>> > I wanted too, to preserve the following backups too :
>> >
>> >
>> > - One full backup per month
>> >
>> > - One inc backup per week
>> >
>> > Keep them for two years. So, obviously I need to set different retention
>> > periods for this backup. I have though using a different pool and
>> > catalog and using different file, job and volume retention but I
>> have
>> > seen that File retention is per client assigned. So I can't set two
>> > different file retention for the same client even when I use different
>> > catalogs for each backup kind. How would you recommend me to handle this
>> > task with Bacula?.
>>
>> Assuming you have a fixed number of volumes in the daily backup pool
>> (i.e. you
>> are not using Label Format), then you can set the file and job retention
>> in
>> the client to 2 years.  Since the volume retention in the daily pool is
>> shorter, it will take precedence over the file and job retention in the
>> client.  The file and jobs records for the second kind of backup will be
>> retained for 2 years.
>>
>> This is described in the documentation for Volume Retention in
>> http://www.bacula.org/9.0.x-manuals/en/main/Configuring_Dire
>> ctor.html#SECTION001815
>>
>> __Martin
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to handle periods when wanting to preserve long time backups

2017-09-05 Thread Kern Sibbald

  
  
The DBI driver is no longer supported.  Please switch to using
  either MySQL or PostgreSQL.
Best regards,
Kern


On 09/05/2017 12:51 PM, m.yogesh waran
  wrote:


  

  

  Hi,

  
  I need help this Error On bacula

   System ->Bacula Backup System 
   
  
  ERROR:Failed to connect to the Bacula database : Failed to
  load the database DBI driver mysql at ./bacula-backup-lib.pl
  line 45. Maybe it is not set up, or the module configuration is
  incorrect.
  
  

Please help this error
  
  

  

   &
  Regard's
  

    
  Yogesh

  
  


On Wed, Aug 30, 2017 at 4:17 PM, Martin
  Simmons 
  wrote:
  > On Tue, 29 Aug 2017 16:18:45
  +0200, Egoitz Aurrekoetxea said:
  >
  > I wanted to be doing two kind of different backups. I
  do explain. One of
  > them is the daily backup. The daily backup consists
  on :
  >
  >
  > - Monday -> Full backup
  >
  > - rest of the days -> Inc backup
  >
  >
  > I keep this backups and catalogs during three weeks
  but seting the
  > following retention periods :
  >
  >
  > - File retention = 21 days
  >
  > - Job retention = 22 days
  >
  > - Volume retention = 23 days
  >
  >
  > But now is when the second kind of backup
  comes
  >
  >
  > I wanted too, to preserve the following backups too :
  >
  >
  > - One full backup per month
  >
  > - One inc backup per week
  >
  > Keep them for two years. So, obviously I need to set
  different retention
  > periods for this backup. I have though using a
  different pool and
  > catalog and using different file, job and volume
  retention but I have
  > seen that File retention is per client assigned. So I
  can't set two
  > different file retention for the same client even
  when I use different
  > catalogs for each backup kind. How would you
  recommend me to handle this
  > task with Bacula?.
  
Assuming you have a fixed number of volumes in the
daily backup pool (i.e. you
are not using Label Format), then you can set the file and
job retention in
the client to 2 years.  Since the volume retention in the
daily pool is
shorter, it will take precedence over the file and job
retention in the
client.  The file and jobs records for the second kind of
backup will be
retained for 2 years.

This is described in the documentation for Volume Retention
in
http://www.bacula.org/9.0.x-manuals/en/main/Configuring_Director.html#SECTION001815

__Martin
  

  
--
Check out the vibrant tech community on one of the
world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  

  


  
  
  
  
  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
  
  
  
  ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



  

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___

Re: [Bacula-users] Renamed and moved files are backed up again

2017-09-05 Thread Fabian Brod
Thanks for the answer.

But what makes it for sense that a moved file with the same MD5 sum is saved 
again?
It works as if only the complete path to the file is compared. Does anyone use 
Deduplication?



Hello,
Hello, Fabian,

is it normal to back up bacula moved files or renamed files over and over again?
I have created a test configuration with base jobs but the files are backed up 
again and again.
Base jobs are always full, since they are the paradigm to further jobs 
file-level deduplication.

Does anyone have a solution to the problem or a working configuration file?

To the procedure:
1. I'm starting a backup as a base job OK
2. a full backup using a base job OK
3. rename or move a file
4. Full Backup with Base JobRegards,
--

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users