Re: [Bacula-users] query for file sizes in a job

2011-10-07 Thread Jeff Shanholtz
I appreciate that, but either you misunderstood what I'm trying to do or I
just can't seem to make sense of the search results I'm getting as they
apply to my issue. I did see one web page that decodes the base64 string
from a member of this mailing list, but that operates on a single base64
string, not on a whole job (and even if it did, I don't know how to get
bacula to tell me the base64 strings).

I want to either get a full list of files from a job complete with file
sizes so I can sort on the file sizes, or query for files greater than a
certain size. I also probably should have mentioned that I'm stuck on Bacula
v3.03 because it runs on a windows server.

Could you be a little more specific on what kind of answer I'm looking for
in the google results?

Thanks!

-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Friday, October 07, 2011 6:12 AM
To: Jeff Shanholtz; bacula-users
Subject: Re: [Bacula-users] query for file sizes in a job

2011/10/6 Jeff Shanholtz jeffs...@shanholtz.com:
 I'm currently tuning my exclude rules and one of the things I want to 
 do is make sure I'm not backing up any massive files that don't need 
 to be backed up. Is there any way to get bacula to list file sizes 
 along with the file names since llist doesn't do this?


Google search for bacula base64

John


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] query for file sizes in a job

2011-10-07 Thread Jeff Shanholtz
Thanks guys. I'm pretty sure I'm using sqlite (having a hard time
determining that definitively, but I don't think I did anything from an
installation point of view beyond just installing bacula). I assume this
script is postgresql specific. Looks like the fastest option for me is going
to be to simply search the drives of my 3 client systems for large files and
then check to see if any of those files are being backed up when they don't
need to be.

-Original Message-
From: Stuart McGraw [mailto:smcg4...@frii.com] 
Sent: Friday, October 07, 2011 10:30 AM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] query for file sizes in a job

On 10/06/2011 12:36 PM, Jeff Shanholtz wrote:
 I'm currently tuning my exclude rules and one of the things I want to 
 do is make sure I'm not backing up any massive files that don't need 
 to be backed up. Is there any way to get bacula to list file sizes 
 along with the file names since llist doesn't do this?

The filesize and other file attributes are stored in
(psuedo?-)base-64 encoded form in the lstat field of the 'file' table of the
catalog database.

I ran into the same problem and, since I'm using Postgresql for my catalogs,
wrote a little pg extension function in C that is called with an lstat value
and the index number of the stat field wanted.  This is used as a base to
define some one-line convenience functions like lstat_size(text),
lstat_mtime(text), etc, which then allows one to define views like:

   CREATE VIEW v_files AS (
SELECT f.fileid,
   f.jobid,
   CASE fileindex WHEN 0 THEN 'X' ELSE ' ' END AS del,
   lstat_size (lstat) AS size,
   TIMESTAMP WITH TIME ZONE 'epoch' + lstat_mtime (lstat) *
INTERVAL '1 second' AS mtime,
   p.path||n.name AS filename
FROM file f
JOIN path p ON p.pathid=f.pathid
JOIN filename n ON n.filenameid=f.filenameid);

which generates results like:

SELECT * FROM v_files WHERE ...whatever...;

 fileid  | jobid | del |   size   | mtime  | filename

-+---+-+--++
-+---+-+--++
-+---+-+--++
 2155605 |  1750 | |39656 | 2011-10-06 21:18:17-06 |
/srv/backup/files-sdb1.txt
 2155606 |  1750 | | 4096 | 2011-10-06 21:18:35-06 | /srv/backup/
 2155607 |  1750 | X   |0 | 2011-10-05 19:59:34-06 |
/home/stuart/Maildir/new/1317866374.V803I580003M622752.soga.home
 2155571 |  1749 | | 39553788 | 2011-10-05 21:24:16-06 |
/var/spool/bacula/bacula.dmp
 2155565 |  1748 | |39424 | 2011-10-05 20:24:49-06 |
c:/stuart/pmt.xls
 2155566 |  1748 | | 1365 | 2011-10-05 21:22:42-06 |
c:/Local/bacula/data/pg_global.sql
 2155567 |  1748 | | 45197314 | 2011-10-05 21:23:07-06 |
c:/Local/bacula/data/pg_jmdict.dmp

I've found it very convenient and will be happy to pass it on to anyone
interested but have to add a disclaimer is that this was the first time I've
used C in 20 years, first time I ever wrote a PG extension function and
first time I ever looked at the Bacula source code, so be warned. :-)


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] query for file sizes in a job

2011-10-06 Thread Jeff Shanholtz
I'm currently tuning my exclude rules and one of the things I want to do is
make sure I'm not backing up any massive files that don't need to be backed
up. Is there any way to get bacula to list file sizes along with the file
names since llist doesn't do this?

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-09 Thread Jeff Shanholtz
I knew my problem was state related. I figured it out! I had killed a job
while testing some changes and it left a phantom, unused volume in the
catalog (I had deleted the file since I killed the job).

This is what I found when I did a list media on this client's pool:

| MediaId | VolumeName| VolStatus | Enabled |
VolBytes  | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType
| LastWritten |
+-+---+---+-+---
--+--+--+-+--+---+---+--
---+
| 3254| client | Append| 1   | 181
| 0| 31536000 | 0   | 0| 0 | File  | 0

Deleted the volume from the catalog and I just ran a backup successfully
without any intervention. :)

