Re: [Bacula-users] Bacula Setup
Hello, If you are planning to use more than one Storage daemon to access the tape drive, you should consider contacting Bacula Systems to get the Enterprise version of Bacula which supports SAN shared tape storage with a plugin. The other alternative is to use the community version and partition your autochanger so that no drive sharing is involved. Even then, you probably need expert help to ensure that Bacula doesn't get confused about what Volumes can be uses by which Storage daemon (i.e. make sure every SD has a unique Media Type). Best regards, Kern On 15-03-17 10:06 AM, Mansoor Hafeez wrote: Hi I am setting up Bacula for backing up the data to the TAPES. I want to design the following setup with Bacula: 1. The tapes/autochanger are connected via SAN to the client machines. These client machines are hosting the files those need to be backed up. 2. The File daemon and Storage Daemon will be installed and configured on Client machines. 3. The Director will be installed on separate machine which will host only the Database. It will not connect directly to any autochanger device neither to any partition whose backup will be required on tape. In other words, it will only controlling/managing the backup jobs Please advice if this design is correct or not. Thanks in advance for answer. Regards Mansoor Hafeez -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Setup
Hi I am setting up Bacula for backing up the data to the TAPES. I want to design the following setup with Bacula: 1. The tapes/autochanger are connected via SAN to the client machines. These client machines are hosting the files those need to be backed up. 2. The File daemon and Storage Daemon will be installed and configured on Client machines. 3. The Director will be installed on separate machine which will host only the Database. It will not connect directly to any autochanger device neither to any partition whose backup will be required on tape. In other words, it will only controlling/managing the backup jobs Please advice if this design is correct or not. Thanks in advance for answer. Regards Mansoor Hafeez -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Setup
On Tue, Mar 17, 2015 at 4:06 PM, Mansoor Hafeez mansoorhafee...@gmail.com wrote: Hi I am setting up Bacula for backing up the data to the TAPES. I want to design the following setup with Bacula: 1. The tapes/autochanger are connected via SAN to the client machines. These client machines are hosting the files those need to be backed up. 2. The File daemon and Storage Daemon will be installed and configured on Client machines. 3. The Director will be installed on separate machine which will host only the Database. It will not connect directly to any autochanger device neither to any partition whose backup will be required on tape. In other words, it will only controlling/managing the backup jobs The director needs to be able to connect to the clients, storage daemons and database (all can be on different machines). The clients need to be able to connect to the director and the storage. The director will initiate the backup not the client. John -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula setup using multiple disks...
Hai da, together!! Could anyone provide us with an example script on how to setup bacula using multiple disks and automated labeling, please? Thousands of thanks... Ralf :- +-- |This was sent by stec...@lifebiosystems.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- 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
[Bacula-users] Bacula setup driving me nuts
That is good now test the bacula mtx-changer Pf thx guys thru testing with mtx-changer i solved my problem [Rolling Eyes] finaly i ended up switching the cabels at the back off the backup unit. needed to make from sg5 sg4 and it worked. Stupid me. Thx for the help. Marcel +-- |This was sent by marcel.van.gereste...@steltix.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- 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
[Bacula-users] Bacula setup driving me nuts
That is good now test the bacula mtx-changer Pf thx guys thru testing with mtx-changer i solved my problem [Rolling Eyes] finaly i ended up switching the cabels at the back off the backup unit. needed to make from sg5 sg4 and it worked. Stupid me. Thx for the help. Marcel +-- |This was sent by marcel.van.gereste...@steltix.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- 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 setup driving me nuts
On Thu, Aug 25, 2011 at 2:19 AM, selanty bacula-fo...@backupcentral.com wrote: That is good now test the bacula mtx-changer Pf thx guys thru testing with mtx-changer i solved my problem [Rolling Eyes] finaly i ended up switching the cabels at the back off the backup unit. needed to make from sg5 sg4 and it worked. Stupid me. On my system at work I wrote a udev rule to make the autochanger a device node that will never change regardless of the HW I add to the server. John -- 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 setup driving me nuts
On Thu, Aug 25, 2011 at 10:59 AM, mark.berg...@uphs.upenn.edu wrote: In the message dated: Thu, 25 Aug 2011 05:44:00 EDT, The pithy ruminations from John Drescher on Re: [Bacula-users] Bacula setup driving me nuts were: = On Thu, Aug 25, 2011 at 2:19 AM, selanty bacula-fo...@backupcentral.com wrote: = That is good now test the bacula = = mtx-changer = = Pf thx guys thru testing with mtx-changer i solved my problem = [Rolling Eyes] finaly i ended up switching the cabels at the back off the backup unit. = needed to make from sg5 sg4 and it worked. Stupid me. = = On my system at work I wrote a udev rule to make the autochanger a = device node that will never change regardless of the HW I add to the = server. Example, please? Here is what I use for my exabyte magnum 224 dev6 ~ # cat /etc/udev/rules.d/55-bacula.rules SUBSYSTEMS==scsi,ATTRS{vendor}==EXABYTE*,ATTRS{type}==8, SYMLINK+=autochanger1 SUBSYSTEMS==scsi,ATTRS{vendor}==EXABYTE*,ATTRS{type}==8, SYMLINK+=changer John -- 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
[Bacula-users] Bacula setup driving me nuts
Hi all, I have a strange problem when i try to mount a tape. First what i have i use centos 5.4 with bacula 5.0.3 Hardware is an IBM TS3100 (3573-TL) with 2 LTO5 (ULT3580-HH5) config from bacula-sd.conf Autochanger { Name = Autochanger Device = LTO5_1, LTO5_2 Changer Device = /dev/sg5 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d } Device { Name = LTO5_1 Drive Index = 0 Media Type = LTO5 Archive Device = /dev/st0 Autochanger = yes Automatic Mount = yes Always Open = yes Removable Media = yes Random Access = no Requires Mount = no Maximum Job Spool Size = 12G Spool directory = /var/spool Label Type = Bacula Check Labels = yes Label Media = no } Device { Name = LTO5_2 Drive Index = 1 Media Type = LTO5 Archive Device = /dev/st1 Autochanger = yes Automatic Mount = yes Always Open = yes Removable Media = yes Random Access = no Requires Mount = no Maximum Job Spool Size = 12G Spool directory = /var/spool Label Type = Bacula Check Labels = yes LabelMedia = no Config from bacula-dir.conf Storage { Name = AutoChanger Password = host Address = snlbck01.steltix.local SDPort = 9103 Device = Autochanger Media Type = LTO5 Autochanger = yes Maximum Concurrent Jobs = 20 What happens if i want to mount a tape from console i do the following and get the following. *mount Automatically selected Catalog: MyCatalog Using Catalog MyCatalog The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Connecting to Storage daemon AutoChanger at snlbck01.steltix.local:9103 ... Enter autochanger drive[0]: 0 Enter autochanger slot: 5 3301 Issuing autochanger loaded? drive 0 command. 3302 Autochanger loaded? drive 0, result: nothing loaded. 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) 3301 Issuing autochanger loaded? drive 0 command. 3302 Autochanger loaded? drive 0, result is Slot 5. 3901 Unable to open device LTO5_1 (/dev/st0): ERR=dev.c:491 Unable to open device LTO5_1 (/dev/st0): ERR=No medium found Then i ask the Status and get the following *status Status available for: 1: Director 2: Storage 3: Client 4: All Select daemon type for status (1-4): 2 The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Connecting to Storage daemon AutoChanger at snlbck01.steltix.local:9103 snlbck01.steltix.local-sd Version: 5.0.3 (04 August 2010) i686-pc-linux-gnu redhat Daemon started 23-Aug-11 14:20. Jobs: run=0, running=0. Heap: heap=135,168 smbytes=24,942 max_bytes=122,999 bufs=100 max_bufs=108 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Device status: Autochanger Autochanger with devices: LTO5_1 (/dev/st0) LTO5_2 (/dev/st1) Device FileStorage (/tmp) is not open. Device LTO5_1 (/dev/st0) is not open. Slot 5 is loaded in drive 0. Device LTO5_2 (/dev/st1) is not open. Drive 1 status unknown. Used Volume status: so the tape is loaded in the correct drive but not mounted. then i try another mount *mount The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 Enter autochanger slot: 3901 Unable to open device LTO5_1 (/dev/st0): ERR=dev.c:491 Unable to open device LTO5_1 (/dev/st0): ERR=No medium found wont mount and then i do the following mount. *mount The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Enter autochanger drive[0]: 1 Enter autochanger slot: 3301 Issuing autochanger loaded? drive 1 command. 3302 Autochanger loaded? drive 1, result: nothing loaded. 3001 Mounted Volume: SCR02 3001 Device LTO5_2 (/dev/st1) is already mounted with Volume SCR02 and the tape is mounted to LTO5_2 while it should LTO5_1 if ask for status it tells me this Device status: Autochanger Autochanger with devices: LTO5_1 (/dev/st0) LTO5_2 (/dev/st1) Device FileStorage (/tmp) is not open. Device LTO5_1 (/dev/st0) is not open. Slot 5 is loaded in drive 0. Device LTO5_2 (/dev/st1) is mounted with: Volume: SCR02 Pool:*unknown* Media type: LTO5 Drive 1 status unknown. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=1 Block=0 Used Volume status: SCR02 on device LTO5_2 (/dev/st1) Reader=0 writers=0 devres=0 volinuse=0 I am totaly lost i asked at first to mount on drive 0 LTO and ending up on LTO5_2 it does this with jobs to when i manualy move the tape to drive1 the jobs goes further What could be wrong i dont know anymore btw i am a newby with bacula so dont shoot me for asking stupid things i googled and googled but couldnt find anything about it. Regards Marcel +-- |This was sent by marcel.van.gereste...@steltix.com via Backup Central. |Forward SPAM to ab...@backupcentral.com.
Re: [Bacula-users] Bacula setup driving me nuts
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
[Bacula-users] Bacula setup driving me nuts
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 +-- |This was sent by marcel.van.gereste...@steltix.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- 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 setup driving me nuts
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 setup driving me nuts
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 That is good now test the bacula mtx-changer script. You may have to modify this scrip to work with your changer. On my system this script is in /usr/libexec/bacula/ John -- 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 setup driving me nuts
Hi, Only for testing, could you use /dev/nst0 and /dev/nst1 in Device section. This use the non-rewind device type. Try mount again then. J. 2011/8/23 selanty bacula-fo...@backupcentral.com: Hi all, I have a strange problem when i try to mount a tape. First what i have i use centos 5.4 with bacula 5.0.3 Hardware is an IBM TS3100 (3573-TL) with 2 LTO5 (ULT3580-HH5) config from bacula-sd.conf Autochanger { Name = Autochanger Device = LTO5_1, LTO5_2 Changer Device = /dev/sg5 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d } Device { Name = LTO5_1 Drive Index = 0 Media Type = LTO5 Archive Device = /dev/st0 Autochanger = yes Automatic Mount = yes Always Open = yes Removable Media = yes Random Access = no Requires Mount = no Maximum Job Spool Size = 12G Spool directory = /var/spool Label Type = Bacula Check Labels = yes Label Media = no } Device { Name = LTO5_2 Drive Index = 1 Media Type = LTO5 Archive Device = /dev/st1 Autochanger = yes Automatic Mount = yes Always Open = yes Removable Media = yes Random Access = no Requires Mount = no Maximum Job Spool Size = 12G Spool directory = /var/spool Label Type = Bacula Check Labels = yes LabelMedia = no Config from bacula-dir.conf Storage { Name = AutoChanger Password = host Address = snlbck01.steltix.local SDPort = 9103 Device = Autochanger Media Type = LTO5 Autochanger = yes Maximum Concurrent Jobs = 20 What happens if i want to mount a tape from console i do the following and get the following. *mount Automatically selected Catalog: MyCatalog Using Catalog MyCatalog The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Connecting to Storage daemon AutoChanger at snlbck01.steltix.local:9103 ... Enter autochanger drive[0]: 0 Enter autochanger slot: 5 3301 Issuing autochanger loaded? drive 0 command. 3302 Autochanger loaded? drive 0, result: nothing loaded. 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) 3301 Issuing autochanger loaded? drive 0 command. 3302 Autochanger loaded? drive 0, result is Slot 5. 3901 Unable to open device LTO5_1 (/dev/st0): ERR=dev.c:491 Unable to open device LTO5_1 (/dev/st0): ERR=No medium found Then i ask the Status and get the following *status Status available for: 1: Director 2: Storage 3: Client 4: All Select daemon type for status (1-4): 2 The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Connecting to Storage daemon AutoChanger at snlbck01.steltix.local:9103 snlbck01.steltix.local-sd Version: 5.0.3 (04 August 2010) i686-pc-linux-gnu redhat Daemon started 23-Aug-11 14:20. Jobs: run=0, running=0. Heap: heap=135,168 smbytes=24,942 max_bytes=122,999 bufs=100 max_bufs=108 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Device status: Autochanger Autochanger with devices: LTO5_1 (/dev/st0) LTO5_2 (/dev/st1) Device FileStorage (/tmp) is not open. Device LTO5_1 (/dev/st0) is not open. Slot 5 is loaded in drive 0. Device LTO5_2 (/dev/st1) is not open. Drive 1 status unknown. Used Volume status: so the tape is loaded in the correct drive but not mounted. then i try another mount *mount The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 Enter autochanger slot: 3901 Unable to open device LTO5_1 (/dev/st0): ERR=dev.c:491 Unable to open device LTO5_1 (/dev/st0): ERR=No medium found wont mount and then i do the following mount. *mount The defined Storage resources are: 1: File 2: AutoChanger Select Storage resource (1-2): 2 Enter autochanger drive[0]: 1 Enter autochanger slot: 3301 Issuing autochanger loaded? drive 1 command. 3302 Autochanger loaded? drive 1, result: nothing loaded. 3001 Mounted Volume: SCR02 3001 Device LTO5_2 (/dev/st1) is already mounted with Volume SCR02 and the tape is mounted to LTO5_2 while it should LTO5_1 if ask for status it tells me this Device status: Autochanger Autochanger with devices: LTO5_1 (/dev/st0) LTO5_2 (/dev/st1) Device FileStorage (/tmp) is not open. Device LTO5_1 (/dev/st0) is not open. Slot 5 is loaded in drive 0. Device LTO5_2 (/dev/st1) is mounted with: Volume: SCR02 Pool: *unknown* Media type: LTO5 Drive 1 status unknown. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=1 Block=0 Used Volume status: SCR02 on device LTO5_2 (/dev/st1) Reader=0 writers=0 devres=0 volinuse=0 I am totaly lost i asked at first to mount on drive 0 LTO and ending up on LTO5_2 it does this with jobs to when i manualy move the tape to drive1 the jobs goes further What could be wrong i dont know anymore btw i am a newby
[Bacula-users] Bacula setup help
Hi, I am trying to install Bacula for the first time. I am running on Fedora 8. I followed this link to install it: http://wiki.bacula.org/doku.php?id=howto_install_and_configure_bacula_on_fedora_9_using_yum Steps: *Install all of the following packages Dependencies are listed inside {} and will install automatically.* yum install mysql-devel {mysql} yum install myql-server yum install bacula-storage-mysql {bacula-common} {bacula-storage-common} {fedora-usermgmt] [fedora-usermgmt-core} [fedora-usermgmt-default} {fedora-usermgmt-shadow-utils} yum install bacula-docs yum install bacula-director-mysql {bacula-director-common} yum install bacula-console-gnome yum install bacula-console yum install bacula-client yum install bacula-traymonitor *Configure the MySQL for Bacula* Start the mysqld service (service mysqld start) Set MySQL to start on reboot (chkconfig mysqld on) change the root password to mysql (mysqladmin -u root password 'new-password') (alternately) /usr/bin/mysql_secure_installation will change password, and remove default test databases and anonymous user DO NOT REMOVE login REMOTELY YET. /usr/libexec/bacula/grant_mysql_privileges -u root -p /usr/libexec/bacula/create_mysql_database -u root -p /usr/libexec/bacula/make_mysql_tables -u root -p /usr/libexec/bacula/grant_bacula_privileges -u root -p *Edit config files and change the default passwords or the services will not start* /etc/bacula/bacula-dir.conf (change Director password, change address and password on Client, change Storage Address and Password, change Console password) /etc/bacula/bacula-fd.conf (Change bacula-fd password, change bacula-mon password) /etc/bacula/bacula-sd.conf (change bacula-dir password, change bacula-mon password, change Device {Archive Device to /backup) /etc/bacula/bconsole.conf (change Address and Password) /etc/bacula/gnome-console.conf (change Address and Password) /etc/bacula/tray-monitor.conf (change Address Password and additionally change Director name to localhost) Create the backup folder (mkdir /backup) *Start the services* service bacula-dir start service bacula-fd start service bacula-sd start (starting this will fail until the Archive Device is configured in the conf file) *You can then launch the Bacula tray monitor or the Bacula console from the applications/system tools menu and it should show no errors.* ** * This works perfectly for me. Now i am trying to install BAT: bacula-bat-2.4.4-1.fc9.i386.rpm when i try to compile this i get the following: warning: bacula-bat-2.4.4-1.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 10a792ad error: Failed dependencies: glibc = 2.8 is needed by bacula-bat-2.4.4-1.i386 libcrypto.so.7 is needed by bacula-bat-2.4.4-1.i386 libssl.so.7 is needed by bacula-bat-2.4.4-1.i386 I tried installing the openssl pkgs to get libcrypto.so.7 and libssl.so.7, however that does not help. Tried installing glibc-2.8, but that requires glibc-common-2.8 What is the best way to get rid of this ? Kindly give me some links to download the missing dependencies. Regards, -- Ravishankar Bharadwaj -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Setup for 300 clients 20 Servers
Oops; forgot to reply all... I set up, for my web server, after a pretty disastrous outage a couple months ago, a bacula system where, from home, I have a mac laptop open up a vpn tunnel to the server, and then use that tunnel to back up the entire server. Not as big a job as it sounds, as it's pretty small time, but, the tunnel works very well for me. Matter of fact, given the way I have things set up at home, between firewalls and other fun things, tunneling (either by ssh or by vpn) was the only way I had to be able to get my backups easily. My setup is exceptionally bush league, at the moment: Virtual private server running vpn and bacula-fd mac laptop (old g3 pismo) running vpn client and bacula-dir/sd/fd External USB hard drive (20G). That said, it works, and it works well, even with that low level of equipment. Every night, I get an incremental backup., and I am comfortable that I can, even if something happened to my fruitbook, take the hard drive and recover my data at any time. The initial backup was a couple of gigs; after that, a couple of megs a night comes across. At this point, I'm now even considering offering that solution to some folks in my neighborhood who worry about data loss, too. Eventually, upgrading it to a solution for schools, etc. in the area seems like a really good idea. The really nice thing being, once you set it up right, you pretty well can just let it run and let it notify you of problems that you'll need to fix. Put a real server-class system together, on a network with real bandwidth, and you have an exceptionally powerful system. The inital backup is going to suck up a lot of time and bandwidth. I'd recommend, while you're doing your planning, that you back up in groups, to get things started. I.e. get all your local users, first. Then, once their full backup is done, start the remote users, etc. I suspect, if you're going to be dealing with that many, you might even break it down into sectors (local accounting, local graphics guys, local web guys, etc.). If you're going to be tweaking the user filesets a lot, initially, I'd make a suggestion. I recently learned about the IgnoreFilesetChanges notion, which might come in really handy for you as you tweak different users' backup filesets - that way, you don't automatically perform a full backup every time you tweak (you can still perform that, if you want, but it isn't automatic). -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Setup for 300 clients 20 Servers
Hello list, We are currently in the process of scrapping our old backup solution (windows nt client backup), and going with Bacula. I have been tasked with setting up a test environment for this. As of right now I have bacula backing up 6 clients to an external SD. The DIR SD are located on the same server for testing purposes (The SD is an external 1TB drive for testing purposes). But alas, I need a little guidance on how to properly implement this. This is the layout: Local Servers = ~ 20 (Linux servers running oracle windows servers running various services) Remote Servers = ~ 10 (Linux Windows) Local Clients = ~150 (Windows XP, Vista) Remote Clients = ~150 (20 off-site locations scattered across the US). As of right now: *I figured we would have a different pool for each department (accounting, legal, etc) to better manage pools. *The filesets are individual for each user (as each user has different things needed backed up). *Each Department has a different Pool, along with a different Volume (max 2gb each vol) that is labeled for their department (IT001, Legal001, etc). * The backup schedules are tailored to the department as well, to easily manage backup times across the network (so that there are not 190+ backups queued on the director waiting to backup) * Client backups are saved for a max of 14 days, at which time the volumes will be overwritten with the newest data. SD: *Remote Clients will be backed up to a remote SD *Local clients are backed up to a local SAN *Servers are backed up every day (full once a week, incremental-differential during the week) to the SAN, then full back-ups to an 8-tape autoloader at the end of the week. What Im wondering is this: *Is this the right way to go about this? Different Pools for different departments (I think it would be easier to maintain a scheduled backup time for each department rather than having to remember what computer backs up at what time) *Because of the vast volume of machines being backed up, should I have 3 separate directors (Servers, Local Clients, Remote Servers)? *The remote offices have between 5-20 clients, and 1 server at each location. I figured that they would all report to the local director here at the main office, and back up to a SD at their remote site. This way we can minimize the amount of traffic going through the VPN/WAN, but yet still be able to administer the restoring and backup functionality remotely in a centralized location. Has anyone done a backup to this scale with such a large variety of servers, clients remote clients? Thank you for your time, Jayson Broughton Linux Systems Administrator True Oil LLC jbrough...@truecos.com The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you.-- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
Hello Frank, obviously I found an expert... Thanks for your reply. The reason why I decided to have so many different pools was motivated by the (confusing) examples in the manual, so I DID read it, even more than twice ;-) My problem is, that I have to write to both tapes simultaneously for timing reason (but spooling to my HD-RAID). That's why I don't have a tape changer and introduced the two different pools for 'full' and 'incremental'. If it is possible to write in parallel from within only one pool, that would make things easier. Same for the 'mo-fri' pools. I thought I would need that complicated setup in order to tell bacula to start a new tape every day as the example given in the manual shows. Thanks to your explanation I know now, that this is not necessary and can be achieved by the 'volume use duration' setting. That's perfect and answers one of my questions in the last mail completely. But it brings up the retention period question: * Assuming I do the 'full' and the 'incremental' backups, the retention periods for both would be the same, 3 weeks,right? The 'incrementals' can be taped over, after the 'full' has been replaced by a newer 'full' and I don't want to keep the 'fulls' longer than the incrementals... Or is it 3 weeks-1 day ? To avoid double entries for the first clients? * Assuming I had also 'differentials' once a week as you suggested, the retention periods would be 3 weeks for 'full', 1 week for 'diffs' and 1 week for 'incrementals', right ? Therefore, to avoid buying a third tape drive I would have to put the 'diffs' into the 'incremental' pool, because then retention periods differ. Do I get this right? And a more practial question: * 'Amanda' has this nice feature to send me a mail which tape to put into each drive before leaving office ('amcheck' cronjob). How does bacula remind me which tapes to put in today ? Your help is really appreciated! Thanks a lot, Ralf - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
And a more practial question: * 'Amanda' has this nice feature to send me a mail which tape to put into each drive before leaving office ('amcheck' cronjob). How does bacula remind me which tapes to put in today ? You can have it do that when a job is running and a tape is needed but I am not sure of a way of doing that before the job that needs the tape is running. John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
wow, that was quick! You can have it do that when a job is running and a tape is needed but Right, I already configured that. I am not sure of a way of doing that before the job that needs the tape is running. O.K., that's not good, 'cause I will not wait in the office until Bacula complains at 1a.m... Will have to write my own cronjob. The DB knows, what tape is expected, is that correct? Thanks, Ralf John Drescher schrieb: And a more practial question: * 'Amanda' has this nice feature to send me a mail which tape to put into each drive before leaving office ('amcheck' cronjob). How does bacula remind me which tapes to put in today ? You can have it do that when a job is running and a tape is needed but I am not sure of a way of doing that before the job that needs the tape is running. John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Ralf Auer Physics Institute IVOffice: 2.137 University of Erlangen-NurembergPhone: +49-9131-8527087 Erwin-Rommel-Str. 1 Fax:+49-9131-15249 D-91058 Erlangen, Germany [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
Ralf Auer wrote: Hello Frank, obviously I found an expert... Thanks for your reply. Eh, I've just read the manual a few times =) The reason why I decided to have so many different pools was motivated by the (confusing) examples in the manual, so I DID read it, even more than twice ;-) My problem is, that I have to write to both tapes simultaneously for timing reason (but spooling to my HD-RAID). That's why I don't have a tape changer and introduced the two different pools for 'full' and 'incremental'. If it is possible to write in parallel from within only one pool, that would make things easier. Absolutely - just make sure that you've got all of your max concurrency settings set correctly (there's a chapter in the manual on this), and you can have multiple jobs of the same priority running at the same time. Note that it's a really good idea to use spooling in this scenario. Same for the 'mo-fri' pools. I thought I would need that complicated setup in order to tell bacula to start a new tape every day as the example given in the manual shows. Thanks to your explanation I know now, that this is not necessary and can be achieved by the 'volume use duration' setting. That's perfect and answers one of my questions in the last mail completely. Great! But it brings up the retention period question: * Assuming I do the 'full' and the 'incremental' backups, the retention periods for both would be the same, 3 weeks,right? The 'incrementals' can be taped over, after the 'full' has been replaced by a newer 'full' and I don't want to keep the 'fulls' longer than the incrementals... Or is it 3 weeks-1 day ? To avoid double entries for the first clients? You could have them set the same, but you don't have to. Also, just a quick clarification - retention period control how long records are kept in the database. You want to look at recycling to determine when Bacula will overwrite an existing volume with new backup data. As for double entries, that's not a problem at all - the catalog will keep track of everything for you, and on restore, you can just tell Bacula to use the most recent backup, and it will just do the right thing. * Assuming I had also 'differentials' once a week as you suggested, the retention periods would be 3 weeks for 'full', 1 week for 'diffs' and 1 week for 'incrementals', right ? Therefore, to avoid buying a third tape drive I would have to put the 'diffs' into the 'incremental' pool, because then retention periods differ. Do I get this right? That sounds right to me, but you would definitely want to test it out to make sure - getting all of the retention periods right can be a little tricky. And a more practial question: * 'Amanda' has this nice feature to send me a mail which tape to put into each drive before leaving office ('amcheck' cronjob). How does bacula remind me which tapes to put in today ? I've never dealt with this myself (I just use a library), but I believe that suggestions on this have come through the mailing list in the past. -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
Hi Frank, nice to get so much help. My problem is, that I have to write to both tapes simultaneously for timing reason (but spooling to my HD-RAID). That's why I don't have a tape changer and introduced the two different pools for 'full' and 'incremental'. If it is possible to write in parallel from within only one pool, that would make things easier. Absolutely - just make sure that you've got all of your max concurrency settings set correctly (there's a chapter in the manual on this), and you can have multiple jobs of the same priority running at the same time. Note that it's a really good idea to use spooling in this scenario. I know that I can have several jobs running at the same time, and I do know that I can specify the 'Device'-directive in the 'Scheduler' to decide on the tape drive, but up to know I am a little afraid something gets mixed up with the tape handling But probably I am wrong, I will think about it again. As for double entries, that's not a problem at all - the catalog will keep track of everything for you, and on restore, you can just tell Bacula to use the most recent backup, and it will just do the right thing. Right, but it would cost me at least one or two tapes more... (o.k., they're cheap, but just for the principle thing). Also, just a quick clarification - retention period control how long records are kept in the database. You want to look at recycling to determine when Bacula will overwrite an existing volume with new backup data. Of course, what I meant was 'recycling'. Sorry for that. But if I decide to have different recycling periods, then I would have to go for different pools again... (see your next answer) * Assuming I had also 'differentials' once a week as you suggested, the retention periods would be 3 weeks for 'full', 1 week for 'diffs' and 1 week for 'incrementals', right ? Therefore, to avoid buying a third tape drive I would have to put the 'diffs' into the 'incremental' pool, because then retention periods differ. Do I get this right? That sounds right to me, but you would definitely want to test it out to make sure - getting all of the retention periods right can be a little tricky. Yea, that's what I meant above, except for mixing retention and recycling again... And a more practial question: * 'Amanda' has this nice feature to send me a mail which tape to put into each drive before leaving office ('amcheck' cronjob). How does bacula remind me which tapes to put in today ? I've never dealt with this myself (I just use a library), but I believe that suggestions on this have come through the mailing list in the past. Apparently it is not (yet) implemented in Bacula, there was already an answer a few seconds ago. But Bacula is always expecting a specific tape, it does not use any tape in the drive, does it? So at least the DB should know, wicht tapes to be used next, so I think I can ask crond to start a skript to check that from db for me. By the way, this brings up another, hopefully last, question: Let's assume, again, my backup is running fine. Only one pool. 3 Weeks recycling period. Full and incremental. Every night one tape is sufficient. So I guess I will have 15 tapes, each containing one day's backup. Now, for some reason, on day 07 the backup does not fit on the 07 tape. So what does Bacula do? Does it ask for the next tape, namely 08? This would erase 08's backup that has not yet been replaced! Or does it ask for a new tape? If so, will this tape belong to the pool forever and be named 07a or something? And what happens next month, if 07 is sufficient again, will bacula write to 07a or to 08? I am afraid I have not fully understood bacula's tape handling yet ... This is also the reason for my uncertainity concerning the first paragraph in this mail. Thanks again, Ralf -- Ralf Auer Physics Institute IVOffice: 2.137 University of Erlangen-NurembergPhone: +49-9131-8527087 Erwin-Rommel-Str. 1 Fax:+49-9131-15249 D-91058 Erlangen, Germany [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
I do not believe the DB has this information as this is handled by the scheduler while bacula is running. Although it may be possible for you to query the list of jobs to be run then try to figure out what tape would be needed. But the scheduler has to get his info from somewhere or somebody... For me I have never thought of this because I really do not need this feature. I have a 24 tape LTO2 library which always has a few tapes in the Scratch pool and for my single drives I use a single pool with no time restrictions on volume usage so about 1 time every 2 weeks I need to switch tapes in the morning. And obviously my disk volumes do not need switching. When Bacula complains about a full tape, does it ask for a new one, a specific one or 'any' tape? An answer to this question would probably help me to understand bacula's tape handling, it's so different from Amanda's ... Thanks, Ralf - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
On 7/31/07, Ralf Auer [EMAIL PROTECTED] wrote: wow, that was quick! You can have it do that when a job is running and a tape is needed but Right, I already configured that. I am not sure of a way of doing that before the job that needs the tape is running. O.K., that's not good, 'cause I will not wait in the office until Bacula complains at 1a.m... Will have to write my own cronjob. The DB knows, what tape is expected, is that correct? I do not believe the DB has this information as this is handled by the scheduler while bacula is running. Although it may be possible for you to query the list of jobs to be run then try to figure out what tape would be needed. For me I have never thought of this because I really do not need this feature. I have a 24 tape LTO2 library which always has a few tapes in the Scratch pool and for my single drives I use a single pool with no time restrictions on volume usage so about 1 time every 2 weeks I need to switch tapes in the morning. And obviously my disk volumes do not need switching. John John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
On 7/31/07, Ralf Auer [EMAIL PROTECTED] wrote: I do not believe the DB has this information as this is handled by the scheduler while bacula is running. Although it may be possible for you to query the list of jobs to be run then try to figure out what tape would be needed. But the scheduler has to get his info from somewhere or somebody... I believe it figures this out only when a tape is needed for a job because bacula has a very complex tape scheduling routines that allow the user to prefer writable tapes from the same pool in the drives and autoloaders versus selecting a different tape from the pool that is not in the drive or autoloader. For me I have never thought of this because I really do not need this feature. I have a 24 tape LTO2 library which always has a few tapes in the Scratch pool and for my single drives I use a single pool with no time restrictions on volume usage so about 1 time every 2 weeks I need to switch tapes in the morning. And obviously my disk volumes do not need switching. When Bacula complains about a full tape, does it ask for a new one, a specific one or 'any' tape? An answer to this question would probably help me to understand bacula's tape handling, it's so different from Amanda's ... It asks for a specific tape but you can give it any appendable tape from the pool that it is using or a tape from the Scratch pool (see the docs on the Scratch pool) John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
Thank You. because bacula has a very complex tape scheduling routines... Right, and that confuses an (ex-)Amanda user like me... It asks for a specific tape but you can give it any appendable tape from the pool that it is using or a tape from the Scratch pool (see the docs on the Scratch pool) O.K., that really helps a lot, because with all this 'complex scheduling' I was not sure at all, if there is some sort of tape order at all... Thanks again for all your help! Ralf John Drescher schrieb: On 7/31/07, Ralf Auer [EMAIL PROTECTED] wrote: I do not believe the DB has this information as this is handled by the scheduler while bacula is running. Although it may be possible for you to query the list of jobs to be run then try to figure out what tape would be needed. But the scheduler has to get his info from somewhere or somebody... I believe it figures this out only when a tape is needed for a job because bacula has a very complex tape scheduling routines that allow the user to prefer writable tapes from the same pool in the drives and autoloaders versus selecting a different tape from the pool that is not in the drive or autoloader. For me I have never thought of this because I really do not need this feature. I have a 24 tape LTO2 library which always has a few tapes in the Scratch pool and for my single drives I use a single pool with no time restrictions on volume usage so about 1 time every 2 weeks I need to switch tapes in the morning. And obviously my disk volumes do not need switching. When Bacula complains about a full tape, does it ask for a new one, a specific one or 'any' tape? An answer to this question would probably help me to understand bacula's tape handling, it's so different from Amanda's ... It asks for a specific tape but you can give it any appendable tape from the pool that it is using or a tape from the Scratch pool (see the docs on the Scratch pool) John -- Ralf Auer Physics Institute IVOffice: 2.137 University of Erlangen-NurembergPhone: +49-9131-8527087 Erwin-Rommel-Str. 1 Fax:+49-9131-15249 D-91058 Erlangen, Germany [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
because bacula has a very complex tape scheduling routines... Its even more complex. One thing I missed is what happens when a job needs a tape from a pool but all tapes in the pool are marked as Full, Used, Error or Archive. I believe in this case bacula first checks if it can Recycle any tapes then it purges all jobs from the tapes and marks them as Purged and then it will prompt you for one of the tapes it purged following the rules I talked about earlier. BTW, Here is an example of what I do with bacula on one of my tape drives: At work we use a DLT-IV drive to backup the user public and private folders which are both between 50 and 80GB each. I run both of these independently on a Weekly backup cycle that includes 1 Full backup per month on Sunday @ 23:59, Differentials every 2nd and 5th Sunday with incrementals for mon to sat. I have the Volume retention set at 90 days. In this pool I have 10 DLT-IV tapes in which I keep rotating as bacula asks for the next one. I have been using these same tapes in this way every day for the last 3 years and it has worked quite well. Although, I admit it is very rare that my users ask for me to recover something as the both user folders are on RAID6 arrays that syncs with a second RAID6 array each night. John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula setup plans - expert's help needed please
Hello everybody, I need a little help from someone more experienced with Bacula than I am. My cluster consists of ~40 clients, the total amount of data that has to be backed up is around 6 TB. To accomplish this I have two HP Ultrium 960 (400/800GB) and a sufficient number of tapes. I am planning to have a 'full' backup of all my clients every two or three weeks and 'incrementals' all other workdays. My plan is, to have about three computers per night in the 'full' backup, all others in the 'incremental'. The next night, the next three in the 'full' and so on, so that after ~3 weeks all clients have been fully backuped and we will start with the first ones again. According to the manual, the best way to do so is to define two pools, a 'full' and an 'incremental' which also allows me to write to the two tape drives simultaneously (one for each pool), which is mandatory since backups have to be done quite quickly at my site. In addition I have to run my backups on a 'daily tape rotation' basis. So, if I understand correctly, I would need another 5 pools (mo-fri). That makes 10 pools for mo/fr, full/inc. Now I have two questions. * Does this setup sound reasonable to you, or did I get something completely wrong? I would be happy, if there was an easier way... * How do I know, how many tapes I have to assign to each pool, because the amount of data is by far not constant per day and client. I do not want to have unused tapes, only because they were needed once. Let me give you an example. Let's assume, that usually one tape for the 'full' and one tape for the 'incremental' per night is sufficient. Then I would assign one tape to each pool. During one Tuesday night the 'full'-pool runs out of tape, because some user has produced a TB of data the last day. Then, I guess, I would have to add another volume to the 'full-tuesday' pool and finish the backup on Wednesday morning, right? But what happens, if all other Tuesdays one tape is sufficient again ? Do I have to put a date sticker on that once used 'extra' tape and check/erase that tape manually after the first tuesday run where it was not needed so that I could use it for another day's oversize backup? You see, the very same setup was very easy in Amanda I used up to now. The only thing I had to do was to create two identical setups and put 50% of my clients in the one (using tape1) and the other 50% in the otherone using tape2, tell Amanda how many tapes I have and that's it. All the full, incremental and daily rotation thing is handled fully automatically. I would be very happy if somebody could help me with these questions! Thanks in advance, Ralf - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula setup plans - expert's help needed please
Ralf Auer wrote: Hello everybody, I need a little help from someone more experienced with Bacula than I am. My cluster consists of ~40 clients, the total amount of data that has to be backed up is around 6 TB. To accomplish this I have two HP Ultrium 960 (400/800GB) and a sufficient number of tapes. Sounds like a pair of LTO3 drives. Are they just a pair of standalone drives, or do you have a library with a tape changer? I am planning to have a 'full' backup of all my clients every two or three weeks and 'incrementals' all other workdays. You may also want to throw in some differential backups in there as well, to a) cut down on the number of tapes that will be required to go through on a restore, and b) reduce the impact of losing a tape. My plan is, to have about three computers per night in the 'full' backup, all others in the 'incremental'. The next night, the next three in the 'full' and so on, so that after ~3 weeks all clients have been fully backuped and we will start with the first ones again. Sounds quite reasonable - I'm doing a similar rotation here. According to the manual, the best way to do so is to define two pools, a 'full' and an 'incremental' which also allows me to write to the two tape drives simultaneously (one for each pool), which is mandatory since backups have to be done quite quickly at my site. While this may be a good idea in terms of managing which backups go to which volumes, but it's by no means necessary, especially if you've got a tape library. I have a two drive library here, and have four simultaneous backups going to two tapes in the same pool at a time via spooling. In addition I have to run my backups on a 'daily tape rotation' basis. So, if I understand correctly, I would need another 5 pools (mo-fri). That makes 10 pools for mo/fr, full/inc. That's one option if you want to force a particular tape to be used on a particular day. The usual reason is you've got exactly enough tapes for one cycle, and you want to just cycle through them. Now I have two questions. * Does this setup sound reasonable to you, or did I get something completely wrong? I would be happy, if there was an easier way... It sounds reasonable as a first pass. * How do I know, how many tapes I have to assign to each pool, because the amount of data is by far not constant per day and client. I do not want to have unused tapes, only because they were needed once. Simple answer - enough tapes to hold however much data you back up =) Let me give you an example. Let's assume, that usually one tape for the 'full' and one tape for the 'incremental' per night is sufficient. Then I would assign one tape to each pool. During one Tuesday night the 'full'-pool runs out of tape, because some user has produced a TB of data the last day. Then, I guess, I would have to add another volume to the 'full-tuesday' pool and finish the backup on Wednesday morning, right? But what happens, if all other Tuesdays one tape is sufficient again ? Do I have to put a date sticker on that once used 'extra' tape and check/erase that tape manually after the first tuesday run where it was not needed so that I could use it for another day's oversize backup? You see, the very same setup was very easy in Amanda I used up to now. The only thing I had to do was to create two identical setups and put 50% of my clients in the one (using tape1) and the other 50% in the otherone using tape2, tell Amanda how many tapes I have and that's it. All the full, incremental and daily rotation thing is handled fully automatically. Okay, more seriously, 90% of the time, the best answer in Bacula is actually not to try to control that tightly what data goes on what volume. In this case, for example, (assuming that you have a library) a better way might be to simply set a volume use duration period of 24 hours. That would mean that 24 hours after each volume is used, it would be marked in the catalog such that no more backups would be placed onto it until it gets recycled, which in turn is controlled by the retention periods. Also note that with a library, spanning tapes is a pretty trivial event for Bacula. Once it hits the end of a tape, it simply grabs another volume from the appropriate pool and pick up right where it left off. This is a particularly big advantage over Amanda if you've got a single fileset that is larger than your volume size, as (the last time I looked, at least) Amanda couldn't span tapes. Another advantage for you by doing this would be that you can simply stuff your library full of tapes, and put them into a scratch pool. Bacula will then simply shuffle a tape out of the scratch pool into the full or incremental pool as needed, so you won't have to worry about guessing how many tapes are needed for a particular night's backups. Volume management in Bacula is fundamentally different from Amanda, and very flexible, but that flexibility brings with it