Re: [Bacula-users] Restoring to different host

2015-04-30 Thread Frank Sweetser

A full solution would be to write an selinux policy, either on your own 
(search for Dan Walsh, he has some excellent selinux troubleshooting guides) 
or by opening a bug report with RedHat.  For a temporary solution, you can 
briefly bypass selinux with the command

setenforce 0

This will let you run your restore.

Frank Sweetser fs at wpi.edu|  For every problem, there is a solution that
Manager of Network Operations   |  is simple, elegant, and wrong.
Worcester Polytechnic Institute |   - HL Mencken

On 4/30/2015 6:25 PM, Craig Shiroma wrote:
> Hi Frank,
>
> Thank you very much for the info!  Yes, this is a RHEL 6.6 box that I'm trying
> to restore to.  After using Romeo's check, it seems selinux is blocking the
> restore.
>
> Is there a best practice for dealing with this situation?
>
> Thanks again,
> -craig
>
>
> On Thu, Apr 30, 2015 at 4:06 AM, Frank Sweetser  <mailto:f...@wpi.edu>> wrote:
>
>
> Is this a RedHat/CentOS box?  They've recently made some changes to the
> selinux configuration around bacula which prevents it from taking pretty 
> much
> any action other thank backups, including running scripts or creating 
> files.
>
> Frank Sweetser fs at wpi.edu <http://wpi.edu>|  For every problem,
> there is a solution that
> Manager of Network Operations   |  is simple, elegant, and wrong.
> Worcester Polytechnic Institute |   - HL Mencken
>
> On 4/29/2015 9:01 PM, Craig Shiroma wrote:
>  > Hello,
>  >
>  > I'm trying to a restore file to a different host's /tmp.  I've select 
> the
>  > target host by changing the value of Restore Client during the restore
>  > process, selecting the desired target host to restore to from the hosts
> list
>  > presented.  However, when I attempt the restore, I get the following 
> error
>  > message:
>  >
>  > 2015-04-29 14:30:09 JobId 83765: Error: makepath.c:142
> Cannot
>  > create directory /tmp/etc: ERR=Permission denied
>  >
>  > Any idea what could be causing the problem?  Restoring to the source
> host is
>  > no problem.
>  >
>  > Note: I replaced the actual hostname with "" in the 
> above
>  > error message.
>  >
>  > Thanks in advance,
>  >
>  > -Craig
>  >
>  >
>  >
>  >
> 
> --
>  > One dashboard for servers and applications across 
> Physical-Virtual-Cloud
>  > Widest out-of-the-box monitoring support with 50+ applications
>  > Performance metrics, stats and reports that give you Actionable 
> Insights
>  > Deep dive visibility with transaction tracing using APM Insight.
>  > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>  >
>  >
>  >
>  > ___
>  > Bacula-users mailing list
>  > Bacula-users@lists.sourceforge.net
> <mailto:Bacula-users@lists.sourceforge.net>
>  > https://lists.sourceforge.net/lists/listinfo/bacula-users
>  >
>
> 
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net 
> <mailto:Bacula-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to different host

2015-04-30 Thread Frank Sweetser

Is this a RedHat/CentOS box?  They've recently made some changes to the 
selinux configuration around bacula which prevents it from taking pretty much 
any action other thank backups, including running scripts or creating files.

Frank Sweetser fs at wpi.edu|  For every problem, there is a solution that
Manager of Network Operations   |  is simple, elegant, and wrong.
Worcester Polytechnic Institute |   - HL Mencken

On 4/29/2015 9:01 PM, Craig Shiroma wrote:
> Hello,
>
> I'm trying to a restore file to a different host's /tmp.  I've select the
> target host by changing the value of Restore Client during the restore
> process, selecting the desired target host to restore to from the hosts list
> presented.  However, when I attempt the restore, I get the following error
> message:
>
> 2015-04-29 14:30:09 JobId 83765: Error: makepath.c:142 Cannot
> create directory /tmp/etc: ERR=Permission denied
>
> Any idea what could be causing the problem?  Restoring to the source host is
> no problem.
>
> Note: I replaced the actual hostname with "" in the above
> error message.
>
> Thanks in advance,
>
> -Craig
>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multiple certificate authorities usage with Bacula

2014-02-10 Thread Frank Sweetser

It's working fine for me here, zero problems.

Frank Sweetser fs at wpi.edu|  For every problem, there is a solution that
Manager of Network Operations   |  is simple, elegant, and wrong.
Worcester Polytechnic Institute |   - HL Mencken

On 2/10/2014 4:28 PM, Thomas Lohman wrote:
> Hi,
>
> We now have certificates for our backup clients that have been signed by
> two different certificate authorities.  Does anyone know if Bacula has
> any issues with dealing with a CA Certificate file that contains
> multiple CAs?  Does anyone have any experience with doing this?
>
> thanks for any assistance or pointers,
>
>
> --tom
>
> --
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Wake-on-LAN and bacula

2013-09-05 Thread Frank Sweetser

If you'd like, this would be great content to post on the wiki:

http://wiki.bacula.org

Frank Sweetser fs at wpi.edu|  For every problem, there is a solution that
Manager of Network Operations   |  is simple, elegant, and wrong.
Worcester Polytechnic Institute |   - HL Mencken

On 9/5/2013 7:17 PM, Steve Ellis wrote:
> My bacula installation supports night-time backups of several Windows machines
> (win7 and xp) that are typically suspended when the backups start from a
> Linux-based server.  I made sure to enable Wake-on-LAN on all of the windows
> clients, and arranged a script to wake them, but Windows often believes that
> the machine is idle during a backup and the machines used to go down during a
> backup.
>
> I updated my python script to run a daemon process for each machine to keep
> them awake during backup, it is relatively short so I'm including it here, on
> the off-chance that it proves helpful to anyone--I'm happy to answer any
> questions about it.  It is dependent on a library daemon.py (note: not the
> pending daemon PEP), that I downloaded here:
> http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python ,
> but I believe this github implementation would also probably work:
> https://github.com/stackd/daemon-py
>
> Note that the script does require your host->MAC address mapping, since the
> machines may be down, you can't just ARP for them  (I use a python dictionary,
> but this could be extended to a db for those with larger sites--especially if
> you already track MAC addresses).  To make a Windows machine do WoL, you
> likely will have to both configure WoL in the BIOS and also make a config
> change in windows on the LAN interface to enable WoL.
>
> Here's how I use my script in my bacula-dir.conf:
> RunBeforeJob = "/etc/bacula/wake_up.py --daemon start %c"
> RunAfterJob = "/etc/bacula/wake_up.py --daemon stop %c"
>
> I don't recall if this assumes that the hostname and the client name are the
> same, I suspect it does.
>
> -se
>
> --
>
> They that can give up essential liberty to obtain a little temporary safety
> deserve neither liberty nor safety.
>
> --Benjamin Franklin, 1759
>
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with Jumbo packets?

2012-01-06 Thread Frank Sweetser
On 01/06/2012 11:30 AM, Wolfgang Denk wrote:
> Hello,
> 
> I know that this is not exactly related to Bacula, but maybe some
> other user has seen similar behaviour.
> 
> I have problems when trying to enable support for jumbo frames on  the
> network.  All NICs and switches are supposed to support that, however
> on some systems the communication of the FD to the SD stops as soon as
> I change on the FD the MTU from the default of 1500 to a higher value
> (9000).  The MTU on the DIR and SD can be set to 9000 without visible
> impact on bacula.

Are all of the machines on the same subnet?  If not, you'll also have to check
the MTU on all of your local router interfaces.

-- 
Frank Sweetser fs at wpi.edu|  For every problem, there is a solution that
Manager of Network Operations   |  is simple, elegant, and wrong.
Worcester Polytechnic Institute |   - HL Mencken

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] New to Bacula - emergency situation.

2011-07-05 Thread Frank Sweetser

I don't have time for the complete answer it sounds like you need, but I can 
at least point you in the right direction.  Roughly what you need to do is use 
'list media' to find the oldest volume - ie, the one that was written to least 
recently.  You can then use the 'delete' command in bconsole to wipe all 
records of that volume from the catalog, and then safely delete the volume 
file from disk.

A few words of warning!

* Don't be too quick to blindly delete that volume - it may not actually be a 
problem.  Depending on how retention and volume recycling is set up, bacula 
may be configured to just automatically re-use the oldest volume whenever it 
needs a new one.  If this is the case, bacula should be using just about all 
space made available to it, and you should expect said usage to remain 
constant +/- one volume.

* Read the chapters on pruning and recycling.  No, really.  Unless you 
understand those chapters, you won't know what to expect from bacula, and you 
won't know if any changes you make to your configuration are going to help or 
hurt.

* File retention only controls retention of records in the catalog database, 
not storage of files within volumes on disk (see above chapters).

* You can't reduce the size of a volume, or partially recycle a volume (see 
above chapters).

* Be aware that unless you carefully dig into which volume contains the last 
full backup of each client, you may be leaving some of your files without any 
backups on disk when you delete that oldest volume!  If your oldest volumes 
contain the only copy of some files, this is not an easy one to get around. 
If you can live without a backup of those files for a brief time, the easiest 
solution is delete the volumes as listed above, and then let the backups run 
for each client.  If there are any such gaps, bacula will automatically detect 
them based on the catalog, and promote backups as necessary (incremental to 
differential or full) to ensure that all files are covered.

* Unless you properly set up the volume parameters, bacula will most likely 
just create more volumes and re-use that disk space.  Most likely you will 
want to configure the maximum volume size and maximum number of auto-created 
volumes to set an upper limit on the disk space that bacula will use.

* This may seem obvious, but you should also total up the data sets you need 
backed up, and take into account data change frequency and your retention 
requirements, and compare that with the amount of disk space you have 
available for backups.  Long term, it may be that you really do need more 
space to hold you backups - but at least then you'll need some hard data to 
illustrate that need.

Frank Sweetser fs at wpi.edu|  For every problem, there is a solution that
Manager of Network Operations   |  is simple, elegant, and wrong.
Worcester Polytechnic Institute |   - HL Mencken

On 7/5/2011 9:37 PM, larold wrote:
> I have been asked to support a Linux environment running Bacula on an 
> emergency basis. Bacula version is 3.0.1. I only have access to bconsole - no 
> guis. I am also completely brand new to Bacula as of a couple of hours ago. I 
> have no physical access to this server.
>
> Basically, I need to determine how to massively reduce the Bacula disk 
> footprint (physical space the disk-based volume files are using) without 
> adding more data to disk.
>
> This client has a Bacula server with 1.3+ TB of internal disk. It is 
> completely full. I used a 'tune2fs -m 1' to give me back some of the reserved 
> space for actual use and "breathing room". All Bacula data is written to a 
> group of 70 files, each roughly 10 GB a piece. Reducing this footprint would 
> help reduce the filesystem from being 100% full.
>
> There are 23 backup clients. I have set the File Retention on all jobs down 
> to 21 days. (Was 60 days). I have set the Job Retention on all jobs down to 2 
> months (was 6 months.)
>
> I would like to know, using bconsole commands only, the correct steps that 
> will result in fewer physical volume files (hence reduced disk usage) without 
> corrupting any of the data in place. I have a hunch it is some combination of 
> prune commands, followed by purges? I just don't know, and want to proceed 
> safely.
>
> All advice much appreciated.
>
> Please, no:
> - Criticizing of the setup - it wasn't mine
> - Suggestions that require anything complex outside of bconsole
> - Vague descriptions that don't point me to specific steps
> - Steps which require more than a couple GB of free disk space
>
> Thanks!!
>
> +--
> |This was sent by larry_sch...@yahoo.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--

Re: [Bacula-users] Table file system full

2011-04-02 Thread Frank Sweetser
On 4/2/2011 6:46 PM, Win Htin wrote:
> Hi folks,
>
> I got the following error while running my full backups. How can I
> reduce the table to free up space? I am running MySQL 4.1.20

This FAQ entry in the wiki might help:

http://wiki.bacula.org/doku.php?id=faq#why_does_mysql_say_my_file_table_is_full

-- 
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

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Some questions about bacula

