Re: [Bacula-users] Backup MySQL databases

2011-10-25 Thread Pietro Bertera
Hi,

2011/10/25 Dimitri Gourdon dgour...@itool.com:
 I have some servers with MySQL databases. I want to know what is the
 best way to backup these databases ?

You can find useful information at:
http://wiki.bacula.org/doku.php?id=application_specific_backups:mysql

Regards,

-- 
Bertera Pietro
http://www.bertera.it

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Does anyone has backed up vmdk's of anESXi?

2011-09-08 Thread Pietro Bertera
Hi,

2011/9/7 Jan Behrend jbehr...@mpifr-bonn.mpg.de:

 Don't use file based backup software like Bacula on vmdks:  The backup
 volume will kill you.
 If you change one  byte inside the VM you have to backup all of the
 vmdk image which will be
 substantially (!) larger.

Yes, it's true. I use the copy of vmdks (and VMXs) only for disaster
recovery purpose.
For normal backups the bacula-fd (plus OpenVPN or ssh tunnels) inside
the VM is my friend ;)

regards,

Pietro
-- 
Bertera Pietro
http://www.bertera.it

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Does anyone has backed up vmdk's of anESXi?

2011-09-06 Thread Pietro Bertera
Hi Arnau,

2011/9/6 Arnau Coll ac...@puntdoc.es
 Did you try to Backup vmdk’s of an ESXi server? I’ve googled but there’re no 
 certain answers... I think that ESXi is so striped to try to deploy bacula-fd 
 in the System, but, trying to copy by ssh the files to other System before 
 Backup,...

 What method do you use?

I think it is possible to statically compile bacula-fd for the ESXi console

I'm more comfortable this way:
I use a script to create snapshot end copy virtual disks.
You can find more on my script at:

http://www.bertera.it/index.php/2011/07/25/poor-man-vmware-consolidate-backup/

regards,

Pietro
--
Bertera Pietro
http://www.bertera.it

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula + qnap (SAN)

2011-09-06 Thread Pietro Bertera
Hi,

2011/9/6 Arnau Coll ac...@puntdoc.es

  Hi,

 ** **

 What’s the best way to set up bacula with a Qnap SAN ? By NFS or iSCSI?***
 *

 ** **

 Thanks


 I used a qnap as low-performance storage for bacula (on a VM) and others
VMs, but I have connected the qnap to
ESXi host as an iSCSI storage, end then created the virtual disks over the
new datastore.

best regards,
Pietro
-- 
Bertera Pietro
http://www.bertera.it
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director don't start

2011-08-23 Thread Pietro Bertera
You are starting director daemon using storage daemon configuration file..

Pietro


2011/8/23 Roberto Pereyra contenidos2000-bac...@yahoo.com.ar:
 Hi
  have a new bacula 5.0.3  install in Fedora 14 .
 When I start the director daemon, it don't start.
 If I run:


 bacula-dir -d 10 -t -v  -c /etc/bacula/bacula-sd.conf
 bacula-dir: dird.c:184-0 Debug level = 10
 23-ago 09:08 bacula-dir: ERROR TERMINATION at parse_conf.c:971
 Config error: Keyword WorkingDirectory not permitted in this resource.
 Perhaps you left the trailing brace off of the previous resource.
     : line 16, col 19 of file /etc/bacula/bacula-sd.conf
   WorkingDirectory = /var/spool/bacula


 This is my /etc/bacula/bacula-sd.conf:

 ---

 cat /etc/bacula/bacula-sd.conf
 #
 # Default Bacula Storage Daemon Configuration file
 #
 #  For Bacula release 5.0.3 (04 August 2010) -- redhat
 #
 # You may need to change the name of your tape drive
 #   on the Archive Device directive in the Device
 #   resource.  If you change the Name and/or the
 #   Media Type in the Device resource, please ensure
 #   that dird.conf has corresponding changes.
 #

 Storage { # definition of myself
   Name = backup1.contenidosonline.com.ar-sd
   SDport = 9103
   WorkingDirectory = /var/spool/bacula
   Pid Directory = /var/run
   Maximum Concurrent Jobs = 20
 }

 #
 # List Directors who are permitted to contact Storage daemon
 #
 Director {
   Name = backup1.contenidosonline.com.ar-dir
   Password = x
 }

 #
 # Restricted Director, used by tray-monitor to get the
 #   status of the storage daemon
 #
 Director {
   Name = bacula-mon
   Password = x
   Monitor = yes
 }

 #
 # Note, for a list of additional Device templates please
 #  see the directory bacula-source/examples/devices
 # Or follow the following link:
 #
 http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/
 #

 #
 # Devices supported by this Storage daemon
 # To connect, the Director's bacula-dir.conf must have the
 #  same Name and MediaType.
 #

 Device {
   Name = FileStorage
   Media Type = File
   Archive Device = /tmp
   LabelMedia = yes;   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;   # when device opened, read it
   RemovableMedia = no;
   AlwaysOpen = no;
 }

 #
 # An autochanger device with two drives
 #
 #Autochanger {
 #  Name = Autochanger
 #  Device = Drive-1
 #  Device = Drive-2
 #  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
 #  Changer Device = /dev/sg0
 #}

 #Device {
 #  Name = Drive-1  #
 #  Drive Index = 0
 #  Media Type = DLT-8000
 #  Archive Device = /dev/nst0
 #  AutomaticMount = yes;   # when device opened, read it
 #  AlwaysOpen = yes;
 #  RemovableMedia = yes;
 #  RandomAccess = no;
 #  AutoChanger = yes
 #  #
 #  # Enable the Alert command only if you have the mtx package loaded
 #  # Note, apparently on some systems, tapeinfo resets the SCSI controller
 #  #  thus if you turn this on, make sure it does not reset your SCSI
 #  #  controller.  I have never had any problems, and smartctl does
 #  #  not seem to cause such problems.
 #  #
 #  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 #  If you have smartctl, enable this, it has more info than tapeinfo
 #  Alert Command = sh -c 'smartctl -H -l error %c'
 #}

 #Device {
 #  Name = Drive-2  #
 #  Drive Index = 1
 #  Media Type = DLT-8000
 #  Archive Device = /dev/nst1
 #  AutomaticMount = yes;   # when device opened, read it
 #  AlwaysOpen = yes;
 #  RemovableMedia = yes;
 #  RandomAccess = no;
 #  AutoChanger = yes
 #  # Enable the Alert command only if you have the mtx package loaded
 #  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 #  If you have smartctl, enable this, it has more info than tapeinfo
 #  Alert Command = sh -c 'smartctl -H -l error %c'
 #}

 #
 # A Linux or Solaris LTO-2 tape drive
 #
 #Device {
 #  Name = LTO-2
 #  Media Type = LTO-2
 #  Archive Device = /dev/nst0
 #  AutomaticMount = yes;   # when device opened, read it
 #  AlwaysOpen = yes;
 #  RemovableMedia = yes;
 #  RandomAccess = no;
 #  Maximum File Size = 3GB
 ## Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
 ## Changer Device = /dev/sg0
 ## AutoChanger = yes
 #  # Enable the Alert command only if you have the mtx package loaded
 ## Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 ## If you have smartctl, enable this, it has more info than tapeinfo
 ## Alert Command = sh -c 'smartctl -H -l error %c'
 #}

 #
 # A Linux or Solaris LTO-3 tape drive
 #
 #Device {
 #  Name = LTO-3
 #  Media Type = LTO-3
 #  Archive Device = /dev/nst0
 #  AutomaticMount = yes;   # when device opened, read it
 #  AlwaysOpen = yes;
 #  RemovableMedia = yes;
 #  RandomAccess = no;
 #  Maximum File Size = 4GB
 ## Changer 

