[Bacula-users] SAP, Maxdb and Co?

2011-05-23 Thread Robert Kromoser
Hi everyone.

 

Is there anyone which backs up SAP Systems using MaxDB Database with
Bacula?

I have problems in defining the Fileset with the Plugin using dbmcli.

 

br Robert

 

 

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Plugin not loaded ???

2011-05-23 Thread Robert Kromoser
 

Hi everybody.

 

I installed the win32 Bacula Client on a Windows Server 2003 System and
created a

client configuration on the bacula server CBCK0001-dir with the name
csapfaq0-dir.conf

 

In this configuration file I configured the plugin for the SAP Backup
using the MaxDB own command line

interface dbmcli.

 

Here is the Fileset.

 

# #---

# # Kinamu Fileset for all Backups

# #---

 

FileSet {

Name = SAP_Fileset_CSAPFAQ0

# enablevss = yes

Include {

Options {

compression = GZIP

signature = MD5

}

# File = C:/

# File = D:/

Plugin = bpipe:/tmp/sap_maxdb_csapfaq0.db:dbmcli -d FAQ
-u USER,PWxxx -n 192.168.100.62 -uUTL -c backup_start
FAQ_PIPE1_Full:dbmcli -u UTL -u USER,PWxxx

}

# Exclude {

# File = C:/pagefile.sys

# }

}

 

The command line is working properly when I run it in my shell.

 

When I start the Backup Job I will receive the following error message
which will tell me,

that the plugin on the sap/windows server is not running, is it?

 

 

23-May 16:13 CBCK0001-dir JobId 36: Start Backup JobId 36,
Job=CSAPFAQ0_01_Backup.2011-05-23_16.13.41_03

23-May 16:13 CBCK0001-dir JobId 36: There are no more Jobs associated
with Volume Disk-Vol-CSAPFAQ0-0018. Marking it purged.

23-May 16:13 CBCK0001-dir JobId 36: All records pruned from Volume
Disk-Vol-CSAPFAQ0-0018; marking it Purged

23-May 16:13 CBCK0001-dir JobId 36: Recycled volume
Disk-Vol-CSAPFAQ0-0018

23-May 16:13 CBCK0001-dir JobId 36: Using Device SAP_CSAPFAQ0

23-May 16:13 CBCK0001-sd JobId 36: Recycled volume
Disk-Vol-CSAPFAQ0-0018 on device SAP_CSAPFAQ0
(/tmp/backup/sap/CSAPFAQ0-fd/backup), all previous data lost.

23-May 16:13 CBCK0001-dir JobId 36: Volume used once. Marking Volume
Disk-Vol-CSAPFAQ0-0018 as Used.

23-May 16:13 c001-fd JobId 36: No drive letters found for generating
VSS snapshots.

23-May 16:13 c001-fd JobId 36: Fatal error:
/home/kern/bacula/k/bacula/src/filed/fd_plugins.c:223 Command plugin
bpipe:/tmp/sap_maxdb_csapfaq0.db:dbmcli -d FAQ -u control,facc1234 -n
192.168.100.62 -uUTL -c backup_start FAQ_PIPE1_Full:dbmcli -u UTL -u
control,facc1234 requested, but is not loaded.

*

 

But in the bacula-fd.conf on the windows server I removed the remark
sign 

so the plugin should be loaded after starting the fd service.

 

FileDaemon {# this is me

  Name = csapfaq0-fd

  FDport = 9102# where we listen for the director

  WorkingDirectory = C:\\Program Files\\Bacula\\working

  Pid Directory = C:\\Program Files\\Bacula\\working

  Plugin Directory = C:\\Program Files\\Bacula\\plugins

  Maximum Concurrent Jobs = 10

}

 

So I don't understand why bacula says, that the reuested plugin isn't
loaded od do I misunderstand this message ???

 

 

br Robert

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Plugin not loaded ???

2011-05-23 Thread Radosław Korzeniewski
Hello,

2011/5/23 Robert Kromoser robert.kromo...@kinamu.com



 Hi everybody.



 I installed the win32 Bacula Client on a Windows Server 2003 System and
 created a

 client configuration on the bacula server CBCK0001-dir with the name
 csapfaq0-dir.conf