2011-02-18 Thread Frank Sweetser
On 2/18/2011 2:15 PM, Mike Hobbs wrote:
>Hello,
>
> I'm a very new Bacula user and am looking for a little help.  My
> experience for the past 10+ years has been with Amanda and Retrospect
> and I've finally had enough of both (especially Retrospect) and I'm
> looking to convert to Bacula.
>
> I've download the Bacula source and built in on Red Hat 5.5 x64.  I'm
> also trying to move to a disk-based backup solution and I'm using a
> Promise Technologies VessJBOD 16-bay populated (or will be) with 16x 2tb
> hard drives.
>
> Without editing the config files to much I have done successful backups
> and restores of both Linux and Windows machines.  So far so good.  I
> have to say disk based backups and restores are FAST!

Sounds like you're off to a good start so far =)


> Some questions I have now that I'm ready to start customizing Bacula
> more for my environment.
>
> 1)  Bacula, like Amanda, needs to be told what machine and file systems
> to be backed up.  I understand that you add clients (jobs)  to the
> bacula-dir.conf file.  This would be fine if I had only a few clients.
> What do I do when I need to add 50 or 100 clients?  Is there a way to
> auto-generate the list of machines and file systems to be backed up
> every night?  On Amanda one of the programmers on staff wrote me a
> script that basically pings all the clients and looks at them to see
> what file systems are mounted, then it generates the Amanda "disklist"
> file based on what it finds.  This is good because if a user decided to
> change the name of a file system and doesn't tell us, the script will
> see it and add the new file system to the list and we don't have to
> worry about editing the disklist file manually..  Is there some way to
> do this with Bacula?  I hope I made sense here.

Yes, absolutely.  You can set up the director config to include the output of 
an 
arbitrary script at any point in the config file:

http://bacula.org/5.0.x-manuals/en/main/main/Customizing_Configuration_F.html#SECTION001723000

> 2) Here is a quote from an email of what one of my co-workers would like
> to do with bacula, I believe this is doable using "Pools" but if someone
> could point me in the right direction.
>
> "If we do a setup similar to Retrospect, then we want two sets of equal
> size.  It should do each set for 6 weeks and it should continue doing
> incrementals for the first set while it's transferring over to the next
> set and doing level0s - assuming this is supported by bacula.  At any
> time, we always have at least 6 weeks of backups but most times, we'll
> have something between 6-12 weeks."

I'm not at all familiar with Retrospect, but I'd be careful you don't try to 
recreate Retrospect in Bacula, rather than making sure you're meeting your 
goals.  In this case, it looks like you're trying to ensure that any data 
stored 
on tape is kept for a minimum of 6 weeks, correct?  If so, you can do that with 
a single pool by setting up your retention periods properly.  I'd advise you to 
read the chapters on retention periods very carefully, as they're easy to get 
tripped up on.

> 3) As I mentioned I have JBod unit with 16x 2tb drives.  I'm thinking 8
> drives for the first "set" and the other 8 drives for the second "set".
> If the about example of what my coworker wants to do is allowed with
> bacula.  How many volumes would I want to create per drive?  And what
> would be the max size?  I read a thread on the bacula-mailing list,
> someone said you want 10-100 volumes per disk.  I'm not sure what would
> be the best way to determine how many volumes I will need.

Again, you'll probably be fine with a single pool and the right retention 
periods.  One factor to be aware of, though, is that when Bacula recycles a 
volume, it recycles everything on that volume all at once - all jobs and all 
files on it are wiped from the database, and subject to being overwitten.  As a 
result, you don't want gigantic volumes, which would make recycling too coarse. 
  A typical recommendation is around 10-50 gigs, depending on your backup needs.

> I'm sorry if these questions have been asked already or if I left out
> any information.. I did search the list for a little while without
> finding any results.
>
> I guess I'm looking for some kind of disk-based backup strategy for
> about 100 Linux machines with the possible addition of another 100
> Windows machines in the future.

It sounds like you're definitely on the right track.

-- 
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
  

Re: [Bacula-users] [Bacula-devel] mysql version

2011-02-13 Thread Frank Sweetser
On 2/13/2011 6:00 AM, rst wrote:
> Thank you  for your  prompt reply.  I'll try to  answer both  Kern and
> Randy in this message.

One more point I wanted to throw out there - while Kern and the rest of the 
Bacula developers do an excellent job of making sure Bacula works on a wide 
range of configurations, you don't have to take their word for it.  Instead, 
you 
can set up and run the regression suite:

http://bacula.org/5.0.x-manuals/en/developers/developers/Bacula_Regression_Testing.html

This way you can put Bacula through its paces on your own exact configuration 
and verify its functionality before trying to go live.  In addition, if you do 
encounter any problems, the results will be visible to on the regression upload 
site, helping troubleshooting.

-- 
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

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ERR=Table 'p' is marked as crashed and should be repaired

2010-12-07 Thread Frank Sweetser
On 12/7/2010 3:00 AM, Eric Yellin wrote:
> Hi,
>
> I recently upgraded Bacula from 1.38 to 5.0.3. I also moved the system
> from FreeBSD and it is now running on CentOS 5.5 with MySQL 5.0.77.
>
> I get the following error for all backup jobs:
>
> Fatal error: sql_create.c:858 Fill Path table Query failed: INSERT INTO Path 
> (Path) SELECT a.Path FROM (SELECT DISTINCT Path FROM batch) AS a WHERE NOT 
> EXISTS (SELECT Path FROM Path AS p WHERE p.Path = a.Path): ERR=Table 'p' is 
> marked as crashed and should be repaired
>
> Any ideas why this may be happening and can be fixed?

Strictly speaking, this is actually a mysql problem, not a bacula one.

It sounds like you copied the database tables over while the database was still 
live, so the files were in a dirty state.  You should be able to get them back 
into a clean state with the repair mysql command:

http://dev.mysql.com/doc/refman/5.0/en/myisam-repair.html

After that, make sure to also run the bacula dbcheck command to look for any 
remaining problems.

-- 
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

--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Storage Daemon crash backtrace

2010-07-02 Thread Frank Sweetser
On 07/02/2010 11:17 AM, Kern Sibbald wrote:

> Having said this, I cannot rule out a problem on openssl at this point.

I forgot to mention one other *very* important data point.  After the ticket I
opened up came back as a problem outside of bacula, I did some more testing on
the system in question.  I found that I was able to reproduce similar problems
using scp to do encrypted transfers of multi-gig files.  I didn't get
segfaults, but I did get socket errors.  This pretty strongly supports the
conclusion that the root cause of the problem isn't in bacula itself.

-- 
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 Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage Daemon crash backtrace

2010-06-23 Thread Frank Sweetser
On 06/23/2010 10:42 AM, Robert LeBlanc wrote:
> My SD has been crashing every night and I finally got a backtrace. I
> don't know what all this means, but I could sure use some help to figure
> out why it keeps crashing and how to stop it so that I can get some
> back-ups done.

The best thing to do with that backtrace is actually to open up a ticket in
the bug tracker with it.

-- 
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

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature idea feeler - bconsole "include / grep"

2010-05-11 Thread Frank Sweetser
On 5/10/2010 7:39 PM, mark.berg...@uphs.upenn.edu wrote:
>
>
> In the message dated: Mon, 10 May 2010 13:26:51 +1000,
> The pithy ruminations from Norberto Meijome on
>   were:
>
> =>
> =>  (and to the list.. Apologies Gavin for private reply...)
> =>
> =>  On 7 May 2010 19:19, Gavin McCullagh  wrote:
> =>
> =>  >  On Thu, 06 May 2010, Steve Polyack wrote:
> =>  >
>
>   [SNIP!]
>
> =>  >  >  bconsole session.  However, perhaps a solution would be to have 
> bconsol=
> =>  e
> =>  >  >  parse the pipe character and feed output into the command that 
> follows
> =>  >  >  which could be any arbitrary *nix command (as opposed to
> =>  >  >  writing/including our own version of grep).
> =>  >
>
> I think that's a great suggestion, and the cleanest way to do this. I'd add 
> one
> thing, which is to have bconsole detect ">" in a command as well. The logic
> would be (in bad pseudo-code):

While this is definitely a neat feature, my biggest concern is that this would 
be a gigantic privilege escalation hole.  By allowing bconsole to execute any 
arbitrary command, it becomes impossible for the general system administrator 
to restrict the backup operator to bconsole access only via sudo.

At a minimum, I'd hope to either see this feature implemented in such a way as 
to drop privs to the original user after reading any config files, and also 
require a config option to explicitly enable it.

-- 
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

--

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


Re: [Bacula-users] recover volume deleted by error

2010-03-28 Thread Frank Sweetser
On 3/28/2010 12:06 PM, Jean-François Leroux wrote:
> Hi, I'm using bacula 1.38 on debian etch and I have a big catalog with
> a number of volumes. Several servers are backed up on disk, on another
> machine.
> I wanted to delete some unused volumes and by mistake I have deleted
> one I wanted to keep.
> I still have the file in my storage, I still have my catalog: is there
> a way to recover the deleted volume in bconsole?

If you still have the volume file, and just deleted it from the catalog, you 
can use the bscan utility to import the volume information back into the 
catalog.

-- 
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Enhancements Request

2010-03-18 Thread Frank Sweetser
On 03/18/2010 10:37 AM, Phil Stracchino wrote:
> On 03/18/10 10:03, Jeronimo Zucco wrote:
>> On 03/16/2010 03:40 PM, Phil Stracchino wrote:
>>> Doing this portably is actually a rather difficult problem because there
>>> are so many different partitioning schemes and partition table formats
>>> out there.  It's a mess.
>>
>> Or we can used partimage based schema:
>>
>> http://www.partimage.org/Partimage-manual_Backup-partition-table
> 
> That page is extremely simplistic and assumes that all the world runs
> Linux on x86 hardware.  There are many disk partitioning schemes out
> there, and many kinds of partition table.  The MSDOS scheme used by x86
> Linux is only one of them.  Bacula, if it is to seamlessly handle
> bare-metal restore internally, needs to know about Linux/MSDOS partition
> tables, BSD partition tables, Sun diskslices, Mac OSX partitions, 
> and so on.  And that's not even getting into the multiplicity of
> software RAID and logical volume managers (MD, LVM, LVM2, Solstice
> DiskSuite, ...) or advanced filesystems such as ZFS or btrfs that
> incorporate internal RAID/LVM functionality.

Oh, and don't forget EFS partition tables, too, not to mention trying to
restore on equivalent devices (same capacity, different geometry), restoring
on larger devices, restore a backup taken on 512 sector disks onto a 4k sector
disk...

And all of said logic would have to fit and work on a recovery disk.

> This really is not a simple problem.  Believe me on this.

Indeed.  While it would be great if this were to appear, it would almost
certainly be a pretty sizeable subproject on its own, with substantial upkeep
as new technologies appear.

Any volunteers? =)

-- 
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Enhancements Request

2010-03-17 Thread Frank Sweetser
On 3/17/2010 6:11 AM, Matija Nalis wrote:
> On Tue, Mar 16, 2010 at 02:40:05PM -0400, Phil Stracchino wrote:
>> On 03/16/10 14:15, Gavin McCullagh wrote:
>>> On Tue, 16 Mar 2010, Bob Cousins wrote:
>>>> - Explicit capturing of boot and partitioning information for easier
>>>> bare metal restores. (Bare metal restores should be easy and fast for
>>>> all OSes, but that is easier said than done.)
>>>
>>> Do you mean backing up the MBR?  That might be nice alright.
>>
>> Doing this portably is actually a rather difficult problem because there
>> are so many different partitioning schemes and partition table formats
>> out there.  It's a mess.
>
> well, yeah, it would probably best to handle this via wrapper. (like
> for example mtx-changer script) as then only such a wrapper needs to
> be modified for specific systems.
>
> Under GNU/Linux at least there is sfdisk(8), and one can easily do a
> partition dump with "sfdisk -d /dev/sda>  somefile" and restore it
> with "sfdisk /dev/sda<  somefile".
>
> If there was such a wrapper, each distribution could tailor it to its
> own needs to allow (majority of) its users to have a hassle-free
> out-of-the-box working environment.