Re: [Bacula-users] Bacula setup driving me nuts

2011-08-23 Thread Pietro Bertera
Hi,

2011/8/23 selanty bacula-fo...@backupcentral.com:

 3304 Issuing autochanger load slot 5, drive 0 command.
 3992 Bad autochanger load slot 5, drive 0: ERR=Child died from signal 15: 
 Termination.
 Results=Program killed by Bacula (timeout)

have you tried to run /etc/bacula/mtx-changer with load command manually ?

Regards,

Pietro

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula setup driving me nuts

2011-08-23 Thread Pietro Bertera
Hi,

2011/8/23 selanty bacula-fo...@backupcentral.com:
 hi Pietro,

 3304 Issuing autochanger load slot 5, drive 0 command.
 3992 Bad autochanger load slot 5, drive 0: ERR=Child died from signal 15: 
 Termination.
  Results=Program killed by Bacula (timeout)

 have you tried to run /etc/bacula/mtx-changer with load command manually ?

 Yes i did i tried an mtx -f /dev/sg5 load and unload to both drives and that 
 works oke


I did not mean mtx command.
Bacula use an external program to interfacing with autoloader. This
command is defined by Changer Command directive.
I see in your logs that the changer command dies.
Your changer command is: /etc/bacula/mtx-changer %c %o %S %a %d

this configuration invoke /etc/bacula/mtx-changer /dev/sg5 load 5 /dev/st0 0
when bacula tries to load slot 5 of drive 0.

The script mtx-changer shoud not die, I think you must debug this..

sorry for my poor english..

Regards,Pietro

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Dell Powervault 124T

2011-07-28 Thread Pietro Bertera
2011/7/27 lokinc bacula-fo...@backupcentral.com:
 Hi

 I've got a Dell Powervault 124T connected to a new server using SAS.

 On the server I'm running CentOS 6 with Bacula 5.0.0 installed via YUM, the 
 current setup can backup to File and restore.

 Now what I need to know, what is the first step to get the server to backup 
 to tape. How to define the Tape changer and drive and where to define these 
 things?

 Thanks in advance

You must configure the Device and Autochanger directives in
bacula-sd. (and jobs in director using the new device)

this an example of configuration: http://pastebin.com/Nvyd5F4A

Regards,

Pietro

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Manually upgrade next job, disable next job ?

2011-07-26 Thread Pietro Bertera
Hi,

a workaround might be to set for your job:

Allow Duplicate Jobs = no
Cancel Lower Level Duplicates = yes

and schedule the full job.

Regards,

Pietro

2011/7/26 Hugo Letemplier hugo.let...@gmail.com

 Hi

 I have scheduling for a job everydays.
 Sometimes, I have to disable the next job but without disabling the
 others that are scheduled after.

 Indeed, eg: I 've just seen that the previous Incremental has become
 really big. How can I directly say to bacula to upgrade the next job
 of this name to a full ?

 The solution would be :

 disable next job=MyJob
 run job=MyJob level=Full when=

 Or

 upgrade next job=MyJob level=Full

 How can I do that ?

 If it's not possible I think that it could be a nice feature to add to
 the next bacula versions

 Thanks

 --
 Magic Quadrant for Content-Aware Data Loss Prevention
 Research study explores the data loss prevention market. Includes in-depth
 analysis on the changes within the DLP market, and the criteria used to
 evaluate the strengths and weaknesses of these DLP solutions.
 http://www.accelacomm.com/jaw/sfnl/114/51385063/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users