Re: [Bacula-users] Scaling Bacula

2012-03-18 Thread Dietz Pröpper
Adrian Reyer:
 Make sure you have cache ram on your raid controller and a battery
 backup unit installed. MySQL and Postgres like to write in sync. With
 BBU+cache the write is completed as soon as the controller has the data,
 no need to wait for disks. I doubt RAID0 would gain you much if any.

Using a SSD for the database storage should speed up the setup 
considerably. In my experience, they feel a bit like a in-memory database 
;-).

RAID0 for the spinning disks won't give much of a win, because database 
stuff is normally more bound to seek performance, than to io bandwidth, and 
only the latter will improve in that setup.

regards,
Dietz
-- 
To be a bug is a dumb thing, a silly and a bump thing,
but to be a bug is something, and You're not a thing at all.


signature.asc
Description: This is a digitally signed message part.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Long-term off-site storage with Bacula

2012-03-18 Thread Justin Finkelstein
Hi all

I've a backup scenario I'm wanting to implement with bacula, but need
some advice about whether this is a correct, stable approach.

The scenario is this: our office want an off-site backup, preferably
using bacula as we're used to it. Due to the slow nature of our office's
ADSL link, we want to do this:

1. We set up a box with a RAID5 array to store backed-up data
2. Do one full backup of all of our data (about 1TB) before taking
the machine off-site
3. Do monthly full backups of the data, with daily differential
backups (rather than incremental) to make restoration reasonably quick
(daily backups amount to ~50MB max)

Having talked to someone on the #bacula IRC channel, they've suggested
we start with a Base backup type, so my strategy would be this:

1. Create a Base backup with the machine on-site
2. Configure monthly Full backups based on the base, to run off-site
3. Configure daily differentials as per normal
4. Set up bacula-fd to encrypt all data submitted as per
instructions online
5. Set up SSH tunnels into the office to run bacula over

Does this sound reasonably sensible?

Thanks,

Justin 

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FreeBSD - libbaccats-5.2.6.so not found after upgrading

2012-03-18 Thread Dan Langille
On Mar 2, 2012, at 3:46 PM, Silver Salonen wrote:

 On Fri, 2 Mar 2012 20:32:27 +, Doug Sampson wrote:
 On 02/03/2012 16:52, Doug Sampson wrote:
 Hello-
 
 While upgrading from 5.2.3 to 5.2.6 on a FreeBSD 9.0-RELEASE 
 machine and
 restarting, I encountered an error as follows:
 
 ===  Done displaying pkg-message files
 
 ===  Upgrade of bacula-client-5.2.3 to bacula-client-5.2.6 
 complete
 
 root@pisces:/# rehash
 root@pisces:/# /usr/local/etc/rc.d/z-bacula.sh restart
 Stopping the Bacula File daemon
 Stopping the Bacula Storage daemon
 Stopping the Bacula Director daemon
 
 Starting the Bacula Storage daemon
 Starting the Bacula File daemon
 Starting the Bacula Director daemon
 Shared object libbaccats-5.2.6.so not found, required by 
 bacula-dir
 root@pisces:/# find / | g libbaccats
 /usr/local/lib/libbaccats.so.5
 /usr/local/lib/libbaccats-postgresql.so
 /usr/local/lib/libbaccats-postgresql.la
 /usr/local/lib/libbaccats.so
 /usr/local/lib/libbaccats.la
 /usr/local/lib/libbaccats-postgresql.so.5
 root@pisces:/#
 
 Should I create a libbaccats-5.2.6.so symlink to libbaccats.so?
 
 ~Doug
 
 
 Hi Doug,
 
 Did you update both bacula-client *and* bacula-server?
 
 When you update the client it removes all of the shared libraries 
 that
 belong to that version, ie. 5.2.3 in your case, including those used 
 by
 the server binaries.
 
 Yes, I upgraded the server first before upgrading the client. I then
 restarted the services and, lo and behold, the error message. Should 
 I
 reinstall the client?
 
 ~Doug
 
 I think you should first delete both bacula-server and bacula-client, 
 and then install them both. I don't know whether the order matters.
 
 PS. This 2 ports having the same libraries is quite a mess in means of 
 FreeBSD ports, isn't it?


Yes, and it's beyond my skill set (as FreeBSD port maintainer)  to know how to 
do it otherwise.

There was a patch, submitted in January, but I have not had time to review it.  
It was submitted
by Alonso Cárdenas Márquez (a...@freebsd.org).  I have just replied to him 
asking about
a shared library solution.

-- 
Dan Langille - http://langille.org


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users