I actually put together a set of crude scripts to do this, and didn't get very 
far down the rabbit hole (I think they're still in the old rescue package). 
It would be great it someone were to put some real time into this, but here 
are some of the issues that I ran into very quickly:

   - Must handle LVM/LVM2
   - Software RAID (MD)
   - LVM built on RAID
   - Built-in LVM/RAID features in BtrFS
   - Recreating filesystem specific creation options, including
 - Labels and UUID (so you don't break fstab)
 - inode count
 - Advanced features (don't make fs the kernel can't mount)

Hopefully someone else could comment more intelligently on what similar issues 
might exist on non-linux systems.

-- 
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] accurate backup estimate runs forever

2010-03-16 Thread Frank Sweetser
On 3/16/2010 7:02 PM, Brock Palen wrote:
> I have had running for about 1 hour
> estimate level=incremental job=xen1-host accurate=yes
>
> I wanted to test the accurate backup, what I see is MySQL using 100%
> cpu for a long time and never stops.
> I have enabled the slow query log on MySQL and I don't see anything
> being added.

See if this solution helps:

http://wiki.bacula.org/doku.php?id=faq#jobs_with_accurate_filesets_take_forever

-- 
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Mantis

2010-03-06 Thread Frank Sweetser
On 2/28/2010 12:18 PM, Kern Sibbald wrote:
> Hello Dan,
>
> As I mentioned to you (Dan only) some time ago since you are managing our
> current Mantis bug reporting system, we are considering switching off of
> Mantis onto another bug reporting system.  The one I have chosen is RT, which
> in some respects is more complicated than Mantis, but it gives us a lot more
> power.
>
> Some of the advantages of RT are:
> 1. email interface for responding to tickets (bug reports)

Once it's up and running, it should also be possible to set up a separate 
queue for integration with the dashboard.  CDash can be set up to generate an 
email whenever a failing test is submitted, which would give you a more 
complete overview of what's pending in RT.

-- 
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Dead slow backups with bacula 5.0, mysql and accurate

2010-02-19 Thread Frank Sweetser
On 2/19/2010 2:52 PM, Steve Ellis wrote:
> I don't know if this is specific to mysql or not.  My system:  Fedora 12
> x86-64, Bacula 5.0.0 (installed from fedora's rawhide), mysql 5.1.42.
> I've been happily running bacula 3.0.3 on this particular machine and
> config for several months without issue (and earlier bacula releases,
> but without Accurate for several years), but after trying an upgrade to
> 5.0, I've noticed that accurate backups are now dreadfully slow (at
> least a differential is, I assume the same applies to incrementals). If
> I turn off Accurate, backups proceed fine, but with accurate on,
> mysqladmin processlist will eventually show this query taking hours (or
> perhaps days, I haven't waited that long):

The best way to get more data about what's going on is to use the 'explain' 
mysql command.  First, get the complete SQL query that's taking too long to 
run by using the 'show processlist full' command - that way the results won't 
get truncated.

Then, run the query manually, but prefixed with the 'explain' command:

explain SELECT Path.Path, Filename.Name, ...

This should give you more data about exactly how mysql is going about 
executing the query, which should hopefully in turn point to why it's taking 
so ridiculously long and how that might be fixed.

-- 
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Have you tried the windows package?

2010-01-23 Thread Frank Sweetser
On 1/23/2010 3:21 PM, Dan Langille wrote:
> I tried the Windows packages today on Vista 6.0.6002.  I tried both
> win64bacula-3.0.3a.exe and winbacula-3.0.3a.exe but each resulted in
> Vista saying 'this didn't install properly' (my wording).
>
> I also tried winbacula-3.0.3.exe and winbacula-3.0.3.exe: fail.
>
> I've also seen the error "The item 'bconsole.exe' that this shortcut
> refers to has been changed or moved..." when clicking on bconsle under
> Bacula in All Programs.
>
> If I go into C:\Program Files\Bacula and click on bconsole.exe, I get
> told: The version of this file is not compatible with the version of
> Windows you're running.
>
> Can anyone report success?

I haven't tried it on Vista, but I did it on a server 2003 install just last 
week and everything worked fine.

-- 
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

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Networking diagnosis 101 - FAQ?

2010-01-15 Thread Frank Sweetser
On 1/15/2010 7:20 PM, Dan Langille wrote:
> Does anyone wish to start documenting the basics on debugging Bacula
> network issues?  If we don't already have one.  It would be nice to
> point people to a sufficient how-to: here, do this.
>
> I will be willing to edit the document, but do not have the time to do
> the starting work.

If someone has a table of contents, I could probably make time to contribute a 
couple of chapters.

-- 
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

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [GENERAL] Catastrophic changes to PostgreSQL 8.4

2009-12-03 Thread Frank Sweetser
On 12/03/2009 10:54 AM, Craig Ringer wrote:
> Frank Sweetser wrote:
>
>> Unless, of course, you're at a good sized school with lots of
>> international students, and have fileservers holding filenames created
>> on desktops running in Chinese, Turkish, Russian, and other locales.
>
> What I struggle with here is why they're not using ru_RU.UTF-8,
> cn_CN.UTF-8, etc as their locales. Why mix charsets?

The problem isn't so much what they're using on their unmanaged desktops.  The 
problem is that the server, which is the one getting backed up, holds an 
aggregation of files created by an unknown collection of applications running 
on a mish-mash of operating systems (every large edu has its horror story of 
the 15+ year old, unpatched, mission critical machine that no one dares touch) 
with wildly varying charset configurations, no doubt including horribly broken 
and pre-UTF ones.

The end result is a fileset full of filenames created on a hacked Chinese copy 
of XP, a Russian copy of winME, romanian RedHat 4.0, and Mac OS 8.

This kind of junk is, sadly, not uncommon in academic environments, where IT 
is often required to support stuff that they don't get to manage.

-- 
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

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [GENERAL] Catastrophic changes to PostgreSQL 8.4

2009-12-03 Thread Frank Sweetser
On 12/3/2009 3:33 AM, Craig Ringer wrote:
> Kern Sibbald wrote:
>> Hello,
>>
>> Thanks for all the answers; I am a bit overwhelmed by the number, so I am
>> going to try to answer everyone in one email.
>>
>> The first thing to understand is that it is *impossible* to know what the
>> encoding is on the client machine (FD -- or File daemon).  On say a

Or, even worse, which encoding the user or application was thinking of when it 
wrote a particular out.  There's no guarantee that any two files on a system 
were intended to be looked at with the same encoding.

>> Unix/Linux system, the user could create filenames with non-UTF-8 then switch
>> to UTF-8, or restore files that were tarred on Windows or on Mac, or simply
>> copy a Mac directory.  Finally, using system calls to create a file, you can
>> put *any* character into a filename.
>
> While true in theory, in practice it's pretty unusual to have filenames
> encoded with an encoding other than the system LC_CTYPE on a modern
> UNIX/Linux/BSD machine.

Unless, of course, you're at a good sized school with lots of international 
students, and have fileservers holding filenames created on desktops running 
in Chinese, Turkish, Russian, and other locales.

In the end, a filename is (under linux, at least) just a string of arbitrary 
bytes containing anything except / and NULL.  If bacula tries to get too 
clever, and munges or misinterprets those bytes strings - or, worse yet, if 
the database does it behind your back - then stuff _will_ end up breaking.

(A few years back, someone heavily involved in linux kernel filesystem work 
was talking about this exact issue, and made the remark that many doing 
internationalization work secretly feel it would be easier to just teach 
everyone english.  Impossible as this may be, I have since come to understand 
what they were talking about...)

-- 
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

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Snow Leopard client

2009-12-01 Thread Frank Sweetser
On 11/30/2009 10:40 AM, Sylvain Dupras wrote:
> Ok, I will try to give you all the information I use and what I try.
>
> We want to install bacula-fd and bconsole on a Mac.
> Compiling the source code on Leopard 10.5 work and run great.
>
> On Snow Leopard 10.6 compiling the source work (with trick, see below)
> but when the bacula-fd do his backup he backup nothing and said he
> finish and has a status OK. But we have this warning: Top level
> directory "/test" has an unlisted drive type "unknown"

I don't have a 10.6 machine to test on, but it might be useful for you to try 
running the regression suite on it.  You can find the details on how to do so 
in the developers manual on the bacula website.

-- 
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

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automated Test Suite

2009-11-27 Thread Frank Sweetser
On 11/27/2009 12:39 PM, ext-daniel.haw...@nokia.com wrote:
> Hi All,
>
> I used to use Bacula years ago and am now back at a project that uses it.
> Is nice to be back :)
>
> We use Bacula to backup a series of MySQL databases to disk (with eventual
> offline storage elsewhere). Part of the requirement is to offer some
> automated testing of the data (ie backup live data, restore to alternative
> system, re-insert data into a separate integration database, run some known
> commands, etc).
>
> All of this is pretty simple stuff, however was thinking whether I could
> integrate this somewhat, by using a separate Verify Job followed by a *Run
> after Job* script. This script could then use Python and the Bacula-Python
> hooks to run a restore job and then the rest of the required tests.
>
> However, have not used the Bacula-Python side of things before and after
> hunting about, the only docs I have found are the *Python Scripting*
> chapter in the concepts and dev-manual. Is this the only source of docs for
> the Bacula-Python API???
>
> Main reason for this is, although am happy hacking about, and will have a
> look at the source, am just checking this is all feasible at the present
> time, before I start spending/wasting time on the effort.
>
> Oh and of course, if someone has attempted this all before and are willing
> to give some hints/tips/caveats, much appreciated :)

I don't know of anything exactly like what you're doing, but a good starting 
place would actually be to check out the regression test suite that's 
described in the developers manual.  While they're designed around looking for 
bugs in the code, it shouldn't be too hard to adapt one of them to the kind of 
testing you're talking about.

-- 
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

--
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] Problem inserting into table "batch"?

2009-10-12 Thread Frank Sweetser
On 10/12/2009 11:08 AM, Jon Schewe wrote:
> Frank Sweetser wrote:

>> The most common problem seems to be either 1) the mysql account that
>> bacula is using doesn't have permission to create the temporary table,
>> or 2) the partition mysql is configured to use for for tmp storage
>> filled up, leaving no more room for the temp table.
>>
> I just checked 1 and the account has permissions. I've got 1.4GB
> available in /tmp. I would expect this to be enough space. What
> information is all put in this table?

The table acts as a buffer for all of the catalog metadata (list of files 
backed up, and their various attributes).  It's hard to say whether or not 
that's enough space, as it's really a function of how many files you're 
backing up.

-- 
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

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem inserting into table "batch"?

2009-10-12 Thread Frank Sweetser
On 10/12/2009 10:51 AM, Jon Schewe wrote:
> Jari Fredriksson wrote:
>>> I got the error below on my backups this weekend.
>>> According to make_tables_mysql there is no table named
>>> "batch" in the database. What should the schema for this
>>> table look like? I'm using bacula 2.2.7 under OpenSUSE
>>> 11.0.
>>>
>>> 11-Oct 13:59 mn-server-dir JobId 3419: Fatal error:
>>> sql_create.c:732 sql_create.c:732 insert INSERT INTO
>>> batch VALUES
>>> (2772,3419,'/nfshomes/jschewe/projects/smite/apl/rr2-final/','rtensplit-20090924-0028.scy.log','P0C
>>> SWQH6 IHA B CcQ CcQ A jZRDgc BAA EbKLw BK0V8B BKziHW
>>> BKz2d0 A A X','QV3Vz3rvJNMZh8JPcxADow') failed: Table
>>> 'bacula.batch' doesn't exist 11-Oct 13:59 mn-server-dir
>>> JobId 3419: Fatal error: catreq.c:482 Attribute create
>>> error. sql_update.c:454
>>>
>>
>> batch is a temporary table that Bacula normally creates and drops on the 
>> fly. No idea why it does not exist in your backup.
>>
>>
> It's done it two days in a row with the same filename specified. Any
> ideas on how to debug this?
>

The most common problem seems to be either 1) the mysql account that bacula is 
using doesn't have permission to create the temporary table, or 2) the 
partition mysql is configured to use for for tmp storage filled up, leaving no 
more room for the temp table.

-- 
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

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Daemon listening on two subnets, requires TLS

2009-09-30 Thread Frank Sweetser
On 9/30/2009 7:38 AM, baculal...@encambio.com wrote:

> What is the proper way to go about listening on two subnets while
> presenting the proper certificate to incoming TLS connections?

There are two general solutions.

The first is to set up split DNS views, such that all clients use the same 
hostname, and get directed to the correct IP address.

The second option is to create a list of alternate subject names in the 
certificate, so that all of the hostnames are considered valid for that cert.

-- 
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

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Your Bacula Post http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg29006.html

2009-05-29 Thread Frank Sweetser
Hi Larry,

  I'm CC'ing this email to the bacula users list, as in general you'll get a