So, Win32 File Daemon.


 23-May 16:13 c001-fd JobId 36: Fatal error:
 /home/kern/bacula/k/bacula/src/filed/fd_plugins.c:223 Command plugin
 bpipe:/tmp/sap_maxdb_csapfaq0.db:dbmcli -d FAQ -u control,facc1234 -n
 192.168.100.62 -uUTL -c backup_start FAQ_PIPE1_Full:dbmcli -u UTL -u
 control,facc1234 requested, but is not loaded.

 *



 But in the bacula-fd.conf on the windows server I removed the remark sign

 so the plugin should be loaded after starting the fd service.



 FileDaemon {# this is me

   Name = csapfaq0-fd

   FDport = 9102# where we listen for the director

   WorkingDirectory = C:\\Program Files\\Bacula\\working

   Pid Directory = C:\\Program Files\\Bacula\\working

   Plugin Directory = C:\\Program Files\\Bacula\\plugins

   Maximum Concurrent Jobs = 10

 }



 So I don't understand why bacula says, that the reuested plugin isn't
 loaded od do I misunderstand this message ???




Could you please send us a directory listing of: C:\\Program
Files\\Bacula\\plugins
Is bpipe-fd.dll located there?

regards

-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problems

2011-05-23 Thread Alan Brown

I'm trying to restore a 3 month old backup, but the database says there 
are no files to restore.

The strange thing is, I can _see_ the entries in the database for that 
date and the full backup 10 days before.

Has anyone seen this kind of behaviour?




--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems

2011-05-23 Thread John Drescher
 I'm trying to restore a 3 month old backup, but the database says there
 are no files to restore.

 The strange thing is, I can _see_ the entries in the database for that
 date and the full backup 10 days before.

 Has anyone seen this kind of behaviour?


Do you have different file and job retentions?

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Full weekly backup setup [SEC=UNCLASSIFIED]

2011-05-23 Thread John Drescher
 I guess I need to load 12 -16 tapes into my pool and set the retention
 period to a month?

Remember that the retention period is counted from the time the last
job was run on the volume after it was marked Used or Full so a month
may be too long.

 Once the full backup is completed each week take out
 the tapes that have been written to and allow Bacula to write to the
 next tape in the pool? I wouldn't want the last tape to be appendable,
 so would have to mark that tape as Full some how?

Specify Volume Use Duration and/or Maximum Volume Jobs

to have the tapes automatically marked used after your backup completes.

http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION001815



I left out the other questions because I do not have time to address
those at the moment.

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] new hard drive mounted into ntfs filesystem of old hard drive

2011-05-23 Thread Jeff Shanholtz
I added a hard drive to a system due to the old one filling up. In addition
to the drive getting a new drive letter (D:), I also mounted it into a
directory of my old hard drive (C:\MyNewHardDrive) in order to keep getting
the contents backed up since I have backups configured to only do drive C:.

 

Last night the differential backups ran and from listing the files of that
backup job it appears that bacula ignored C:\MyNewHardDrive. Is bacula
smart enough to recognize that the directory is physically a separate
drive and that's why it was ignored? Is it possible to get bacula to back up
this directory aside from adding drive D: to the list of drives to back up
(which I prefer not to do)? Or is adding drive D: my only option?

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] new hard drive mounted into ntfs filesystem of old hard drive

2011-05-23 Thread John Drescher
 I added a hard drive to a system due to the old one filling up. In addition
 to the drive getting a new drive letter (D:), I also mounted it into a
 directory of my old hard drive (C:\MyNewHardDrive) in order to keep getting
 the contents backed up since I have backups configured to only do drive C:.



 Last night the differential backups ran and from listing the files of that
 backup job it appears that bacula ignored C:\MyNewHardDrive. Is bacula
 “smart” enough to recognize that the directory is physically a separate
 drive and that’s why it was ignored? Is it possible to get bacula to back up
 this directory aside from adding drive D: to the list of drives to back up
 (which I prefer not to do)? Or is adding drive D: my only option?