-Original Message-
From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Monday, August 08, 2011 12:52 PM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] please mount volume or label a new one

 I have always kept Maximum Volume Jobs at 1 for this and all other
 (working) clients. One file per job is the way I do it.

 Do you have a limit on the # of volumes in the pool?

Not to my knowledge. Here's the relevant info from my conf files.

 Director:

Director {# define myself
  Name = server-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = C:\\Program Files (x86)\\Bacula\\bin\\query.sql
  WorkingDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  PidDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Maximum Concurrent Jobs = 10
  Password = password # Console password
  Messages = Daemon
  FD Connect Timeout = 43200 # 12 hrs
}

JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Incremental
  FileSet = Windows Full Set
  Schedule = WeeklyCycle
  Messages = Standard
  Priority = 10
}

Job {
  Name = client
  Client = client -fd
  JobDefs = DefaultJob
  Write Bootstrap = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work\\ client.bsr
  ClientRunBeforeJob=cmd.exe /c C:\\Utils\\BeforeBackup.bat
  ClientRunAfterJob=cmd.exe /c C:\\Utils\\AfterBackup.bat
  Pool = client
  Storage = FileClient
}

# Client (File Services) to backup
Client {
  Name = client -fd
  Address = client
  FDPort = 9102
  Catalog = MyCatalog
  Password = password  # password for FileDaemon
  File Retention = 6 months
  Job Retention = 6 months
  AutoPrune = yes # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
  Name = FileClient
# Do not use localhost here
  Address = server# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = password
  Device = FileStorageClient
  Media Type = File
  Maximum Concurrent Jobs = 10
}

Pool {
  Name = client
  Pool Type = Backup
  Recycle = no   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Maximum Volume Jobs = 1
  Label Format =
${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Level}_${JobId}
}

 Storage:

Storage { # definition of myself
  Name = server-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Pid Directory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Maximum Concurrent Jobs = 10
}

Device {
  Name = FileStorageClient
  Media Type = File
  Archive Device = H:\\Bacula\ Backup\ Volumes
  LabelMedia = yes   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = yes   # when device opened, read it
  RemovableMedia = yes
  AlwaysOpen = no
}




--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The
must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users

Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread Jeff Shanholtz
Weekday bump. :)

 

From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Saturday, August 06, 2011 9:27 AM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] please mount volume or label a new one

 

Something happened to cause bacula to stop auto-labeling for one of my
clients. I've manually labeled it 2 or 3 days in a row now, initially
thinking it just needed a kick start for some reason to get back on track. I
think this started because I was doing some testing of some settings and
then ended up deleting an unwanted backup file that bacula created but never
started filling with backup data.

 

All other clients auto-label just fine every day and all clients, including
the faulty one, are configured exactly the same. Plus the faulty client was
auto-labeling prior to this event perfectly fine as well. So I'm inclined to
believe that this problem is state-related rather than configuration
related.

 

I am running version 3.0.3.

 

Can anyone tell me what I must do to correct this problem?

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread Jeff Shanholtz
I have always kept Maximum Volume Jobs at 1 for this and all other (working)
clients. One file per job is the way I do it.

 

From: Kleber Leal [mailto:kleber.l...@gmail.com] 
Sent: Monday, August 08, 2011 11:29 AM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] please mount volume or label a new one

 

Verify if Maximum Volumes parameter.
Maybe your client overflow this setting.

Kleber



2011/8/8 Jeff Shanholtz jeffs...@shanholtz.com

Weekday bump. :)

 

From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Saturday, August 06, 2011 9:27 AM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] please mount volume or label a new one

 

Something happened to cause bacula to stop auto-labeling for one of my
clients. I've manually labeled it 2 or 3 days in a row now, initially
thinking it just needed a kick start for some reason to get back on track. I
think this started because I was doing some testing of some settings and
then ended up deleting an unwanted backup file that bacula created but never
started filling with backup data.

 

All other clients auto-label just fine every day and all clients, including
the faulty one, are configured exactly the same. Plus the faulty client was
auto-labeling prior to this event perfectly fine as well. So I'm inclined to
believe that this problem is state-related rather than configuration
related.

 

I am running version 3.0.3.

 

Can anyone tell me what I must do to correct this problem?



--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

 

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please mount volume or label a new one

2011-08-08 Thread Jeff Shanholtz
 I have always kept Maximum Volume Jobs at 1 for this and all other 
 (working) clients. One file per job is the way I do it.

 Do you have a limit on the # of volumes in the pool?

Not to my knowledge. Here's the relevant info from my conf files.

 Director:

Director {# define myself
  Name = server-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = C:\\Program Files (x86)\\Bacula\\bin\\query.sql
  WorkingDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  PidDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Maximum Concurrent Jobs = 10
  Password = password # Console password
  Messages = Daemon
  FD Connect Timeout = 43200 # 12 hrs
}

JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Incremental
  FileSet = Windows Full Set
  Schedule = WeeklyCycle
  Messages = Standard
  Priority = 10
}

Job {
  Name = client
  Client = client -fd
  JobDefs = DefaultJob
  Write Bootstrap = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work\\ client.bsr
  ClientRunBeforeJob=cmd.exe /c C:\\Utils\\BeforeBackup.bat
  ClientRunAfterJob=cmd.exe /c C:\\Utils\\AfterBackup.bat
  Pool = client
  Storage = FileClient
}