much better response asking the list as a whole than one random person off of
the list such as myself.

Kemp, Larry wrote:
> Frank,
> 
> I was reading here
> (http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg29006.html)
> on this mail-list that you were part of in early 2008, and wondered if
> anyone ever solved this issue with Kern Sibbald’s software Bacula. I
> have compiled Bacula v3.0.1 on Cent OS 5.3. The Storage and File daemon
> as running but the Director wont start. I get the “bconsole cannot
> communicate with director…check password” message. I have checked my
> /etc/bacula/bconsole.conf and /etc/bacula/bacula-dir.conf and the
> passwords are the same. I have also tried “service bacula start” which
> shows that everything is starting, but “service bacula status” reports
> for the director that the pid exists but that there is a file locked. I
> have checked /tmp and see no locks.

That email post you mention was about problems with the console connecting to
the director, whereas you're having problems starting the director, so none of
my suggestions would really help.  I'd suggest you try starting the director
on its own by hand, and see if it produces any error messages that point you
in the right direction.

-- 
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

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Configuring Director & Storage on different nodes

2009-05-06 Thread Frank Sweetser
Amitsingh Pardesi wrote:

>  > Please post any errors you get. Also did you remember to remove
>  > 127.0.0.1 and localhost from all of your configuration files and
>  > replace this with the external ip addresses ?
>  >
> Which configuration files are you talking about? None of my bacula 
> related conf file has localhost or 127.0.0.1 ip address.

Debian (and debian derived distros, such as Ubuntu) have a habit of shipping 
default config files that only bind the daemons to the loopback device.  If 
you're not using one of the distributions, or don't have any references to 
127.0.0.1 in any of your config files, don't worry about it.

-- 
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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Accurate restoration of renamed/deleted file

2009-03-24 Thread Frank Sweetser
Craig Ringer wrote:
> Craig Ringer wrote:
>> Frank Sweetser wrote:
>>> Craig Ringer wrote:
>>>> Frank Sweetser wrote:
>>>>
>>>>> [deleted file tracking] has been implemented in the current 
>>>>> development code base.
>>>> Oh, I also meant to ask:
>>>>
>>>> Does deleted file tracking require the cooperation of the fd? Or will 
>>>> I be able to keep on using 2.4 fds on my clients? It'd be helpful not 
>>>> to have to run 2.4 and 2.5 fds in parallel on the clients.
>>> I haven't played with it, but I believe that it requires 2.5 FDs.
>> Yes, looking at the sources, it does look like a 2.5 FD would be required.
>>
>> However, I'm not having any luck getting it working even with a 2.5 
>> (today's SVN) director and FD.
> 
> Aah, never mind. Had to add the "Accurate" directive to the job 
> definition, it's right there in TFM.
> 
> With:
> 
>Accurate = yes
> 
> it all works as expected (despite the TODO/FIXME notes in the code). I 
> must've missed something in the fd code :S

Excellent!

> Now, to see how it performs with my Maildir-like Cyrus IMAPd spool 
> (67Gb, ~ 500,000 files, daily incrementals over weekly differentials and 
> monthly full backups).

I'm sure the developers would love to hear how the accurate code works in that
kind of a real world test.

-- 
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

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Accurate restoration of renamed/deleted file

2009-03-23 Thread Frank Sweetser
Craig Ringer wrote:
> Frank Sweetser wrote:
> 
>> [deleted file tracking] has been implemented in the current 
>> development code base.
> 
> Oh, I also meant to ask:
> 
> Does deleted file tracking require the cooperation of the fd? Or will I 
> be able to keep on using 2.4 fds on my clients? It'd be helpful not to 
> have to run 2.4 and 2.5 fds in parallel on the clients.

I haven't played with it, but I believe that it requires 2.5 FDs.

-- 
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

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Accurate restoration of renamed/deleted file

2009-03-23 Thread Frank Sweetser
Craig Ringer wrote:
> Frank Sweetser wrote:
>> Craig Ringer wrote:
>>> I note that deleted/renamed file tracking is no longer shown on  the
>>> sf.net bacula projects document:
>>>
>>> http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/projects?view=markup
>>>  
>>>
>>>
>>> Is it complete? I haven't seen anything about it on the site, ML, or in
>>> the ChangeLog in current SVN. The FAQ still says deleted files aren't
>>> tracked.
>>
>> It has been implemented in the current development code base.
> 
> Thanks for pointing that out, as I wouldn't have known based on 
> published info.
> 
> I've pulled svn, butchered Ubuntu's source package for 2.4 to build 2.5 
> instead, and am testing it now.
> 
> Is bacula SVN stable enough to be worth considering for production 
> backups? ie - is there a test suite run regularly, etc? I'm in *serious* 
> need of deleted file tracking, but nervous about using a prerelease.

It's pretty close, but it also hasn't been officially blessed yet, either.

> I'm planning on running backups of the deleted-file-handling-critical 
> stuff in parallel with 2.5svn on a smaller scale for a while before I 
> even consider moving anything important over to it exclusively. I'm 
> curious to know what you think of using 2.5, with suitable testing, though.

Luckily, there's a testing framework that you can easily grab and run your own 
suite of regression tests!  You can find instructions on how to set up the 
test suite here:

http://bacula.org/en/developers/Bacula_Regression_Testing.html

and you can see the latest test results here:

http://regress.bacula.org/

-- 
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

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Accurate restoration of renamed/deleted file

2009-03-18 Thread Frank Sweetser
Craig Ringer wrote:
> michael riehemann wrote:
>> Hi all,
>>
>> is there any way (at the moment) to do
>>
>> Accurate restoration of renamed/deleted files
>>
>> with differenziell and full backups?
> 
> I note that deleted/renamed file tracking is no longer shown on  the
> sf.net bacula projects document:
> 
> http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/projects?view=markup
> 
> Is it complete? I haven't seen anything about it on the site, ML, or in
> the ChangeLog in current SVN. The FAQ still says deleted files aren't
> tracked.

It has been implemented in the current development code base.

-- 
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

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Include or exclude /selinux?

2009-03-10 Thread Frank Sweetser
Foo wrote:
> Hi,
> 
> should /selinux be included or excluded from backup? I.e. is it also
> dynamically created at boot or will I be left with an incomplete system if
> I exclude it? By default bacula does not descend into it since it's not
> the same filesystem type as the fs root (only shows up in /proc/mounts as
> type selinuxfs, not when entering 'mount').

Excluded (or, if you have onefs, not included).  /selinux is a virtual
filesystem, similar to /proc, that is just a view into the current kernel state.

-- 
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

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


Re: [Bacula-users] Bacula catalog size limits

2009-03-02 Thread Frank Sweetser
Tim Bell wrote:
> What are the experiences of Bacula's scalability limits as the number of 
> files per server increase ? We are looking at backing up 1000+ clients 
> with millions of files in total.  I would like to understand if this is 
> feasible and how many servers we would need:
> 
> Specifically,
> 
> - What are the recommended largest number of files in the catalog for 
> each bacula instance ?

You can find some sample numbers here:

http://wiki.bacula.org/doku.php?id=database_statistics

> - What database choice is the best for large numbers of files in the 
> catalog ?

Not SQLite.  Either MySQL or Postgresql can scale to very large databases, so 
I'd pick whichever one your site has more expertise with.

> - Do multiple instances of bacula on a single server make sense to 
> improve scalability ?

Probably not, as I suspect that either OS resources (network and volume IO, 
mostly) and the database performance will be your primary bottlenecks.

-- 
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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to properly escape Linux shell commands for ClientRunBeforeJob?

2009-02-16 Thread Frank Sweetser
Ralf Brinkmann wrote:
> Foo schrieb:
> 
>> So I added in the job definition of the machine:
>>
>> ClientRunBeforeJob = "svnadmin --quiet dump /var/svnrepo
>>> /tmp/svnrepo_backup.svn_dump; gzip -9 /tmp/svnrepo_backup.svn_dump"
>> ClientRunAfterJob = "rm -f /tmp/svnrepo_backup.svn_dump.gz"
>>
>> This fails with:
>>
>>   ClientRunBeforeJob: svnadmin: invalid option character: 9
>>   ClientRunBeforeJob: Type 'svnadmin help' for usage.
>>   Error: Runscript: ClientRunBeforeJob returned non-zero status=1.
>> ERR=Child exited with code 1
> 
> (Client)RunBefore/AfterJob:
> sticking commands one after another on one line separated by semicolon
> seems not to work propperly.

That's because treating the semicolon as a command separator is a function of
the shell.  The problem isn't that you're not escaping the shell characters,
the problem is that there's no shell there to treat them as special characters
in the first place.  From the RunScript section of
http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION00143

--8<--
In addition, the command string is parsed then fed to the OS, which means that
the path will be searched to execute your specified command, but there is no
shell interpretation, as a consequence, if you invoke complicated commands or
want any shell features such as redirection or piping, you must call a shell
script and do it inside that script.
--8<--

-- 
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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Never Mind - Given up on Bacula

2009-02-12 Thread Frank Sweetser
Steve Handy wrote:
> Five years ago. I am sure Netbackup has progressed in those times. No one
> likes to dish out money to expensive software, but typically sturdy
> dependable products come at a price. Bacula is not a horrible product, but
> it has bugs in it. Bugs any serious company will probably not. In my
> opinion, it needs to be taken out of the open source community, closed
> sourced, and then have some highly paid engineers stamp the bugs.

Hah!  Thanks, I've been studying for a certification exam all day and needed a
good laugh.

Seriously, though, if you think that a paycheck suddenly turns someone into a
brilliant software engineer, then you've obviously never had to painstakingly
read and explain RFCs to the developers who supposedly implemented them in the
product you bought, had a trouble ticket filled with with carefully documented
details and transcripts of reliably reproducible problems come back with a
response that basically says "Oh, our software doesn't do that, so you're not
having that problem!", or, when you finally convince them that it really is a
real bug, have the vendor respond by simply retracting any claim to having
that feature rather than fix it.  And yes, those are all experiences I have
personally had when dealing with "highly paid engineers."

Of course, you don't have to simply take my word for it.  I challenge anyone
out there to read The Daily WTF at http://thedailywtf.com/ for a few weeks and
then argue with a straight face that programmers who are motivated by
paychecks magically make fewer mistakes than ones who care deeply about the
projects they're working on.

-- 
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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FreeBSD Bare Metal Recovery

2009-02-10 Thread Frank Sweetser
Doug Sampson wrote:
> I'm using this to recover data onto a FreeBSD 7.1 prerelease server:
> 
> http://www.bacula.org/fr/dev-manual/Disast_Recove_Using_Bacula.html#SECTION0
> 082314000
> 
> All of the steps work up until #17 where I need to chroot in order to start
> the bacula-fd daemon. I get the following error message:

I don't know if it'll fix your problem or not, but there's no actual need to 
chroot the bacula-fd daemon.  Just set the "where" option appropriately when 
you start up the restore job.

-- 
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

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a specific client

2009-02-04 Thread Frank Sweetser
victor wrote:
> I have many clients defined, but when I try to restore a specific 
> client, there is no option to select the client.
> 
> $ done
> Bootstrap records written to 
> /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
> The job will require the following Volumes:
>   Bacula1
> 10 files selected to be restored.
> 
> Run Restore job
> JobName:Restaurare Fisiere Calc Victor
> Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
> Where:  /tmp/bacula-restores
> Replace:always
> FileSet:Personalizari MF
> Client: client1-fd
> Storage:File
> When:   2009-02-04 12:48:37
> Catalog:MyCatalog
> Priority:   10
> OK to run? (yes/mod/no):
> 
> Why don't I have the option to restore where I want to?

You see how the final prompt gives you three options - "yes/mod/no"?  Type in 
'mod' and it will give you a chance to modify all restore options, including 
the client you wish to restore to.

-- 
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

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Fwd: Anyway to do multi-core compression?

2009-01-22 Thread Frank Sweetser
Dan Langille wrote:
> On Jan 22, 2009, at 6:54 PM, Kern Sibbald wrote:
> 
>> On Thursday 22 January 2009 23:59:26 Dan Langille wrote:
>>> This sounds clever.  Hard to do?
>>>
>> No, it is essentially the same a item 24 in the projects file.   
>> since it was
>> 24 on the last vote, given the items above it, unfortunately we are  
>> unlikely
>> to get to it any time soon, even though many of the items above it  
>> have
>> already been completed for version 3.0.0
> 
> Is that the right number?  24?
> 
> http://www.bacula.org/en/?page=projects
> 
> Item 24:  Add an override in Schedule for Pools based on backup types.

It looks like it's item 24 on the latest projects file:

http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/projects?view=markup

Perhaps the projects link on the main page should be updated to point to this
version instead?

-- 
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] products based on bacula