This is the onefs=yes default option. However I would not change that
setting to onefs=no because it will cause problems with ntfs junction
points especially if you use Vista or above.

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] new hard drive mounted into ntfs filesystem of old hard drive

2011-05-23 Thread Phil Stracchino
On 05/23/11 15:49, Jeff Shanholtz wrote:
 I added a hard drive to a system due to the old one filling up. In
 addition to the drive getting a new drive letter (D:), I also mounted it
 into a directory of my old hard drive (C:\MyNewHardDrive) in order to
 keep getting the contents backed up since I have backups configured to
 only do drive C:.
 
  
 
 Last night the differential backups ran and from listing the files of
 that backup job it appears that bacula ignored C:\MyNewHardDrive. Is
 bacula “smart” enough to recognize that the directory is physically a
 separate drive and that’s why it was ignored? Is it possible to get
 bacula to back up this directory aside from adding drive D: to the list
 of drives to back up (which I prefer not to do)? Or is adding drive D:
 my only option?

Basically you have a choice:

1 - Add D:\ into the FileSet
2 - Add C:\MyNewHardDrive into the FileSet
3 - Set option onefs=no in the filesystem

Pick one.  Option 3 is not recommended, as it will cause all mountpoints
to be recursed into, which tends to be a bad thing on Windows since
Windows remounts bits of its own filesystem on mountpoints scattered all
over the place.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] new hard drive mounted into ntfs filesystem of old hard drive

2011-05-23 Thread Phil Stracchino
 1 - Add D:\ into the FileSet
 2 - Add C:\MyNewHardDrive into the FileSet
 3 - Set option onefs=no in the filesystem

er ...  the *fileset*, rather, not the filesystem


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Base jobs and incremental backups

2011-05-23 Thread TipMeAbout
Le mercredi 18 mai 2011 j'ai reçu le message suivant:

  Are there any informations in the log file that prove the first full
  after a base job is effectively using the base job ?
 [...]


Hello,

I'm back with news, but not good.

I have done a base job backup of the laptop system through LAN connection (job 
name: laptop-lan_system.basejob). Below the definition of this job:

Job {
Name= laptop-lan_system.basejob
Enabled= yes
Type= Backup
Level= Base # can be defined in the schedule resource
Client= laptop-lan
FileSet= system
Messages= Standard
Pool= full
Full Backup Pool= full
Differential Backup Pool= diff
Incremental Backup Pool= incr
Schedule= full_1st_of_month
Storage= VTD_08
Priority= 9

}


Then a full backup of this client through WIFI (job name:laptop-wlan_system) 
and mentionning that this job should help itself with the previous base job.  
Below the definition of this job:

Job {
Name= laptop-wlan_system
Enabled= yes
Type= backup
Base= laptop-lan_system.basejob
Level= incremental # can be defined in the schedule resource
Client= laptop-wlan
FileSet= system
Messages= Standard
Pool= incr
Full Backup Pool= full
Differential Backup Pool= diff
Incremental Backup Pool= incr
Schedule= incr_everyday_but_1st
Storage= VTD_04

}

As I have launched manually the full, I have change in command line the level 
and pool of the job laptop-wlan_system to set them to full.


But unfortunately, it take more than 5 hours to do the backup and from the 
report at the end of the backup, it did not take the base job into 
consideration as no line appears to indicate the percentage of use from the 
base job:

  Build OS:   x86_64-redhat-linux-gnu redhat 
  JobId:  1235
  Job:laptop-wlan_system.2011-05-23_08.46.24_03
  Backup Level:   Full
  Client: laptop-wlan 5.0.3 (04Aug10) x86_64-redhat-linux-