# Client (File Services) to backup
Client {
  Name = client -fd
  Address = client
  FDPort = 9102
  Catalog = MyCatalog
  Password = password  # password for FileDaemon
  File Retention = 6 months
  Job Retention = 6 months
  AutoPrune = yes # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
  Name = FileClient
# Do not use localhost here
  Address = server# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = password
  Device = FileStorageClient
  Media Type = File
  Maximum Concurrent Jobs = 10
}

Pool {
  Name = client
  Pool Type = Backup
  Recycle = no   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Maximum Volume Jobs = 1
  Label Format =
${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Level}_${JobId}
}

 Storage:

Storage { # definition of myself
  Name = server-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Pid Directory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Maximum Concurrent Jobs = 10
}

Device {
  Name = FileStorageClient
  Media Type = File
  Archive Device = H:\\Bacula\ Backup\ Volumes
  LabelMedia = yes   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = yes   # when device opened, read it
  RemovableMedia = yes
  AlwaysOpen = no
}



--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] please mount volume or label a new one

2011-08-06 Thread Jeff Shanholtz
Something happened to cause bacula to stop auto-labeling for one of my
clients. I've manually labeled it 2 or 3 days in a row now, initially
thinking it just needed a kick start for some reason to get back on track. I
think this started because I was doing some testing of some settings and
then ended up deleting an unwanted backup file that bacula created but never
started filling with backup data.

 

All other clients auto-label just fine every day and all clients, including
the faulty one, are configured exactly the same. Plus the faulty client was
auto-labeling prior to this event perfectly fine as well. So I'm inclined to
believe that this problem is state-related rather than configuration
related.

 

I am running version 3.0.3.

 

Can anyone tell me what I must do to correct this problem?

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] performance problem

2011-08-04 Thread Jeff Shanholtz
FWIW the backups sped up considerably and finished after 1.5 days at an
overall transfer rate of about 1.5 MB/s. I'm really not sure what caused the
slowdown yesterday but the eventual speed up seems to imply an environmental
state on the machines that went away. I checked to see if the AV software
was doing full system scans, but it wasn't. Unless anyone has ideas on what
might have been causing the slowdown, I will consider this issue (more or
less) resolved. Thanks anyway.

 

From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Wednesday, August 03, 2011 5:31 PM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] performance problem

 

I currently have 3 clients doing a full backup (simultaneously). According
to status client one is getting 300kb/s (this one is my director and
storage server machine), one is getting 225kb/s, and one is getting 50kb/s.
I've disabled AV on access scanning for the bacula-fd.exe process. I have
software compression enabled, but none of the 3 systems seem bogged down so
I think the bottleneck is not due to that option (although I'm tempted to
turn on ntfs compression on the backup drive and disable software
compression in the future).

 

For the most part I don't mind too much that the backups are so slow because
I'm quite happy to see the client machines continuing to be quite snappy.
The main concern, particularly for full backups (which at this rate will
take upwards of 3 days to complete), is the possibility of a system going
offline and thus killing the backup (or will it pick up where it left off,
as long as I have FD Connect Timeout configured to be longer than a system
would typically be offline for, e.g. 12 hours?).

 

So what else could be coming into play with my poor performance? Are
simultaneous backups problematic performance-wise? I've watched the I/O
activity of bacula-sd.exe and it certainly doesn't seem to be maxed out. It
is using an external USB2 hard drive. Could the difference between USB2 and
eSATA be the key? I can connect them as eSATA if I really need to. Seems
like USB2 should be allowing substantially more than the roughly 600kb/s
overall speed I'm getting though.

 

I'm running all Windows Bacula binaries, version 3.0.3. I'm not sure posting
config files is necessary at this point, although I'm happy to do so if
needed.

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] performance problem

2011-08-03 Thread Jeff Shanholtz
I currently have 3 clients doing a full backup (simultaneously). According
to status client one is getting 300kb/s (this one is my director and
storage server machine), one is getting 225kb/s, and one is getting 50kb/s.
I've disabled AV on access scanning for the bacula-fd.exe process. I have
software compression enabled, but none of the 3 systems seem bogged down so
I think the bottleneck is not due to that option (although I'm tempted to
turn on ntfs compression on the backup drive and disable software
compression in the future).

 

For the most part I don't mind too much that the backups are so slow because
I'm quite happy to see the client machines continuing to be quite snappy.
The main concern, particularly for full backups (which at this rate will
take upwards of 3 days to complete), is the possibility of a system going
offline and thus killing the backup (or will it pick up where it left off,
as long as I have FD Connect Timeout configured to be longer than a system
would typically be offline for, e.g. 12 hours?).

 

So what else could be coming into play with my poor performance? Are
simultaneous backups problematic performance-wise? I've watched the I/O
activity of bacula-sd.exe and it certainly doesn't seem to be maxed out. It
is using an external USB2 hard drive. Could the difference between USB2 and
eSATA be the key? I can connect them as eSATA if I really need to. Seems
like USB2 should be allowing substantially more than the roughly 600kb/s
overall speed I'm getting though.

 

I'm running all Windows Bacula binaries, version 3.0.3. I'm not sure posting
config files is necessary at this point, although I'm happy to do so if
needed.

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bat on windows crashing

2011-08-01 Thread Jeff Shanholtz
Is it expected that windows bat would crash with a blank error message if
trying to interact with a 3.0.3 director? I might be forced to find a
compiled version of the servers or try to build them on my own if that's the
only way to get to use bat in a windows only network. I thought I might get
lucky but I'm guessing the crash is an indication that it is incompatible
with an older version of the director.

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


Re: [Bacula-users] Bacula on Windows 2008 won't start