2009-01-20 Thread Frank Sweetser
Dan Langille wrote:
> James Harper wrote:
>>> Alan Brown wrote:
>>>> On Mon, 19 Jan 2009, Mag Gam wrote:
>>>>
>>>>> "It comes in the night and sucks the essence from your computers."
>>>>>
>>>>> My manager would freak if she sees this...
>>>> Given that packages with equivalent functionality to Bacula run to
>> at
>>>> least $30k, why would she freak?
>>> Because many mangers, used to dealing with and fighting over budgets 7
>>> out of 8 hours a day, tend to equate cost with value.  They're used to
>>> paying more to
>>> get what they want, so assume that if they're not paying more,
>>> whatever they're getting must not be what they want.
>>>
>>
>> I'm sure that if you asked him nicely, Kern would be quite willing to
>> charge you a price sufficiently high enough to make your manager happy
>> :)
> 
> Don't tell Kern... I'll charge a better price.  ;)
> 

In this context, that would mean at least double, right?

-- 
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] products based on bacula

2009-01-20 Thread Frank Sweetser
Alan Brown wrote:
> On Mon, 19 Jan 2009, Mag Gam wrote:
> 
>> "It comes in the night and sucks the essence from your computers."
>>
>> My manager would freak if she sees this...
> 
> Given that packages with equivalent functionality to Bacula run to at
> least $30k, why would she freak?

Because many mangers, used to dealing with and fighting over budgets 7 out of 
8 hours a day, tend to equate cost with value.  They're used to paying more to 
get what they want, so assume that if they're not paying more, whatever 
they're getting must not be what they want.

-- 
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Exclude file contents

2009-01-12 Thread Frank Sweetser
James Harper wrote:
>> Stefan Sorin Nicolin wrote:
>>> Hi,
>>>
>>> I have yet another exclusive configuration need. I'd like to back up
> a
>>> file _without_ it's contents. I noticed that under Gentoo Linux
> /dev/
>>> tty12 takes a lot of useless space. The terminal output is stored
>>> there - somethig that I can very well live without in case I have to
>>> restore a system from backup.
>>> The only way I can imagine it right now is to exclude the file
>>> completely and create a dedicated restore jobdef where /dev/tty12 is
>>> created per runscript directive. This doesen't feel right though.
>>> Any ideas?
>>>
>>> Thanks much.
>>>
>>> Stefan Sorin Nicolin
>>> http://nicolinux.org
>>>
>> As /dev is populate by udev I always exclude it completely .
>>
> 
> Have you tested a restore? If you are restoring to 'baremetal', then you
> might actually need something in /dev before udev starts, which is a bit
> tricky as it's 'under' udev...

Not necessarily.  If you're doing a baremetal restore, you already have to 
have to boot some minimum OS before you can run the fd anyway.  What I have 
done several times is this:

  - boot a plain old fedora rescue CD
  - copy the fd binaries, config files, and diskinfo scripts onto it
  - recreate the partition tables and filesystems using the diskinfo scripts
  - mount the new partitions on /restore
  - done a full restore with where => /restore
  - reinstall the boot load
  - reboot into the newly restored system

Since the boot scripts are designed to come up with an empty /dev and populate 
it at runtime, all you have to do is make sure the /dev/ directory exists.

-- 
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup initiated by client (FD)

2009-01-04 Thread Frank Sweetser
Kevin Keane wrote:

>> You are free to submit a feature request.  Details on the website.
> Huh? I thought the bacula team insisted just a few weeks ago that the 
> mailing lists are the proper vehicle for pretty much everything, and 
> rejected the idea of a Web-based forum. Now I'm confused.

Feature requests are indeed submitted via email; however, the details on how
one should go about submitting a feature request (proper formatting, required
information, etc) are on the website.

-- 
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

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


Re: [Bacula-users] Bacula and CentOS 5.2 Deficiencies

2008-12-29 Thread Frank Sweetser
Richard Petty wrote:
> I'm attempting to get Bacula 2.4.3 working on a fresh install of  
> CentOS 5.2 (up to date) for evaluation. Been at it all day.
> 
> After replacing CentOS' MySQL with MySQL-Sun's official version and  
> installing bacula-mtx, the bacula-mysql RPM installed without any  
> trouble.
> 
> I thought the GUI would be nice so I tried to install a Fedora RPM,  
> hoping I would get lucky:

As you've found, fedora is quite beyond CentOS/RHEL in terms of library
versions.  You're better off grabbing the SRPM and compiling it on the system
you want to use it on.

-- 
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

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


Re: [Bacula-users] update slots doesn't handle removed volumes

2008-12-19 Thread Frank Sweetser
Robert Horton wrote:
> Hi,
> 
> I've noticed that running "update slots" marks as added any volumes
> which have been added to the autochanger but doesn't mark as removed any
> which have been removed. Here's a sample output:
> 
> *update slots
> Automatically selected Storage: Autochanger
> Connecting to Storage daemon Autochanger at ford:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Autochanger" has 47 slots.
> Connecting to Storage daemon Autochanger at ford:9103 ...
> 3306 Issuing autochanger "list" command.
> Catalog record for Volume "19L4" updated to reference slot 12.
> Catalog record for Volume "17L4" updated to reference slot 15.
> Catalog record for Volume "16L4" updated to reference slot 19.
> Catalog record for Volume "18L4" updated to reference slot 20.
> Catalog record for Volume "09L4" updated to reference slot 34.
> Catalog record for Volume "04L4" updated to reference slot 35.
> Catalog record for Volume "01L4" updated to reference slot 36.
> Catalog record for Volume "06L4" updated to reference slot 41.
> Catalog record for Volume "07L4" updated to reference slot 42.
> Catalog record for Volume "03L4" updated to reference slot 44.
> 
> I seem to remember in the past that it listed all the slots, including
> empty ones but don't have anything else to compare against.
> 
> As a workaround I've been setting InChanger to 0 for all media in the
> database and then running update slots.

Take a look at the update-slots patch here:

http://sourceforge.net/project/showfiles.php?group_id=50727&package_id=93946

-- 
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

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


Re: [Bacula-users] Improving Backup speed

2008-11-18 Thread Frank Sweetser
Pascal Clermont wrote:

> Ok here is the steps I took that made me believe that I do not have libpq.a:

libpq.a is part of the postgresql-devel package.

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 2.4.2 vs 2.5.16 on CentOS

2008-11-15 Thread Frank Sweetser
Nils Blanck-Wehde wrote:
> Hi everyone!
> 
> I'm setting up a new bacula installation on CentOS 5.2.
> I planned on using the FSchwarz EL5 rpms because the install very well
> under CentOS 5.2
> Now I am wondering whether it's worth the hassle to compile 2.5.16 from
> source.
> Unforunately I am not a programmer so the changelog of 2.5.16 doesn't
> really tell me anything?
> Maybe someone  more involved can give me a hint here?
> Are there any 2.4.3 rpms that install under CentOS?
> 
> I feel a little bad installing an outdated version

2.4.3 isn't outdated - it's the latest stable version.  The 2.5 branch is 
under development, so while it contains new features, it's also much more 
likely to contain new bugs, too.  Odds are you'll want to stick to the stable 
2.4 branch until the new stable branch is released, and avoid 2.5 except in a 
testing environment.

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What new feature are you waiting for?

2008-11-05 Thread Frank Sweetser
Dan Langille wrote:

> 
> You say that without telling us what an Augeas lens is.  :)
> 

http://augeas.net/

Augeas is a very slick library that gathers up all of the various text config
file formats, and maps them onto a simple, consistent API.  Within your
program, you use the same syntax to edit the hosts file, tweak an apache
config, or edit the sudoers file, and augeas does all the dirty work of
reading and writing each application specific file format.

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What new feature are you waiting for?

2008-11-03 Thread Frank Sweetser
junior.listas wrote:
> Configuration data ( whatever is in the config file ) may be placed on 
> the database or xml files, this can simplify bacula use in web|gtk 
> interfaces or appliances.

Sorry, but that's a feature that's not likely to be implemented any time soon:

http://wiki.bacula.org/doku.php?id=faq#why_doesn_t_bacula_store_configuration_in_the_catalog_database

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Beta 2.5.16 - after installation problem

2008-11-01 Thread Frank Sweetser
Tomasz Westrych wrote:
> Hi,
> 
>> What do you get when you run
>> ldd /sbin/bacula-fd
> 
> I get :
> 
> libz.so.1 => /lib64/libz.so.1 (0x02031000)
> libbacfind.so.1 => not found
> libbacpy.so.1 => not found
> libbaccfg.so.1 => not found
> libbac.so.1 => not found

Okay, good - that's consistent with the error message you were seeing, at 
least.  Try this:

  - double check that the library files really are in /usr/lib, and that there 
isn't anything that would prevent them from being read (ownership, 
permissions, selinux label).

  - run 'ldconfig -v'.  This should update the library cache used by ldd, and 
the bacula libraries should be listed in the output.

  - try running the program again.

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Beta 2.5.16 - after installation problem

2008-11-01 Thread Frank Sweetser
Tomasz Westrych wrote:
> Hi,
> 
> I have installed beta version 2.5.16 and after I'm trying to start 
> Bacula I get message :
> 
> Starting the Bacula Storage daemon
> /sbin/bacula-sd: error while loading shared libraries: libbacpy.so.1: 
> cannot open shared object file: No such file or directory
> 
> Starting the Bacula File daemon
> /sbin/bacula-fd: error while loading shared libraries: libbacfind.so.1: 
> cannot open shared object file: No such file or directory
> 
> Starting the Bacula Director daemon
> /sbin/bacula-dir: error while loading shared libraries: libbacfind.so.1: 
> cannot open shared object file: No such file or directory
> 
> I can see that files are in /user/lib catalog , what I need too set to 
> start Bacula properly?

What do you get when you run

ldd /sbin/bacula-fd

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and LTO4 weirdness.

2008-10-29 Thread Frank Sweetser
Jason Selwitz wrote:
> Hi there I was wondering if anyone had seen this before, I have a Gentoo 
> Linux system running bacula 2.4.2 with an attached LTO4 media changer 
> the backups are running fine as are the verifys however if I go to 
> manually run a full backup  it starts to move to the last file of the 
> current tape then marks the tape as errored and starts writing to the 
> next good tape,  just curious if  anyone has seen this before or if 
> anyone knows of any settings for bacula that are necessary for LTO4? thanks.

I haven't played with LTO4 tapes, but a good place to start is to run the
btape validation tests.  That should make sure that there isn't any problem
with your configuration on your particular hardware setup.

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Clients of Bacula

2008-10-28 Thread Frank Sweetser
Frederico Argolo wrote:
> 
> Anybody knows if some big company uses bacula ?
> 
> I need this information to make a presentation.

"Big" is a relative term, but these pages might help a little:

http://bacula.org/en/?page=testimonial

http://wiki.bacula.org/doku.php?id=database_statistics

-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] [Fwd: Re: bacula : about the bacula.spec form rpms]

2008-03-03 Thread Frank Sweetser
Kern Sibbald wrote:

>> If you do it by reinstalling the OS from normal distro media, then you can
>> also reinstall Bacula from rpms on a CD.
> 
> As mentioned above, the binaries are not necessarily the most critical part 
> unless perhaps you have applied a number of critical patches.  The most 
> important parts are your Director's conf file, your catalog, and shortly any 
> special plugins, but as time goes by, there are more and more little pieces 
> that are important.  By saving everything in one wack, you are sure you did 
> not miss anything.

Perhaps a reasonable compromise might be to ensure that, as part of the 
packaging process, a "bootstrap" job is created?  For example, this might be 
as simple as a separate config file (call it "bootstrap.inc", for example), 
containing just a fileset definition.  The default director config could then 
ship with a pre-canned job that includes that file for the fileset definition. 
  As other files are added to the list of what's required to bootstrap, the 
package maintainer just has to add the appropriate directories and files to 
the bootstrap.inc file.