gnu,redhat,
  FileSet:system 2011-03-18 08:47:54
  Pool:   full (From Job FullPool override)
  Catalog:bacula (From Client resource)
  Storage:VTD_04 (From Job resource)
  Scheduled time: 23-mai-2011 08:46:06
  Start time: 23-mai-2011 08:46:26
  End time:   23-mai-2011 14:05:18
  Elapsed time:   5 hours 18 mins 52 secs
  Priority:   10
  FD Files Written:   131,130
  SD Files Written:   131,130
  FD Bytes Written:   7,233,904,662 (7.233 GB)
  SD Bytes Written:   7,252,157,429 (7.252 GB)
  Rate:   378.1 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Accurate:   no
  Volume name(s): full_vol-027|full_vol-028|full_vol-029
  Volume Session Id:  19
  Volume Session Time:1306014285
  Last Volume Bytes:  574,149,829 (574.1 MB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK



So what's wrong with my configuration ?

Thanks for your help !

JC


-- 
http://www.tipmeabout.org
http://www.tipmeabout.com

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Base jobs and incremental backups

2011-05-23 Thread Pablo Marques

Maybe laptop-lan and laptop-wlan need to be the same client (same name).

Just change the ip address of the client configuration of laptop-lan to be the 
wlan ip and run a FULL backup on it.

Let me know.

Pablo
- Original Message -
From: TipMeAbout tipmeab...@gmail.com
To: bacula-users@lists.sourceforge.net
Cc: Pablo Marques pmarq...@miamilinux.net
Sent: Monday, May 23, 2011 5:40:17 PM
Subject: Re: [Bacula-users] Base jobs and incremental backups

Le mercredi 18 mai 2011 j'ai reçu le message suivant:

  Are there any informations in the log file that prove the first full
  after a base job is effectively using the base job ?
 [...]


Hello,

I'm back with news, but not good.

I have done a base job backup of the laptop system through LAN connection (job 
name: laptop-lan_system.basejob). Below the definition of this job:

Job {
Name= laptop-lan_system.basejob
Enabled= yes
Type= Backup
Level= Base # can be defined in the schedule resource
Client= laptop-lan
FileSet= system
Messages= Standard
Pool= full
Full Backup Pool= full
Differential Backup Pool= diff
Incremental Backup Pool= incr
Schedule= full_1st_of_month
Storage= VTD_08
Priority= 9

}


Then a full backup of this client through WIFI (job name:laptop-wlan_system) 
and mentionning that this job should help itself with the previous base job.  
Below the definition of this job:

Job {
Name= laptop-wlan_system
Enabled= yes
Type= backup
Base= laptop-lan_system.basejob
Level= incremental # can be defined in the schedule resource
Client= laptop-wlan
FileSet= system
Messages= Standard
Pool= incr
Full Backup Pool= full
Differential Backup Pool= diff
Incremental Backup Pool= incr
Schedule= incr_everyday_but_1st
Storage= VTD_04

}

As I have launched manually the full, I have change in command line the level 
and pool of the job laptop-wlan_system to set them to full.


But unfortunately, it take more than 5 hours to do the backup and from the 
report at the end of the backup, it did not take the base job into 
consideration as no line appears to indicate the percentage of use from the 
base job:

  Build OS:   x86_64-redhat-linux-gnu redhat 
  JobId:  1235
  Job:laptop-wlan_system.2011-05-23_08.46.24_03
  Backup Level:   Full
  Client: laptop-wlan 5.0.3 (04Aug10) x86_64-redhat-linux-
gnu,redhat,
  FileSet:system 2011-03-18 08:47:54
  Pool:   full (From Job FullPool override)
  Catalog:bacula (From Client resource)
  Storage:VTD_04 (From Job resource)
  Scheduled time: 23-mai-2011 08:46:06
  Start time: 23-mai-2011 08:46:26
  End time:   23-mai-2011 14:05:18
  Elapsed time:   5 hours 18 mins 52 secs
  Priority:   10
  FD Files Written:   131,130
  SD Files Written:   131,130
  FD Bytes Written:   7,233,904,662 (7.233 GB)
  SD Bytes Written:   7,252,157,429 (7.252 GB)
  Rate:   378.1 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Accurate:   no
  Volume name(s): full_vol-027|full_vol-028|full_vol-029
  Volume Session Id:  19
  Volume Session Time:1306014285
  Last Volume Bytes:  574,149,829 (574.1 MB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK



So what's wrong with my configuration ?

Thanks for your help !

JC


-- 
http://www.tipmeabout.org
http://www.tipmeabout.com

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users