2011-08-01 Thread Jeff Shanholtz
You need to specify the location of your conf file with the -c flag when you
run from a command prompt. You can check the command line used by the
service in the registry (HKLM\System\CurrentControlSet\Services\Bacula-fd),
but you'll want to remove the /service part when running from the command
line.

-Original Message-
From: rlh1533 [mailto:bacula-fo...@backupcentral.com] 
Sent: Monday, August 01, 2011 8:59 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Bacula on Windows 2008 won't start

I've scoured the universe for others with this problem, and I promise you,
only one other person has posted about this back in 2010 and there was no
resolution, or at least, nothing helpful. I've installed bacula-fd 5.0.2 on
Server 2008 R2. The FD started automatically after installation. I shut it
down, edited the bacula-fd.conf file to change the password, and now
bacula-fd won't start at all. Can't double click the bacula-fd.exe because
when you do, a command window flashes then is gone, and nothing. Starting it
from the command line yields the following error:

PS C:\Program Files\Bacula .\bacula-fd
PS C:\Program Files\Bacula
01-Aug 11:30 bacula-fd: ERROR TERMINATION at
/tmp/bacula/bacula/src/lib/parse_conf.c:898
Config error: Cannot open config file
C:\ProgramData\Bacula/bacula-fd.conf: No such file or directory


Can someone help me figure this out? I'm at a total loss.

+--
|This was sent by rlh1...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--




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


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


Re: [Bacula-users] bat on windows crashing

2011-08-01 Thread Jeff Shanholtz
Has anyone here already compiled windows versions of the director and
storage daemons? Or is anyone aware of such binaries being available on the
web anywhere? I don't want to waste my time trying to get it built if
someone else already has.

-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Monday, August 01, 2011 7:51 AM
To: Jeff Shanholtz
Cc: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] bat on windows crashing

2011/8/1 Jeff Shanholtz jeffs...@shanholtz.com:
 Is it expected that windows bat would crash with a blank error message 
 if trying to interact with a 3.0.3 director?

You need the same version of bat as the bacula director. Even if you get
that bat is not extremely stable under windows (at least in my experience).
bat-5.0.X is better than 3.0.X however.

John


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


Re: [Bacula-users] Bacula on Windows 2008 won't start

2011-08-01 Thread Jeff Shanholtz
Can you telnet to it on the fd port? I would first try that on the client
system, and assuming it makes a connection, try it again from the director
system. If it fails to connect from that system then you've got some sort of
firewall issue.

-Original Message-
From: rlh1533 [mailto:bacula-fo...@backupcentral.com] 
Sent: Monday, August 01, 2011 9:44 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Bacula on Windows 2008 won't start

The bacula registry key has this in it for bacula-fd.exe execution:

C:\Program Files\Bacula\bacula-fd.exe /service  -c C:\Program
Files\Bacula\bacula-fd.conf

That is the correct location of bacula-fd.conf. In a command window, this
command seems to work:

PS C:\Program Files\Bacula .\bacula-fd -c C:\Program
Files\Bacula\bacula-fd.conf


At least, after I use that command, I have these  in the shell, and not
an error message. After that, I still can't connect to the fd though from
the director...

+--
|This was sent by rlh1...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--




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


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


Re: [Bacula-users] Concurrent client backups giving waiting on Storage File messages

2011-07-28 Thread Jeff Shanholtz
Thanks John and Marek! 


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


[Bacula-users] Concurrent client backups giving waiting on Storage File messages

2011-07-27 Thread Jeff Shanholtz
I am trying to alter my Bacula configuration such that my backup jobs run
concurrently since sometimes a client can be offline and I want to have
Bacula wait up to 12 hours for that client to reappear without holding up
the whole queue of client jobs. As best as I can tell I've got everything
configured correctly but I still get waiting on Storage File status
messages for all clients except one. Only one client is running at a time,
although they all run successfully in sequential fashion.

I am using a removable hard drive for the backup media with one file per
client backup job. I have created separate pools, one per client, to ensure
that the right job matches up with the right backup file. Otherwise I found
that if an error occurred trying to start a backup of client #1, client #2
would use client #1's backup file, causing confusion since the backup files
are named after the client.

I am still running version 3.0.3 since 5.0 doesn't have Windows director and
storage binaries precompiled.

Hopefully I've provided enough background, including what I believe is all
of the relevant config  info below. So how do I fix this waiting on Storage
File problem so I can get clients backing up concurrently?

Director config (including a representative pool definition - remember that
I have one pool per client)...

Director {# define myself
  Name = myserver-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = C:\\Program Files (x86)\\Bacula\\bin\\query.sql
  WorkingDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  PidDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Maximum Concurrent Jobs = 10
  Password = mypassword # Console password
  Messages = Daemon
  FD Connect Timeout = 43200 # 12 hrs
}

# Definition of file storage device
Storage {
  Name = File
# Do not use localhost here
  Address = myserver# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = mypassword
  Device = FileStorage
  Media Type = File
  Maximum Concurrent Jobs = 10
}

Pool {
  Name = myclientpool
  Pool Type = Backup
  Recycle = no   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Maximum Volume Jobs = 1
  Label Format =
myclient-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Level}_${JobId}
}

Storage config...

Storage { # definition of myself
  Name = myserver-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Pid Directory = C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work
  Maximum Concurrent Jobs = 10
}

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = H:\\Bacula\ Backup\ Volumes
  LabelMedia = yes   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = yes   # when device opened, read it
  RemovableMedia = yes
  AlwaysOpen = no
}



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


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