That way, the admin can simply use the bootstrap job, and know that the 
installation package will ensure it's always backing up the correct set up 
files without keeping them in one FHS-unfriendly directory.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] [Fwd: Re: bacula : about the bacula.spec formrpms]

2008-03-03 Thread Frank Sweetser
David Boyes wrote:
>> There are standards such as FHS, and these are good and useful for
> most
>> programs, but they really do a big disservice to Bacula users when we
> are
>> dealing with recovery.  If you spread the Bacula installation all
> around
>> your
>> computer filesystem as most packages do and as the standards specify,
> and
>> your system is a server and the server goes down (loses the harddisk),
> you
>> will find it next to impossible to restore that server -- very few
> people
>> think about this.  What I am saying here applies to a Bacula server
>> (Director, SD) and not clients.
> 
> Adherence to the filesystem standards is important in that many
> enterprises require their use where such standards exist, and the key
> point here is to preserve the various configuration files and
> information, not the location of the binaries. I don't really care where

Just to expand on this point a bit - as security enhancements such as SELinux 
become more commonplace, it's very realistic to expect that files that are not 
in directories indicated by security policy as holding executables simply 
can't be run as programs.  If Bacula throws binary executables in places 
outside of FHS, it runs a risk of being shot down by those security policies.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula cannot write into a volume

2008-03-03 Thread Frank Sweetser
Roberto Nebot wrote:
> Hello folks!
> 
> I am getting the following error:
> 
> Error: Bacula cannot write on tape Volume "mensual" because:
> The number of files mismatch! Volume=5 Catalog=4
> 
> Does anyone know what can I do to make this volume writable?.

This should help:

http://www.bacula.org/en/rel-manual/Tips_Suggestions.html#SECTION003860000

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update slots causes bacula console to prompt for drive, etc?

2008-02-29 Thread Frank Sweetser
Bob Hetzel wrote:

>> => *update slots
>> => Automatically selected Storage: Dell-PV136T
>> => Enter autochanger drive[0]: 0
>> => Connecting to Storage daemon Dell-PV136T at gyrus:9103 ...
>> => 3306 Issuing autochanger "slots" command.
>> => Device "Dell-PV136T" has 0 slots.
>> => No slots in changer to scan.
>>^^^
>>
>> I often see this if I do something like add/remove/move tapes outside of 
>> bacula, using mtx or the front-panel controls of the tape drive. The only 
>> reliable way to address the tape drive after this is to restart bacula.
>>
> 
> Yup.  I in fact did take the library offline to add tapes.  Has anybody 
> found a method of tape rotation in and out of the library that doesn't 
> involve shutting bacula down?  This is kind of a big deal as most backup.

I have the same library here, and I've often added and removed tapes without
shutting down the sd - you just have to make sure that no jobs are running,
and bacula has unmounted the volumes.

Also note that the library sometimes takes a little while to wake back up
after it's been offline, so you may have to repeat update slots once or twice
before it will admit that it's there.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Hi and a question about volumes

2008-02-20 Thread Frank Sweetser
Richard Bellamy wrote:
> Hi
> 
> I am new to bacula and looking forward(!) to using it.
> 
> Does anyone know if it is possible to backup to a directory (i.e. use a
> directory as a volume and not a file)?. I have a requirement to be able to
> modify the backup in-place before a redployment. I am not concerned about
> file permissions or ownership. Alternatively is is possible to mount a
> bacula file volume as a filesystem (with fuse for example)?

The simple answer is no, that's not something Bacula can do on it's own (or
any other backup system I know of, for that matter).

What you could do, though, is create a script that makes a copy of your data
to a staging area and modifies the data there.  You could easily create a
Bacula job that would call this script before each backup run, and have it
backup the staging area instead of the original data.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Why Can't I Stat Mapped Vista network drives.

2008-02-18 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:

> File  =   
> "Z:\\Users\\CLIENT2\\AppData\\Local\\Microsoft\\Outlook"
>   }
>   }
> 
> 
>  Is there a trick to this? Or am I missing something obvious?

http://www.bacula.org/en/rel-manual/Configuring_Director.html#SECTION001411

Try using forward slashes, rather than escaped backslashes.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem when restoring to a networked drive.

2008-02-14 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:
> Thanks Bob,
> 
> We have decided that running the restore using the Director as the
> client, is the best way forward. However, the issues have not changed :(
> 
>  The following Job definition still saves to the remote client, using
> C:\E\backup:
> 
> 
> Job{
> Name   ="CLIENT01-Restore"
> Type=Restore
> Client   =DIRECTOR
> FileSet  =CLIENT01
> Storage=DIRECTOR-sd
> Pool =CLIENT01
> Messages =Standard
> Where  ="\\E\\backup\\restored-files\\CLIENT01\\"

Quoting from
http://www.bacula.org/en/rel-manual/Configuring_Director.html#SECTION001411

-
If you are entering Windows file names, the directory path may be preceded by
the drive and a colon (as in c:). However, the path separators must be
specified in Unix convention (i.e. forward slash (/)).
-

If I recall correctly, the '\\' syntax worked in 1.38, but not in 2.x.  Trying
using a Where line something like this:

Where = "e:/backup/restored-files/CLIENT01"

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Archive, bscan etc?

2008-02-14 Thread Frank Sweetser
Jesper Krogh wrote:
> Hi.
> 
> We'd like to send some tapes every now and then to an external archive.
> And make sure that doing a subsequent restore, bacula would think these
> tapes are "gone", since the amount of work getting them back is generally
> only for emergency situations.
> 
> So I can just delete the Volumes from bacula and go on.
> 
> But if I by some chanche would like to get a file back, I'd like to be
> able to tell which of the send volumes that I should "bscan" to get it
> working.
> 
> Is there a script somewhere that takes a "volumename" and give me a "tar
> tvf-like" output of the complete volume content?

'bls' and 'bextract' will let you work directly with volumes.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Some Scripts You may want to include within Bacula

2008-02-08 Thread Frank Sweetser
Vamegh Hedayati wrote:
> Hello,
> 
> I have written a couple of scripts around bacula.

Those scripts would be a great addition to the wiki!

http://wiki.bacula.org/doku.php?id=3rd_party_addons

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Cataloging question

2008-02-07 Thread Frank Sweetser
Aimon Bustardo wrote:
> bconsole v. 2.0.3
> 
> Hello all, I have been trying to do a recovery from tape for the past
> few days. It has been cataloging for 2 days now. It is about a 1TB svn
> repo (many, many small files). Could it be stuck? The progress bar is
> still going, and CPU levels are high. How long can this take? Also if I
> know exactly what job and which dir I want recovered do I have to wait
> for the cataloging? Can I request the dir directly somehow?

Older versions were known to sometimes take a very long time to set up restore
trees.  It may actually be faster to cancel the current restore, and upgrade
to the latest version (2.2.8) and try again.  The 2.2.x code should speed up
building the restore tree from the catalog by as much as 500 times faster.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] slightly annoying bug in the console

2008-02-03 Thread Frank Sweetser
James Harper wrote:
> I'm not sure if this is just something peculiar to my configuration, but
> in the text console for bacula, if I type a command then backspace over
> it then press enter, bacula still acts as if I typed the command, or at
> least part of it.
> 
> Does anyone else see this or is it just me?

It's not so much a bug, as it is a bconsole quirk.  It simply defaults to
overwrite mode instead of insert mode.  Hit the 'insert' key to switch modes,
and it'll behave as you expect.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MySQL Errors being logged

2008-02-03 Thread Frank Sweetser
James Harper wrote:
> I've been using bacula on a Xen server for many months with no problems
> at all. A week ago I set up some jobs to run concurrently to the
> existing jobs to back up some remote clients to a remote sd.
> 
> Since then, jobs aren't completing and are hanging around and things are
> just not running well, although I think the jobs ran okay for the first
> few nights. I upgraded bacula from Debian's 2.2.0 to 2.2.6 around the
> same time, remembering that there was a critical bug in Bacula releases
> around that time. This was probably a bit foolish in retrospect - I
> should have let 2.2.6 run for a bit before introducing the new jobs.
> 
> I think the cause may be being indicated by the following messages being
> logged:
> 
> "
> 03-Feb 23:24 bitvs1-dir JobId 2104: Fatal error: sql_create.c:732
> sql_create.c:732 insert INSERT INTO batch VALUES
> (234440,2104,'/usr/local/src/linux-2.6-2.6.18.dfsg.1/arch/powerpc/sysdev
> /','mmio_nvram.c','P0A BVJx1 IGg B Po Po A sk BAA I BHoxp9 BFELiO BHoxqG
> A A E','LwUL7mrqTpsgiK8bTaPM5A') failed:
> Incorrect key file for table '/tmp/#sqle43_153_0.MYI'; try to repair it
> 03-Feb 23:24 bitvs1-dir JobId 2104: Fatal error: catreq.c:482 Attribute
> create error. Pool record not found in Catalog.
> "

This is actually fairly concerning.  Normally, in the case of MySQL declaring
a table is corrupt, I'd suggest that you just repair the table and move on.
In this case, though, the table that's corrupt is the batch table.  This is
just a temporary table, which normally shouldn't even be hanging around long
enough to get a chance to be corrupted, which means that something is hitting
it really quick.

The first thing I'd check is to make sure that the partition holding /tmp
isn't running out of space.  If it is, either tell MySQL to use a different
directory with more space, or increase the amount of space allocated to /tmp.

Beyond that, I'd check through your kernel logs to make sure that there aren't
any filesystem or hard drive errors popping up.

Just to make one thing clear, though - this is almost certainly not a Bacula
problem.  All that Bacula ever does is fire off standard SQL queries at the
server, which (barring some catastrophic but in MySQL) should never be able to
produce a corrupt table.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Query on Bacula Feature

2008-02-01 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:

> 1.Whether Bacula supports any kind of fault-tolerance. If yes, what
> are the schemes?

Can you be more specific about what kinds of faults you're interested in, and
what levels of tolerance?

> 2.Whether Bacula supports any kind of Load-balancing. If yes, please
> provide details.

If you mean having backups pointed at a cluster of storage daemons, no, it
does not.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:
> Hi,
> As a new user, I'll start by thanking Kern (see you at the UKUUG) and 
> everyone who's contributed to Bacula!
> 
> When the backup status is "Backup OK -- with warnings" the subject of 
> the report e-mail is always "Backup OK".
> My co-workers (and sometimes I) often miss small problems that cause the 
> warnings because it's assumed from the subject of the e-mail that the 
> backup was completely successful - especially with a high volume of 
> e-mailed reports.
> 
> My natural assumption is that the e-mail subject would be the same as 
> the backup status.
> Is this not the case by design?

As far as I know, there's no way to include warnings in the subject line, no.
 Doing so sounds pretty reasonable to me, so I'd suggest that you file a
feature request to ask if the current behavior can be improved.  You can find
directions on how to make a feature request here:

http://bacula.org/en/?page=feature-request

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Help Request

2008-01-30 Thread Frank Sweetser
Chris wrote:
> Hello All,
>  
> I have installed a new web server for a friend.
> Hardware: AMD X2-3600, 2gb RAM, 500gb RAID1
> OS: Centos 5.1 64-bit
>  
> It is now happily sitting at a colo facility.
>  
> I have downloaded Bacula and attempted to install the RPM (being a web
> server, I neglected to install a development environment, so I can't
> just compile it from source).  The install fails with several dependencies.
>  
> [EMAIL PROTECTED] ~]# rpm -ivh bacula-mysql-2.2.8-1.el3.i386.rpm
> warning: bacula-mysql-2.2.8-1.el3.i386.rpm: Header V3 DSA signature:
> NOKEY, key ID 10a792ad
> error: Failed dependencies:
> libcrypto.so.4 is needed by bacula-mysql-2.2.8-1.i386
> libmysqlclient_r.so.10 is needed by bacula-mysql-2.2.8-1.i386
> libssl.so.4 is needed by bacula-mysql-2.2.8-1.i386
> libstdc++.so.5 is needed by bacula-mysql-2.2.8-1.i386
> libstdc++.so.5(GLIBCPP_3.2) is needed by bacula-mysql-2.2.8-1.i386
> [EMAIL PROTECTED] ~]# which libcrypto.so.4
> /lib64/libcrypto.so.4
> I can probably figure out the mysql client, but the others?  One is
> already on my system (the ssl stuff looks like openssl), and I don't
> know what package insalls libstdc++?
>  
> Would anyone be able to tell me what Centos 5 RPMs are needed to get
> Bacula to install?