2011-05-24 Thread Jeff Shanholtz
Thanks guys. Makes sense! I'll add it to the fileset then.

-Original Message-
From: Phil Stracchino [mailto:ala...@metrocast.net] 
Sent: Monday, May 23, 2011 1:39 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] new hard drive mounted into ntfs filesystem of
old hard drive

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

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


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


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


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


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

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

 

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

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


Re: [Bacula-users] no upgrade path for windows servers?

2011-02-10 Thread Jeff Shanholtz
I appreciate all the responses so far, but switching to linux is not
currently a consideration.

Again, are the director and storage windows 5.0.3 binaries inherently less
stable/buggier/worse than they are in 3.0.x? I'm trying to understand if it
would be a bad idea to even attempt to get these binaries in comparison to
continuing to use 3.0.x binaries.

I suppose, based on one reply, I ought to just contact Bacula Systems to see
if they will provide binaries for me, although I don't see how to contact
them (other than a sales inquiry).

-Original Message-
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Thursday, February 10, 2011 1:45 AM
To: Marcello Romani; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] no upgrade path for windows servers?

 Il 10/02/2011 08:59, James Harper ha scritto:
  Ever tried colinux in this configuration?
 
 
 http://www.colinux.org
 
 Amazing!
 
 Although I don't see why bother running a stable OS under an unstable
 one instead of the other way around... :-)
 

If you're already running windows in the first place then all bets are
off :)

James


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


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


[Bacula-users] no upgrade path for windows servers?

2011-02-09 Thread Jeff Shanholtz
I see that server support has been pulled from the installer. I have 3.0.1
installed and configured on my windows 2003 server and it is working great.
Even though there isn't an installer for this configuration, is it possible
to manually replace my 3.0.1 binaries with 5.0.3 binaries for storage and
director services? I saw something about cross compiling but I don't
currently have a linux configuration in which to do this. Are the
installerless binaries available anywhere for manual configuration or am I
stuck with 3.0.1 forever?

 

Has the storage and director code taken a step backwards with regard to the
windows platform or was their removal done simply to remove a pain point for
users and thus reduce support related inquiries?

 

Finally, I assume that if I stay with 3.0.1 on the server, I can upgrade
clients to 5.0.3, correct? I'm crossing my fingers that the client status
window will be a little more informative than just a big blank window like
it is in 3.0.1. :)

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


[Bacula-users] runbeforejob/runafterjob

2009-07-03 Thread Jeff Shanholtz
I'd like to run a script before all my scheduled jobs start and another one
after they all end, as opposed to before/after a single job runs. I'd like
the after script to run immediately after the jobs are done, otherwise I'd
just use the Windows task scheduler. I figured I'd be able to create a
before job and an after job, but it appears that jobs must perform some
actual Bacula task. So is my only alternative to put the before directive
in the first job and the after directive in the last job?

 

In other words, these scripts aren't specific to a particular job so I want
to disassociate them from the individual jobs if possible.

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


Re: [Bacula-users] runbeforejob/runafterjob

2009-07-03 Thread Jeff Shanholtz
Very cool. I read about the admin type but actually misunderstood the
purpose (I thought it necessarily had to perform some type of administrative
bacula task). I'll give it a try!

-Original Message-
From: Arno Lehmann [mailto:a...@its-lehmann.de] 
Sent: Friday, July 03, 2009 12:51 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] runbeforejob/runafterjob

Hi,

03.07.2009 20:49, Jeff Shanholtz wrote:
 
 
 I’d like to run a script before all my scheduled jobs start and another 
 one after they all end, as opposed to before/after a single job runs. 
 I’d like the “after” script to run immediately after the jobs are done, 
 otherwise I’d just use the Windows task scheduler. I figured I’d be able 
 to create a “before” job and an “after” job, but it appears that jobs 
 must perform some actual Bacula task. So is my only alternative to put 
 the “before” directive in the first job and the “after” directive in the 
 last job?

No, not necessarily. If I understand you correctly, you'd use two 
admin jobs: One scheduled a minute before the first backup job, the 
other a minute after the last backup. Those admin jobs can execute 
commands like regular jobs - that's their main purpose - and if you 
set the priority numerically lower and higher, respectively, than the 
backup jobs, the order should be correct.

Arno

  
 
 In other words, these scripts aren’t specific to a particular job so I 
 want to disassociate them from the individual jobs if possible.
 
 
 
 


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

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de


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


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


[Bacula-users] waiting for a mount request

2009-06-20 Thread Jeff Shanholtz
My external hard drive wasn't plugged in when backups started last night, so
I plugged it in and according to the status the jobs seem to be waiting (as
opposed to failed), so while the hard drive is now plugged in, I still see
is waiting for a mount request so it doesn't seem to recognize that the
volume is now available. What do I need to do to jump start the jobs that
are waiting?

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] suppress these warnings?

2009-06-16 Thread Jeff Shanholtz
So is this impossible? Just to be a little bit more clear, My FileSet
includes drives A-Z in order to back up whatever drives are present on a
system. I may just change it to drive C only, especially if there is no way
to suppress these error messages, but ideally email report contents
shouldn't influence FileSet definitions. :)

 

From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Tuesday, June 09, 2009 2:48 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] suppress these warnings?

 

Is it possible to suppress warnings that relate to drives that don't exist
in the email reports?

 

Examples (which occur for every drive letter from H-Z on my system)...

 

09-Jun 12:38 jeff-fd JobId 1: Warning: Generate VSS snapshot of drive H:\
failed. VSS support is disabled on this drive.

 

09-Jun 14:20 jeff-fd JobId 1:  Could not stat H:/: ERR=The system
cannot find the path specified.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] getting the exchange plugin to work with 2007

2009-06-10 Thread Jeff Shanholtz
I've got the 64 bit client installed (3.0.1) and it is loading the exchange
plugin (as verified by looking at the loaded dll's with Process Monitor),
but I think the syntax for the FileSet's Plugin line must be different for
Exchange 2007 than for Exchange 2003 (I've only seen an example for 2003).
Here's my FileSet definition:

 

FileSet {

  Name = Exchange

  Include {

File = C:/Program Files/Microsoft/Exchange Server/Mailbox

Plugin = exchange:/@EXCHANGE/Microsoft Information Store

  }

  Exclude {

File = C:/Program Files/Microsoft/Exchange Server/Mailbox/*

  }

}

 

When I run with this, I get all the other VSS stuff (which I don't want!!!),
but not a backup of the Exchange information store. In fact, the job only
took 3 minutes, so obviously it's not backing up the store. Here's a snippet
of what I see in the report:

 

09-Jun 22:57 mcp-fd JobId 8: Truncated database logs for Storage Group First
Storage Group 09-Jun 22:57 mcp-fd JobId 8: Truncated database logs for
Storage Group Second Storage Group 09-Jun 22:57 mcp-fd JobId 8: VSS Writer
(BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57
mcp-fd JobId 8: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1
(VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer (BackupComplete):
MSDEWriter, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS
Writer (BackupComplete): Event Log Writer, State: 0x1 (VSS_WS_STABLE)
09-Jun 22:57 mcp-fd JobId 8: VSS Writer (BackupComplete): Registry Writer,
State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer
(BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun
22:57 mcp-fd JobId 8: VSS Writer (BackupComplete): Microsoft Exchange
Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer
(BackupComplete): Dhcp Jet Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57
mcp-fd JobId 8: VSS Writer (BackupComplete): FRS Writer, State: 0x1
(VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS Writer (BackupComplete):
WMI Writer, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-fd JobId 8: VSS
Writer (BackupComplete): NTDS, State: 0x1 (VSS_WS_STABLE) 09-Jun 22:57
mcp-fd JobId 8: VSS Writer (BackupComplete): IIS Metabase Writer, State:
0x1 (VSS_WS_STABLE) 09-Jun 22:57 mcp-sd JobId 8: Job write elapsed time =
00:02:45, Transfer rate = 4.728 M bytes/second 09-Jun 22:57 mcp-dir JobId 8:
Bacula mcp-dir 3.0.1 (28Apr09): 09-Jun-2009 22:57:38

 

Any idea what's wrong?

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] getting the exchange plugin to work with 2007

2009-06-10 Thread Jeff Shanholtz
Looks like I was getting thrown off by all the VSS stuff (I figured that
would be off by default - guess not), and didn't realize Outlook was
removing the line breaks, making it hard to read.

It does appear to be working, and the Exchange Best Practices Analyzer is no
longer complaining about the store never having been backed up! :D

Those file specifications came from my research on setting this up. It was
in a thread I found on the subject (which I think you were a part of IIRC),
and the purpose was to get the directory itself without the files. 2007 has
a significantly different directory structure than 2003 and it was unclear
to me what I should/shouldn't back up. But now that I can see what the
plugin is backing up it appears that I should just exclude the edb and log
files from the normal FileSet file specs. In fact, I think I should
configure it to back up the whole Exchange Server directory (rather than
letting my normal backup job do that), minus the edb's and log's.

Thanks!

| C:/Program Files/Microsoft/Exchange Server/Mailbox/
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
Database/DatabaseBackupInfo
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
Database/C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage
Group\Mailbox Database.edb   |
| /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
Database/
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000836.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000837.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000838.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000839.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083A.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083B.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083C.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083D.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00083E.log
|
| /@EXCHANGE/Microsoft Information Store/First Storage Group/
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/Public Folder
Database/DatabaseBackupInfo
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/Public Folder
Database/C:\Program Files\Microsoft\Exchange Server\Mailbox\Second Storage
Group\Public Folder Database.edb |
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/Public Folder
Database/
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\E01014D.log
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\E01014E.log
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/C:\Program
Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\E01014F.log
|
| /@EXCHANGE/Microsoft Information Store/Second Storage Group/
|
| /@EXCHANGE/Microsoft Information Store/
|
| /@EXCHANGE/
|

-Original Message-
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Wednesday, June 10, 2009 4:29 AM
To: Jeff Shanholtz; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] getting the exchange plugin to work with 2007

 
 I've got the 64 bit client installed (3.0.1) and it is loading the
exchange
 plugin (as verified by looking at the loaded dll's with Process
Monitor), but
 I think the syntax for the FileSet's Plugin line must be different for
 Exchange 2007 than for Exchange 2003 (I've only seen an example for
2003).

Your fileset looks okay wrt the plugin line. I'm not aware of any
changes in 2007 that would prevent it working like that. Why are you
including and excluding the same C:\... path? (it shouldn't be a
problem, I'm just curious)

 When I run with this, I get all the other VSS stuff (which I don't
want!!!),
 but not a backup of the Exchange information store.

I think you use vss=0 or something like that to turn off vss. It's
documented.

 In fact, the job only took
 3 minutes, so obviously it's not backing up the store. Here's a
snippet of
 what I see in the report:
 
 09-Jun 22:57 mcp-fd JobId 8: Truncated database logs

Re: [Bacula-users] getting the exchange plugin to work with 2007

2009-06-10 Thread Jeff Shanholtz
Interesting. I was thinking in terms of restoring the entirety of exchange
in a disaster scenario such as hard drive failure. But it sounds like you're
talking about handling a more localized problem with exchange itself. So
then would you suggest letting my normal system backup handle all but the
edb's and log's, and having a job for *only* the exchange information store
(i.e. no file specs whatsoever)? I do think I like that idea.

On a related note, when I did a test run of backing up the entirety of
exchange, I realized I would need VSS for the in use files. That got me to
wondering if there is a way to limit the VSS usage to a single VSS writer,
or is it all or none when turning on VSS?

-Original Message-
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Wednesday, June 10, 2009 4:08 PM
To: Jeff Shanholtz; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] getting the exchange plugin to work with 2007

 
 Looks like I was getting thrown off by all the VSS stuff (I figured
that
 would be off by default - guess not), and didn't realize Outlook was
 removing the line breaks, making it hard to read.
 
 It does appear to be working, and the Exchange Best Practices Analyzer
is no
 longer complaining about the store never having been backed up! :D
 
 Those file specifications came from my research on setting this up. It
was
 in a thread I found on the subject (which I think you were a part of
IIRC),
 and the purpose was to get the directory itself without the files.
2007 has
 a significantly different directory structure than 2003 and it was
unclear
 to me what I should/shouldn't back up. But now that I can see what the
 plugin is backing up it appears that I should just exclude the edb and
log
 files from the normal FileSet file specs. In fact, I think I should
 configure it to back up the whole Exchange Server directory (rather
than
 letting my normal backup job do that), minus the edb's and log's.
 

I think all the files in the exchange data directory (or directories)
should be excluded from the backup. When doing a restore of the exchange
databases, having leftover files there can cause problems. At some point
in the future (when the bacula plugin infrastructure supports it), the
exchange plugin should be able to hand bacula a list of files to exclude
from the backup, eg all the files it backed up (or is going to back up)
itself.

Thanks for the feedback.

James




--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client side file exclusions?

2009-06-09 Thread Jeff Shanholtz
Yes, I found that option last night and it seems to work well (though
apparently you only use double backslashes if you're quoting it). I also saw
a reference to a directive called IgnoreDir (not in the manual), but I
couldn't seem to get that to work.

Thanks!

-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Tuesday, June 09, 2009 6:52 AM
To: Jeff Shanholtz
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] client side file exclusions?

2009/6/8 Jeff Shanholtz jeffs...@shanholtz.com:
 I'm sure it's not uncommon for a workstation to have user-defined folders
 that simply don't need to be backed up. Is there a way that those folders
 can be added to the file service's conf file as exclusions? Forcing the
 server to keep track of these folders isn't ideal when they are arbitrary
 folders as opposed to well known folders like c:\temp.


How about a client side file list in the Exclude section of the fileset

http://bacula.org/manuals/en/install/install/Configuring_Director.html#SECTI
ON0067


FileSet {
  Name = Full Set
  Include {
Options {
  Compression=GZIP
  signature=SHA1
  Sparse = yes
}
@/etc/backup.list
  }
  Include {
 Options {
Exclude = yes
 }
 File = \\some_file_on_the_client.txt
  }
}

I have never tested this however.

John


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] suppress these warnings?

2009-06-09 Thread Jeff Shanholtz
Is it possible to suppress warnings that relate to drives that don't exist
in the email reports?

 

Examples (which occur for every drive letter from H-Z on my system)...

 

09-Jun 12:38 jeff-fd JobId 1: Warning: Generate VSS snapshot of drive H:\
failed. VSS support is disabled on this drive.

 

09-Jun 14:20 jeff-fd JobId 1:  Could not stat H:/: ERR=The system
cannot find the path specified.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] server on windows, trying to backup to hard drive

2009-06-08 Thread Jeff Shanholtz
I had quite a bit of trouble getting a mix of 64 bit file service and 32 bit
director/storage services. Trying to run 2 installs just doesn't seem to
work. What I think will work is doing a full install of 32 bit, and then
manually copying the 64 bit binaries (I copied from an XP x64 client
machine) and changing the service in the registry to point to the 64 bit
executable instead. I haven't actually tried a backup with it yet, but the
service does start fine.

Only problem is if I try to view the status window for the file service, I
just get a blank window. Is that broken for 64 bit clients? The problem
happens on both of my 64 bit machines.

Good news though: I'm currently backing up from my 64 bit client machine! :)
So now it's on to fine tuning my jobs.


-Original Message-
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Sunday, June 07, 2009 9:11 PM
To: Jeff Shanholtz; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] server on windows, trying to backup to hard
drive

 
 I'm new to bacula so please bear with me.
 
 I've installed the 32 bit bacula on x64 windows (because it's the
server).
 First thing I had to do was run make-tables.cmd in order to get the
director
 service to start. Then without modifying the conf files at all, I get
this
 status message for the storage service:
 
 Device FileStorage (C:\Tmp) is not open
 
 Even though C:\Tmp exists. Actually, I've done a lot of
modifying/tweaking of
 conf files (not to mention googling and reading of the docs) to try to
get
 this working in my environment and never could, so I'm starting over
from a
 known simple state (I uninstalled and reinstalled).
 
 So this is certainly my first hurdle - getting the storage service to
be happy
 about the File device type (ultimately I'll be backing up to an
external hard
 drive).
 
 I understand that running the server on windows is not officially
supported,
 and I imagine that running it on x64 windows (server 2003 x64 to be
precise)
 may be double trouble. So are people able to get the server running
under x64
 windows? And if so, how do I get past this storage service problem?

I am running Bacula on a 2008 x64 server (small business server to be
precise). The tape drive came with Acronis backup software but it
doesn't work on that system and Acronis don't want to support it so I
put Bacula on there instead. It was a bit tricky to set up but has been
going perfectly since then.

You will almost certainly want to install the x64 file daemon. I think I
installed them in the wrong order (x32 dir and sd then x64 fd) as the
consoles stopped working until I fixed up the shortcuts. If you install
them the other way around you might have more luck. Without the x64 fd I
don't think you'll get VSS working which means you won't get a full
backup. If you just want to back up some user files that will always not
be in use when you do the backup, or if you are just testing for now,
the x32 fd will be fine.

Can you post your config? You say 'C:\Tmp' above... bacula likes unix
style filenames in filesets but I don't know if that applies to storage
definitions. Or maybe you need double backslashes, eg 'C:\\Tmp'.

What message do you get when you try and label a disk volume?

James



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] client side file exclusions?

2009-06-08 Thread Jeff Shanholtz
I'm sure it's not uncommon for a workstation to have user-defined folders
that simply don't need to be backed up. Is there a way that those folders
can be added to the file service's conf file as exclusions? Forcing the
server to keep track of these folders isn't ideal when they are arbitrary
folders as opposed to well known folders like c:\temp.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] server on windows, trying to backup to hard drive

2009-06-07 Thread Jeff Shanholtz
I'm new to bacula so please bear with me.

 

I've installed the 32 bit bacula on x64 windows (because it's the server).
First thing I had to do was run make-tables.cmd in order to get the director
service to start. Then without modifying the conf files at all, I get this
status message for the storage service:

 

Device FileStorage (C:\Tmp) is not open

 

Even though C:\Tmp exists. Actually, I've done a lot of modifying/tweaking
of conf files (not to mention googling and reading of the docs) to try to
get this working in my environment and never could, so I'm starting over
from a known simple state (I uninstalled and reinstalled).

 

So this is certainly my first hurdle - getting the storage service to be
happy about the File device type (ultimately I'll be backing up to an
external hard drive).

 

I understand that running the server on windows is not officially supported,
and I imagine that running it on x64 windows (server 2003 x64 to be precise)
may be double trouble. So are people able to get the server running under
x64 windows? And if so, how do I get past this storage service problem?

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] server on windows, trying to backup to hard drive

2009-06-07 Thread Jeff Shanholtz
Thanks for the input guys. I thought that was sort of an error state, but
knowing it's not means I can move on to the next problem. ;)

I was actually going to ask next if I should install the 32 bit storage and
director services, and the 64 bit file service, so glad I don't even need to
ask that now. I'll do that next and see how far I can get. When I tried
getting a backup to run earlier it wasn't working but I don't recall what it
was telling me off hand. When I couldn't get it to work I figured I should
first check to see if it's even *possible* to get it to work in my
environment. :)

-Original Message-
From: James Harper [mailto:james.har...@bendigoit.com.au] 
Sent: Sunday, June 07, 2009 9:11 PM
To: Jeff Shanholtz; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] server on windows, trying to backup to hard
drive

 
 I'm new to bacula so please bear with me.
 
 I've installed the 32 bit bacula on x64 windows (because it's the
server).
 First thing I had to do was run make-tables.cmd in order to get the
director
 service to start. Then without modifying the conf files at all, I get
this
 status message for the storage service:
 
 Device FileStorage (C:\Tmp) is not open
 
 Even though C:\Tmp exists. Actually, I've done a lot of
modifying/tweaking of
 conf files (not to mention googling and reading of the docs) to try to
get
 this working in my environment and never could, so I'm starting over
from a
 known simple state (I uninstalled and reinstalled).
 
 So this is certainly my first hurdle - getting the storage service to
be happy
 about the File device type (ultimately I'll be backing up to an
external hard
 drive).
 
 I understand that running the server on windows is not officially
supported,
 and I imagine that running it on x64 windows (server 2003 x64 to be
precise)
 may be double trouble. So are people able to get the server running
under x64
 windows? And if so, how do I get past this storage service problem?

I am running Bacula on a 2008 x64 server (small business server to be
precise). The tape drive came with Acronis backup software but it
doesn't work on that system and Acronis don't want to support it so I
put Bacula on there instead. It was a bit tricky to set up but has been
going perfectly since then.

You will almost certainly want to install the x64 file daemon. I think I
installed them in the wrong order (x32 dir and sd then x64 fd) as the
consoles stopped working until I fixed up the shortcuts. If you install
them the other way around you might have more luck. Without the x64 fd I
don't think you'll get VSS working which means you won't get a full
backup. If you just want to back up some user files that will always not
be in use when you do the backup, or if you are just testing for now,
the x32 fd will be fine.

Can you post your config? You say 'C:\Tmp' above... bacula likes unix
style filenames in filesets but I don't know if that applies to storage
definitions. Or maybe you need double backslashes, eg 'C:\\Tmp'.

What message do you get when you try and label a disk volume?

James



--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users