I *believe* that Centos 5.1 uses yum, so you should be able to use the
whatprovides option to search for the right package:

# yum whatprovides libcrypto.so.4

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Steps to create a recovery cd from a windows host to a debian client

2008-01-28 Thread Frank Sweetser
Adam Abuirmeileh wrote:
> we already managed to get debian on the server. but we weren't the ones
> that set it up. so we are trying to save some time by accessing the
> restore files instead of rebuilding the server, even to the point there
> it can talk with the others on the network.

Okay, so your current scenario is:

 - you lost a server which was being backed up by Bacula
 - you have reinstalled a new debian system to replace it, but want to recover
data from the original
 - someone else set up Bacula originally
 - you're fairly new to Bacula

Is this correct?  If so, here's what I would suggest doing.

 - configure networking on the new machine
 - configure Bacula on it also
 - on the server, launch bconsole and use the restore command

This should allow you to get back any data that was backed up from the
original server.  Make sure to check the manual for anything you're unsure of.

http://bacula.org/en/rel-manual/Restore_Command.html

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Steps to create a recovery cd from a windows host to a debian client

2008-01-28 Thread Frank Sweetser
(Don't forget to keep bacula-users in the discussion!)

Adam Abuirmeileh wrote:
> the windows machine is the backup server. how do i run the backups off
> the cd in the debian box?

By firing up bconsole and setting off a restore command pointed at the machine
to be recovered while it's running the bacula client off of the rescue disk.
The fact that the server is running Windows doesn't substantially change the
process at all.

If you've never done a restore before, you should really read through the
manual online first.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Steps to create a recovery cd from a windows host to a debian client

2008-01-28 Thread Frank Sweetser
Adam Abuirmeileh wrote:
> our dns server recently crashed and we need to restore it. sadly the
> network is down so we cannot go the usual route. if any1 can help me
> with the steps to create a recovery cd from a windows host to a debian
> client that would be amazing.

If I'm reading that right and you need to restore a debian host, the simplest
way is just to grab a knoppix CD.  The latest version has been reported to
have a bacula client already on it.  You'll probably have to reconfigure it,
but it should work to get your data restored.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error compiling bacula 2.2.8 on fedora 7.

2008-01-28 Thread Frank Sweetser
(Don't forget to reply to the bacula list too)

Erik P. Olsen wrote:
> Frank Sweetser wrote:
>> Erik P. Olsen wrote:
>>> As may be seen from attached config.log I do not get very far when 
>>> compiling 
>>> bacula 2.2.8. It's the same problem I had with 2.2.7. Is it at all possible 
>>> to 
>>> install this version on fedora 7?
>>>
>>> Is it a bug that I should report or do I have incompatibilities in my 
>>> system? 
>>> Unfortunately I am not able to debug the problem myself.
>>
>> /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or
>> directory
>>
>> It looks like you're simply missing linux/limits.h, which should be part of
>> the kernel-headers package.
>>
> Hm, maybe it's looking the wrong place, locate linux/limits.h yields: 
> /usr/src/kernels/2.6.21-1.3194.fc7-i686/include/linux/limits.h

Nope.  That copy is part of the kernel-devel package, which is only used for
building new kernels, not compiling user space applications.  You want
/usr/include/linux/limits.h which is part of the kernel-headers package.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error compiling bacula 2.2.8 on fedora 7.

2008-01-28 Thread Frank Sweetser
Erik P. Olsen wrote:
> As may be seen from attached config.log I do not get very far when compiling 
> bacula 2.2.8. It's the same problem I had with 2.2.7. Is it at all possible 
> to 
> install this version on fedora 7?
> 
> Is it a bug that I should report or do I have incompatibilities in my system? 
> Unfortunately I am not able to debug the problem myself.


/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or
directory

It looks like you're simply missing linux/limits.h, which should be part of
the kernel-headers package.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Catalog backup separate from autochanger tapes?

2008-01-22 Thread Frank Sweetser
Simon Gray wrote:
> Hi guys,
> 
> I have a TS3100 (LTO-4) up and running without any problems. I've 
> configured Bacula to store its catalog in MySQL. Our backups are up to 
> around 3TB and spanning multiple tapes, obviously the data is fairly 
> useless without the catalog to retrieve it? I'm considering writing the 

A little more work to get out, but no, lack of the catalog data does not make
the volumes useless at all.  Even if you had some disaster which physically
destroyed everything but the backup volumes, you can still get your data back.

The brute force method is to use bls and bextract.  These are simple command
line utilities that can list and extract data straight from volumes.  They're
much less convenient, but can save you in a pinch.

The other option is to re-create a Bacula setup, and use bscan.  This command
will take inventory of all data on a volume, and populate a catalog with it.
You can then run a normal restore command to get data back.

> catalog to a cd/dvd once a week with our full backups (plus daily 
> incremental), with my idea being to separate it from the main array of 
> tapes. I may even replicate the database offsite as well - but thats 
> separate from this discussion.

Not a bad idea at all.

> I'm interested in how others store their catalogs? do you include this as
> part of your main backup?

I do here, yes, out of simplicity.  Also the fact that the main Bacula server
has good redundancy (RAID, multiple PSU, etc) which reduces my risk a little.

> How do you restore the data if the catalog is on the same media?

Use a separate job, and save the .bsr file produced by the job on a different
machine.  The .bsr file will make it much easier to extract out the data from
the backup that produced it using bextract.

> Can anybody see any problems with backing up the catalog on to separate 
> media?

As long as you do it with a separate job, it shouldn't be a problem.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] copy over internal IP

2008-01-18 Thread Frank Sweetser
Andy Goldschmidt wrote:
> Hi Frank
> 
> You are a pure Genuis. Don't know why I never thought about that.
> 
> Do you know if I can submit this as a  Feature Request, so in future
> versions it can be done properly in the bacula config files ?

I have no idea if Kern would accept it or not, but at a minimum you should
probably come up with a sample syntax to define what you'd like to see, and
make sure something like it isn't already in the projects list:

http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/projects?view=markup

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beta release of Bacula version 2.2.8

2008-01-18 Thread Frank Sweetser
Weber, Philip wrote:
> I've fairly recently implemented Bacula on Solaris 9 servers - Director,
> 2 Storage Daemons, 2 tape libraries, MySQL.  I also have a similar test
> environment which I can get up and running fairly quickly.
> 
> Should I be running the regression tests either for my own upgrade
> testing or for the benefit of the community?  If so, where do I start?

It's always a good idea to run regression tests =)  You should note, however, 
that the contention issues that Kern mentioned are quite difficult to hit in 
the regression suites.  I was able to hit the contention issue a few times a 
week in my configuration (two tape drives off a single autochanger, about 20 
clients), but not in the regression suite.

The regression suite is actually pretty easy to get started with.  Directions 
are in the developer's manual:

http://bacula.org/developers/Bacula_Regression_Testing.html

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] copy over internal IP

2008-01-17 Thread Frank Sweetser
Andy Goldschmidt wrote:
> Hey guys
> 
> Not sure if this has been asked or answered before.
> 
> Is it possible for me to setup the director and storage and file daemons to
> talk to each other on say eth0 (10.0.0.xx). I want to specify an IP or
> network device to then actually do the copy over (E.g. eth1 192.168.x.x) ?
> 
> E.g. Lets say we have 3 servers. A director, a client and a storage server.
>  I want to get the client to backup to the storage server.
> 
> All 3 servers can talk to each other over eth0 (10.0.0.xx) network. But the
> client and storage server have a crossover cable connecting them (eth1).
> 
> I want Bacula director to physically transfer the data between the client
> and storage server over that crossover cable (eth1).
> 
> Can this be done presently ? or do I need to submit it as a feature
> request.

Currently, the best way to do this would be to tweak the IP address each hosts
resolves the name of the storage server to.  You can do this either using DNS
views, or by adding entries to /etc/hosts file.  This way, the director
resolves the sd hostname to the 10 net address, but the client resolves the
hostname to the 192 address and uses that connection instead.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to restore catalog (MySQL issue)

2008-01-17 Thread Frank Sweetser
Timo Neuvonen wrote:
> I guess this is more a database issue than a bacula issue, but anyway:
> 
> What is the proper way to restore the bacula catalog to mysql server, when I 
> have available the database dump file (bacula.sql) made by 
> make_catalog_backup script.
> 
> So, this has nothing to do with finding the catalog data from a tape drive 
> etc. What I'm actually trying to do, is to learn a foolproof way to restore 
> the catalog to is current state after some "trial and error"- style 
> experiments with bacula.
> 
> 
> On a system with no bacula installed, I tried this (syntax copied from a 
> restore example in the catalog backup script):
> 
>   mysql  
> which results in an error message:
> 
>   ERROR 1046 (3D000) at line 22: No database selected
> 
> So it obviously won't be this simple?

Almost that simple:

mysql
create database bacula
use bacula
\. bacula.sql

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole can't connect with bacula-director

2008-01-13 Thread Frank Sweetser
Reynier Perez Mira wrote:
> Well I add this line: "127.0.0.1 gsdserver" to the hosts file and the same
> error still appear. Why?

That likely means that either the director is not listening on that port, 
possibly because it's not running, or you've got a firewall rule blocking it.

To confirm this, what does the command

telnet gsdserver 9101

do?

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole can't connect with bacula-director

2008-01-13 Thread Frank Sweetser
Reynier Perez Mira wrote:
>> gsdserver doesn't resolve to the host that the director 
>> is running on
> 
> Maybe, this is the main error. When I restart Apache this error show up: 
>> /etc/init.d/apache2 restart
>  * Restarting web server apache2  
>   
>  apache2: Could not reliably determine the server's fully qualified domain 
> name, using 127.0.1.1 for ServerName
>  apache2: Could not reliably determine the server's fully qualified domain 
> name, using 127.0.1.1 for ServerName [ OK ]
> 
> How can I fix this? Can I write IP address instead a name for Director?

That, or add an entry to /etc/hosts for your hostname and the matching IP 
address.

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole can't connect with bacula-director

2008-01-13 Thread Frank Sweetser
Reynier Perez Mira wrote:
> bconsole Connecting to Director gsdserver:9101 13-ene 17:51 bconsole JobId
> 0: Fatal error: bsock.c:129 Unable to connect to Director daemon on
> gsdserver:9101. ERR=Conexión rechazada

I'm going to guess that the ERR here is something along the lines of 
connection refused.  If so, that means that bconsole tried to make TCP a 
connection to the host gsdserver on port 9101, and failed.  Some possible 
reasons for this:

  - gsdserver doesn't resolve to the host that the director is running on
  - the director isn't running
  - a firewall rule, either on the host or a device in between (if it's not 
the same host) is blocking traffic to 9101

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread Frank Sweetser
le dahut wrote:
> Here you can find it
> http://eole.orion.education.fr/depot/listing.php?repname=Eole&path=%2FOutils%2Feole-bacula%2Ftrunk%2Fbacula%2F&rev=0&sc=0
> 
> take a look at baculaservice.sh which is a the script used to manage 
> pre/post-backup/restore (services stop and start)

Okay, so you're actually calling the baculaservice.sh script (which does the
actual service start/stop commands) from within Bacula python events.  At this
point, the simplest thing to try would be to rework your setup such that the
start and stop actions are done using run script directives defined within the
job, just to rule out the additional complexity of the python environment.

If that fixes the problem, check to see if the getservbyname system call is
working from within python, and from within the python environment in Bacula.
 Something is screwing it up by the time your deamons call it to find out what
ports to bind to.

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with Incremental backup failure

2008-01-10 Thread Frank Sweetser
Mingus Dew wrote:
> I'm looking at the SQL syntax and can't figure out why it wants to
> insert these values into "batch" table. There was absolutely NO changes
> made to the database. This table has not existed previously. The only
> change that I've made recently was enabling data encryption for these
> clients. I can't see why this would cause it to want to insert values
> into a non-existent table however

http://wiki.bacula.org/doku.php?id=faq#fixing_table_bacula.batch_doesn_t_exist

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread Frank Sweetser
le dahut wrote:
> Let me explain it all again :
> 
> - bacula-dir uses DirStartUp.py
> - Dirstartup.py stop/starts services (samba, ldap, mysql) before/after 
> backup

Can you post DirStartUp.py?

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread Frank Sweetser
le dahut wrote:
> It happens again during some quick test (several bacula-dir restart).
> 
> I've written a DirStartUp.py that stops services before and starts them 
> after backup. It seems that the services that take the bacula port are 
> those which are stopped/started by DirStartUp.py.

Do the programs still exhibit the same behavior when started manually, rather
than from within DirStartUp.py?

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula fedora8 problem

2008-01-09 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:
> Hi
> I edit all bacula config files the password placeholders replaced with
> (for testing)
> 
> Director {# define myself
>   Name = bacula-dir
>   DIRport = 9101# where we listen for UA connections
>   QueryFile = "/etc/bacula/query.sql"
>   WorkingDirectory = "/var/spool/bacula"
>   PidDirectory = "/var/run"
>   Maximum Concurrent Jobs = 1
>   Password = "start" # Console password
>   Messages = Daemon
> }
> 
> what means Console password, is this the root password ?
> thanks

No, Bacula has its own set of passwords that it uses for authentication
between the various components.

http://www.bacula.org/rel-manual/Customizin_Configurat_Files.html#SECTION00134

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula fedora8 problem

2008-01-09 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:
> Hi
> I'm new bacula user and I have some problem to start bacula.
> 
> my Hardware and Software specifics
> 
> Fedora 8 2.6.23.8-63.fc8 x86_64 GNU/Linux, Bacula is from the fedora  
> repository on version 2.0.3-11.fc8 and the director has support for  
> the PostgresSQL DB.
> 
> my problem
> I install with yum all bacula with postgresql packages, i made a  
> modification on bacula-dir.conf and bconsole.conf, but still not  
> working. Can somebody help ?
> Thanks..
> 
> Is a step by step or a how to documentation with fedora 8 / postgresql  
> (mysql) available ?
> 
> failures
> 
> ./bacula-dir start
> Starting bacula-dir: Error: Not been configured[FAILED]

This is the relevant error message...

>Password = "@@DIR_PASSWORD@@" # Console password

... and here's the problem.  The startup scripts are noticing that you still
have the password placeholders, and assuming that you haven't configured
Bacula at all.  Edit the confg files, and at least change the password values
and you should be able to start the daemons.

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-07 Thread Frank Sweetser
le dahut wrote:
> Has I said (not directly I assume), it is not corrupted and indeed, many 
> random processes take successively port 9101 and when I finally restart 
> all the incriminated services, it ends on a bacula-dir process that 
> seems not to have been properly killed/closed by the init script.
> 
> So why do I get this very strange behavior ?

Either a) every one of those programs has been configured to use 9101, which I
highly doubt, or b) when each one of those programs goes to look up its
default port, it is always getting 9101.  Unless you have NIS configured on
your system, the canonical source for service name to port number mappings in
/etc/services file.

If you like, you could post your /etc/services file on a web site or
pastebin.ca somewhere, and others could then take a look to see what hidden
faults there might be.

-- 
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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-07 Thread Frank Sweetser
le dahut wrote:
> No it is not the problem, when I restart ldap, it is Mysql that listens 
> on 9101, when I restart Mysql, Sympa listens on 9101, when I restart 
> Sympa, etc... finally I get to the process bacula-dir, and when I kill 
> its PID, nothing listens on port 9101 any more and THEN I can restart 
> bacula-dir and find a well working bacula-director.
> 
> This appears on many servers.
> 
> What's happening with port 9101 ?

As someone else said, you should definitely check the contents of
/etc/services to see if the file has been corrupted.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] New Infrastructure Implementation

2008-01-04 Thread Frank Sweetser
Diego Roccia wrote:
> 4/5 times a week, coders call my db administrator saying "ops, I
> dropped/ruined/ate the table X, now I need it as it was yesterday".
> So I need to give DB Admin a tool to quickly restore a single table
> (read "files") as it was x days ago (with 1 problem is not applicable with this retention.

One thing you should really be aware of, then, is that the practice of
splitting each table out into a set of files is only applicable with MyISAM
tables.  Any InnoDB tables will all be stored in the InnoDB table space, which
may be multiple files, but will not be split on any simple boundaries like 
tables.

If your goal is to easily restore single tables, check out the --tab option to
mysqldump.  It will produce two files for each table, one containing the table
structure and one containing the data.  If you combine this with another
structure only mysqldump to capture views, procedures, and other such non
table specific metadata, it should give you what you're looking for.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] New Infrastructure Implementation

2008-01-04 Thread Frank Sweetser
Diego Roccia wrote:
> Hi all,
>   For my company we need to implement bacula as backup software. In a
> previous thread I've explained the infrastructure, and now I have more
> information on the hardware we are going to implement.
> 
> +--+   +--+
> | MySQL|   |MySQL |
> | Master   |   |Master|  x30
> +--+---+   +--+---+
>|  |
> +--+---+   +--+---+
> | MySQL slave  |   | MySQL slave  |
> |  |   |  |
> |  bacula-fd   |   |   bacula-fd  |  x30
> +--+---+   +--+---+
>|  |
>+--+- ...
>|   
>|   +--+
>+---+  bacula-dir  |
>|   +--+
>|
> +--+---+
> |   bacula-sd  |
> +--+---+
>|
>|
> +--+---+
> |   Library|
> | Dell |
> |PowerVault4000|
> +--+

Looks straightforward enough.

> My questions are:
> 
> - Does somebody know something about Bacula support for Dell Tape
> Libraries? Will I be able to use all the features of my hardware? I
> didn't find it in Bacula supported libraries page.

For SCSI connections, almost certainly.  It looks like that library can also
be hooked up via SAS or FC, which I just haven't played around enough to say.
 The tape drive itself is pretty likely to work, so the only bit you might
want to double check on is the changer device and barcode reader.  As long as
you can get the mtx program to talk to it, you should be fine.  Dell is fairly
cluefull about Linux, so you stand a pretty good chance of getting a useful
answer direct from them.

> - I will need to stop mysql slave before and restart it after backup. I
> read the documentation but something is still not clear for me. Can I
> execute a "script on client before" and a "script on client after" and
> start the backup only "if success"? Or it's better to use a script on
> director that remotely stops the db engine?

Check out the

Client Run Before Job

and

Client Run After Job

directives in the manual.

http://bacula.org/rel-manual/Configuring_Director.html

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using bacula over Internet

2008-01-04 Thread Frank Sweetser
Bruno Friedmann wrote:

> If I remember correctly, Kern in the 2.2.7 announce have set the
> possibility to log client with certifcates (as we can do in PKI )

More specifically, it was the ability to use TLS authentication without TLS
encryption of the entire session.  TLS authentication and encryption has been
in Bacula for awhile now.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using bacula over Internet

2008-01-03 Thread Frank Sweetser
Terry L. Inzauro wrote:
> Dan Langille wrote:
>> [EMAIL PROTECTED] wrote:
>>> Hello
>>>
>>> I wish to know what is the most secure solution for using bacula over the
>>> internet.
>>>
>>> I have seen bacula is able to use tls connection and tcp-wrappers. Is this
>>> solution strong enough ?
>> "Strong-enough" is hard to define.  It is at least as strong as https, 
>> which is used for many things, including financial transactions.
>>
>>  > Is there a more secure solution ?
>>
>> None easily available.  Security is a trade off between risk and 
>> convenience.  It's secure enough for what I do.  I can't tell you if 
>> it's secure enough for what you do.  Only you can decide that.
>>
>>> It is possible to use ssh tunnel, but it is really painfull to administrate 
>>> on a
>>> large number of machines.
>> TLS will be at least as secure as ssh.
>>
> 
> 
> 
> http://openvpn.net is your friend in a time of need.of security, that is.

It's worth noting here that openvpn, ssh, and Bacula all use the exact same
crypto library (openssl) under the hood to handle encryption.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] (no subject)

2008-01-03 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:
>> http://bugs.bacula.org/view.php?id=1018
>>
> 
> Yeah, seems to be the same problem. I haven't actually watched to see if
> the other drive is requesting the tape at the same time, but I assumed
> that it was something like that. Its also at the beginning of the jobs, so
> that sounds right. I guess they don't have any ETA -- I'm also using
> version 2.2.6.

Hey Marc,

 in case you're not still monitoring the ticket, and for anyone else seeing
the issue of Bacula getting stuck while looking for a single tape in multiple
drives, there is code attached to the ticket (a patch and a replacement
reserve.c) that have fixed the problem for me for a couple of days in a row.

The code hasn't seen widespread testing yet, so be cautious when deploying
this to a production system, but it may be worth testing out if you're running
into this particular glitch.  If it fixes it for you, feel free to drop a note
in the ticket as well, as the more confirmed testing this sees, the better!

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to do network based off-site backups??

2007-12-23 Thread Frank Sweetser
Larry Ludwig wrote:
> Hi we are use bacula for our backups.  So far I like all of it's
> features and how it performs.  More research into the "Migrate" function
> and will not work the way it's currently implemented (2.2.6)
>  
> We currently have a large NAS server which we backup all servers to on a
> nightly basis.  No tape library is installed.  We would like to use the
> Migrate function to move data off site via a VPN to another location
> after a specific age. At our other data center we also have a large NAS
> server.  
>  
> The issue is this which appears in the online docs:
>  
> http://www.bacula.org/rel-manual/Migration.html
>  
> "Migration is only implemented for a single Storage daemon. You cannot
> read on one Storage daemon and write on another."
>  
> I tried it and sure enough it doesn't work.  All jobs get into a waiting
> state.
>  
> Since the other storage daemon is on another server located at our other
> data center, which means a seperate storage daemon, this then makes
> Migration function useless for what we would like to do.  FYI to the
> developers this "feature" then makes the migrate function very limited. 
> I would be curious why it was implemented this way.
>  
> My question is how then can we implement off site backups via a network
> transfer.  use rsync to move the existing bacula pool files??  Ideally I
> would like to do it directly within bacula.  Is there a method to do
> this within bacula?

I don't think there currently exists any good method within Bacula.  Your best
bet is probably to rsync the backup files for now.  I would suggest triggering
an rsync (or other copy protocol) from a post job script.

If you wanted to get a little fancier, you could set up a job on the remote
end that bscan's the volumes into a separate director and catalog.

Also, there's rumored to be a new version coming up in the next few months, if
everything goes to plan.  Typically kern puts out a request for voting on new
features, so keep an eye out to put your vote in for SD to SD migration.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Reporting System

2007-12-21 Thread Frank Sweetser
Scott Peshak wrote:

> Sample reports are posted at http://breport.randomscrews.net/samples/   
> Please be gentle, that is on my home DSL line.

Feel free to put a writeup, sample reports, screenshots, etc on the wiki at

http://wiki.bacula.org

It's not the fastest machine in the world, but has plenty of bandwidth
available to it.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and TLS, without client certificates...

2007-12-19 Thread Frank Sweetser
Marco Gaiarin wrote:
> Ok, now my bacula setup are rather decent, next step enable TLS.
> 
> I've looked at FAQ, HOWTOs, manual... but i've not found an answer to
> this question.
> 
> 
> Can i enable TLS without 'client' (fd) certificate, but only 'server'
> (dir) certificates, as usually done by SSL/TLS apps/protocols (https,
> ldaps, ...)?

No, since from an SSL perspective, all of the bacula daemons end up acting as
both client and server.  The director connects to the fd, the fd connects to
the sd, etc.

-- 
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

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Configuring Bacula

2007-12-11 Thread Frank Sweetser
Arno Lehmann wrote:
> Hi,
> 
> 11.12.2007 05:32,, Reynier Perez Mira wrote::
>> Hi: I'm newbie using Bacula. I have some problems with my English
>> because I talk and write Spanish so if any doesn't understand
>> something just let me know.
> 
> No problems...
> 
>> I doing a intesive research about
>> Backups System and finally I want to use Bacula over BackupPC,
>> Amanda and others. Now I have a few questions about Bacula. See
>> below:
>>
>> 1. I want to Backup a SVN repository located in a remote machina.
>> Maybe only branches folder or trunk or the release this is not
>> define yet. The question is: how I can configure Bacula for do
>> this?
> 
> Rather simple actually, but as always, you have several options:
> 1. Just back up the directory tree containing the svn repository on 
> the svn server.
> 2. Dump the svn and back up the dump.

For an example of how to dump the repository intelligently, check out

http://wiki.bacula.org/doku.php?id=application_specific_backups#subversion_repositories

-- 
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

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


  1   2   3   4   >