[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-21 Thread bdam
It's now resolved! 
The Fedora DNF update picked up Bacula 7.4.2 yesterday and today all the 
servers did their first daily backup for nearly 3 weeks - no changes on my part 
were needed.

Thanks all.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-04 Thread bdam
This is a bummer. As you will have gathered I am not really a tinkerer. I am 
guessing this will take time to fix, during which I cannot now take any backups.
Is there something which isn't dangerous I can do, or should I wait?

I can see this is no fault at all on Kern or Baculas part. However, a crash bug 
on startup which is 100% reproducible is a serious show stopper which makes me 
wonder what QA the Fedora people have. If it is down to optimization in a 
compiler I am betting other apps will be hit too.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-04 Thread bdam
[root@sabbath ~]# g++ -v
bash: g++: command not found...

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-04 Thread bdam
I read the bug report Kern and I think that is also my problem.
I was running bacula 7.4.1 on Fedora 23 OK, and after the update to 24 it's the 
same version, but rebuilt for that platform.
I don't build from sources - everything is official Fedora, so I think anyone 
using bacula on Fed 23 who updates to 24 will also be hit by this.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-04 Thread bdam
Thanks Kern.

Part 2/3
I have to answer in parts because this forum is saying my post contains an SQL 
injection attempt!

The problem preventing this post was in the trace file so I put it here:

http://pastebin.com/PAZ3mi9n

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-04 Thread bdam
Thanks Kern.

Part 2/3
I have to answer in parts because this forum is saying my post contains an SQL 
injection attempt!

I commented out the DVD entry but it made no difference. Here is bacula-sd.conf

#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 2.4.2 (26 July 2008) -- redhat
#
# You may need to change the name of your tape drive
#   on the "Archive Device" directive in the Device
#   resource.  If you change the Name and/or the
#   "Media Type" in the Device resource, please ensure
#   that dird.conf has corresponding changes.
#

Storage { # definition of myself
  Name = sabbath-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = "/data/Bacula/Working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = sabbath-dir
  Password = "{REDACTED}"
}

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

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

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

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

Device {
  Name = SEAGATE-DAT-INT1
  Media Type = DAT
  Archive Device = /dev/st0
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
  Volume poll interval = 1h
}

Device {
  Name = COMPAQ-DLT4-INT1
  Media Type = DLT4
  Archive Device = /dev/st2
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
  Volume poll interval = 1h
}

Device {
  Name = HP-ULTRIUM-LTO3-EXT1
  Media Type = LTO3
  Archive Device = /dev/st1
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
  Volume poll interval = 1h
}

Messages {
  Name = Standard
  director = sabbath-dir = all
}

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-04 Thread bdam
Thanks Kern.

Part 1/3
I have to answer in parts because this forum is saying my post contains an SQL 
injection attempt!
This system has only had the regular Fedora 23->24 update as supplied by their 
repos.
This what you meant by g++?

[code]
[root@sabbath bacula]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap 
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared 
--enable-threads=posix --enable-checking=release --enable-multilib 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object --enable-linker-build-id 
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array 
--disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function 
--with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 6.1.1 20160621 (Red Hat 6.1.1-3) (GCC)

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-03 Thread bdam
Damn.

OK, I knew there was an issue I just was clumsy diagnosing it. Thanks for the 
quick responses. Heres what  should have posted

[root@sabbath ~]# ps -Af | grep bacula
root  1935 1  0 01:04 ?00:00:00 /usr/sbin/bacula-fd -f -c 
/etc/bacula/bacula-fd.conf -u root -g root
bacula2812 1  0 01:04 ?00:00:01 /usr/sbin/bacula-dir -f -c 
/etc/bacula/bacula-dir.conf -u bacula -g bacula
root 30210 29938  0 20:14 pts/000:00:00 grep --color=auto bacula
[root@sabbath ~]# service bacula-sd restart
Redirecting to /bin/systemctl restart  bacula-sd.service
You have new mail in /var/spool/mail/root
[root@sabbath ~]# ps -Af | grep bacula
root  1935 1  0 01:04 ?00:00:00 /usr/sbin/bacula-fd -f -c 
/etc/bacula/bacula-fd.conf -u root -g root
bacula2812 1  0 01:04 ?00:00:01 /usr/sbin/bacula-dir -f -c 
/etc/bacula/bacula-dir.conf -u bacula -g bacula
root 30398 29938  0 20:15 pts/000:00:00 grep --color=auto bacula
[root@sabbath ~]# /usr/sbin/bacula-sd -d 200
[root@sabbath ~]# bacula-sd: address_conf.c:274-0 Initaddr 0.0.0.0:9103
bacula-sd: stored_conf.c:698-0 Inserting Director res: sabbath-mon
bacula-sd: stored_conf.c:698-0 Inserting Device res: FileStorageCatalog
bacula-sd: stored_conf.c:698-0 Inserting Device res: SEAGATE-DAT-INT1
bacula-sd: stored_conf.c:698-0 Inserting Device res: COMPAQ-DLT4-INT1
bacula-sd: stored_conf.c:698-0 Inserting Device res: HP-ULTRIUM-LTO3-EXT1
bacula-sd: stored_conf.c:698-0 Inserting Device res: DVD Writer
sabbath-sd: jcr.c:131-0 read_last_jobs seek to 192
sabbath-sd: jcr.c:138-0 Read num_items=10
sabbath-sd: stored.c:572-0 calling init_dev /data/Bacula/FileStorage
Bacula interrupted by signal 11: Segmentation violation
sabbath-sd: bnet_server.c:86-0 Addresses 0.0.0.0:9103
Kaboom! bacula-sd, sabbath-sd got signal 11 - Segmentation violation at 
03-Jul-2016 20:15:18. Attempting traceback.
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/bacula-sd 30427 /data/Bacula/Working
It looks like the traceback worked...
Dumping: /data/Bacula/Working/sabbath-sd.30427.lockdump
sabbath-sd: lockmgr.c:1157-0 lockmgr disabled

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-03 Thread bdam
Whats wrong with this please? I'm guessing something is now incompatible with 
the same config I've used for years. Happens on all 3 servers, all of which 
just got the Fedora 23->24 update.

Here is the error:

[root@sabbath sbin]# ./bacula-sd -d -c /etc/bacula/bacula-fd.conf -u root -g 
root
[root@sabbath sbin]# bacula-sd: ERROR TERMINATION at parse_conf.c:932
Config error: expected resource name, got: FileDaemon
: line 31, col 11 of file /etc/bacula/bacula-fd.conf
FileDaemon {  # this is me

03-Jul 10:28 bacula-sd: ERROR TERMINATION at parse_conf.c:932
Config error: expected resource name, got: FileDaemon
: line 31, col 11 of file /etc/bacula/bacula-fd.conf
FileDaemon {  # this is me

##

Here is the full bacula-sd.conf

[root@sabbath sbin]# cat /etc/bacula/bacula-fd.conf
#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 2.4.2 (26 July 2008) -- redhat
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = sabbath-dir
  Password = "{REDACTED}"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = sabbath-mon
  Password = "{REDACTED}"
  Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {  # this is me
  Name = sabbath-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /data/Bacula/Working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 5 minute email notification interval

2016-06-17 Thread bdam
This worked! I now have the completed backup. Bacula rocks! Thank you.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 5 minute email notification interval

2016-06-17 Thread bdam
I changed it to 1 hour and it now seems to be working. This in an archive which 
takes several days and 12 tapes (its CCTV), this morning I only had 4 emails 
each spaced 1 hour apart. I won't know for sure for a day or 2 but it looks 
much better now, thanks.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 5 minute email notification interval

2016-06-14 Thread bdam
HI kern, I want to try this and tell you how I got on. Please can you spell out 
exactly where I change the poll interval?

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 5 minute email notification interval

2016-06-14 Thread bdam
I've reported this here many times - thank you, it's not just me then!

It sounds like this is a recent deliberate change to bacula which all my 
servers picked up on during the last automatic update. Being so used to the 
previous correct exponential backoff, I assumed something I'd done had broken 
it.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to restore when there is /./ in path

2016-06-14 Thread bdam
Thanks Peter. I have to use "." in the FileSet to catch all the sub 
directories. I didn't realise until I tried to restore a set backed up this way 
that the . was actually hardcoded as part of the path. Bacula is backing up an 
invalid pathname and you are forced to manipulate the restore the way I did in 
the end.

I'd suggest an option to collapse /./ where detected on a restore would fix 
this, ideally a flag you can set to on by default, as all my backups are like 
this.

Also it would be nice to remove the problem completely by having a new option 
to collapse the written path /./

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to restore when there is /./ in path

2016-06-13 Thread bdam
I fixed this. For anyone else encountering it, when going through the restore 
process choose "mod" | "File Relocation" | "Strip prefix" and in the set I was 
using I entered "/data/home/./". This stops bacula trying to create the folder 
with name ".".

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to restore when there is /./ in path

2016-06-13 Thread bdam
The FileSet is  

FileSet {
  Name = "FileSet-Home"
  Include {
Options {
  wilddir = "/data/home/./bill/Thunderbird/*"
  wilddir = "/data/home/./bill/Dropbox/*"
  exclude = yes
}
Options {
  signature = MD5
}
File = /data/home/.
  }
}

All files and users under /home are backed up OK using Incremental, daily. 
Restoring from the last client (option 5 from the restore menu) gives this for 
every file:

13-Jun 11:36 tiger-fd JobId 7032: Error: create_file.c:223 Could not create 
/data/Bacula/Restores/data/home/./bill/Bluetooth/camera/zackii.jpg: ERR=No such 
file or directory


/data/Bacula/Restores definitley exists!

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] The "5 minute email interval" bug is on another server now!

2016-05-25 Thread bdam
I reported various problems a while ago related to a long-running archive job 
which needed a dozen tapes over a 3 day period. All would go well in the sense 
I would be prompted to change them when expected, with an email which scheduled 
itself in the usual exponential backoff matter. When I got to tape 9 or so 
though, the email frequency became exactly 5 minutes. This meant I was 
bombarded with them unless I could get to the server in time, which turned out 
to be 64 of these emails. The whole job then failed with the "failed to mount 
correct volume in time" message I reported here earlier. 

So I'd put this down to my bad config or something else wrong on that server, 
when this morning I woke up to 64 emails from another one in another office, 
this time sending emails at 5 mins apart for a regular daily backup job. I can 
understand why after 64 of these its time to give up, but only when the full 
exponential backup schedule is used. In this state, it amounts to 64 * 5 mins = 
5.33 hours, which for me the first time was the middle of the night before the 
job aborted.

They are identical servers. 
Fedora 23 / Bacula 7.4.0 /HP LTO-3 SCSI devices
uname -r = 4.4.9-300.fc23.x86_64

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Why is a job sending change tape emails every 5 minutes ?

2016-05-07 Thread bdam
I'm used to the exponential back off system.
I just go hit with 64 change tape emails each exactly 5 minutes apart. The job 
eventually failed saying "too many retries".

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fatal error: askdir.c:373 NULL Volume name. This shouldn't

2016-05-06 Thread bdam
If this ever happens to anyone else, see if either/both of these happened 
during one of the volume writes:

1. The disk which bacula uses for its logs became full
2. Someone did an apt-get update/dnf update or whatever during the backup.

1. Definitley just hit us so we had to start the whole job again, and it is 
suspected 2. did too, and possible earlier, so it is possible some library or 
component bacula was depending on got changed mid-backup?

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Why is my Bacula installation so slow when I use 2 drives?

2016-04-28 Thread bdam
Hi everyone, this is still part of the long running saga of me archiving 4 
years worth of HD CCTV from 2 cameras onto 40+ LTO tapes. This isn't a problem, 
but a question from an observation. The arrangement is there are pools for each 
6 months, so I have H1-2014, H2-2014 etc. There are 2 identical SCSI LTO-3 
drives on the server. I started one job on one tape drive and know it takes 
about 3 hours for the tape change email, in fact this has always been the way. 
The other tape drive was used for the dailys, but after some thought I realized 
I can use it too and live without despooling the dailys until done, in other 
words do separate jobs of basically the same data on 2 drives simultaneously. 
This worked, but I'm not kidding, its taking 24 hours for each job to fill a 
tape. I did all this to speed it all up! Can anyone suggest why this happened? 
Thanks.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fatal error: askdir.c:373 NULL Volume name. This shouldn't

2016-04-14 Thread bdam
Thanks!

device {
Maximum Changer Wait = 3d
}

Hey that's interesting ... never heard of it before - do you think it will fix 
my problem? I can set it to 30 days for this job

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fatal error: askdir.c:373 NULL Volume name. This shouldn't

2016-04-13 Thread bdam
Fatal error: askdir.c:373 NULL Volume name. This shouldn't happen!!!

Every time, it gets to about tape 10 or 11 in the set and the backup fails with 
this. Any clues what I can do to fix it please?

13-Apr 02:41 tiger-sd JobId 6763: Fatal error: Too many tries: Wrong Volume 
mounted on tape device "HP-ULTRIUM-LTO3-EXT2" (/dev/st1): Wanted 001-014-58 
have 001-011-61
13-Apr 02:41 tiger-sd JobId 6763: Elapsed time=52:06:48, Transfer rate=25.99 M 
Bytes/second
13-Apr 02:41 tiger-sd JobId 6763: Fatal error: askdir.c:373 NULL Volume name. 
This shouldn't happen!!!
13-Apr 02:41 tiger-fd JobId 6763: Error: bsock.c:448 Write error sending 65540 
bytes to Storage daemon:tiger:9103: ERR=Connection reset by peer
13-Apr 02:41 tiger-fd JobId 6763: Fatal error: backup.c:853 Network send error 
to SD. ERR=Connection reset by peer
13-Apr 02:41 tiger-dir JobId 6763: Error: Bacula tiger-dir 7.4.0 (16Jan16):
  Build OS:   x86_64-redhat-linux-gnu redhat Three)
  JobId:  6763
  Job:Job-CCTV-Vault.2016-04-10_09.38.21_10
  Backup Level:   Full (upgraded from Incremental)
  Client: "tiger-fd" 7.4.0 (16Jan16) 
x86_64-redhat-linux-gnu,redhat,Three)
  FileSet:"FileSet-CCTV-Vault" 2015-07-27 09:49:21
  Pool:   "001-BHST-LTO3-CCTV-Vault" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"BHST-TIGER-LTO3-EXT2" (From Job resource)
  Scheduled time: 10-Apr-2016 09:38:13
  Start time: 10-Apr-2016 09:38:23
  End time:   13-Apr-2016 02:41:25
  Elapsed time:   2 days 17 hours 3 mins 2 secs
  Priority:   10
  FD Files Written:   25,332
  SD Files Written:   25,332
  FD Bytes Written:   4,877,607,306,594 (4.877 TB)
  SD Bytes Written:   4,877,601,920,678 (4.877 TB)
  Rate:   20828.3 KB/s
  Software Compression:   None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): 
001-001|001-013-59|001-002|001-003|001-004|001-005|001-006|001-007|001-008-62|001-009-63|001-010-64|001-011-61
  Volume Session Id:  6
  Volume Session Time:1460230734
  Last Volume Bytes:  1 (1 B)
  Non-fatal FD errors:1
  SD Errors:  1
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***

Pool: 001-BHST-LTO3-CCTV-Vault
+-++---+-+-+--+-+-+--+---+---+-+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention| Recycle | Slot | InChanger | MediaType | LastWritten 
| ExpiresIn   |
+-++---+-+-+--+-+-+--+---+---+-+-+
| 253 | 001-001| Full  |   1 | 407,464,694,784 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-10 14:02:19 
| 315,328,224,072 |
| 254 | 001-002| Full  |   1 | 406,865,249,280 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-10 23:01:53 
| 315,328,256,446 |
| 255 | 001-003| Full  |   1 | 406,839,702,528 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-11 03:50:10 
| 315,328,273,743 |
| 256 | 001-004| Full  |   1 | 406,974,016,512 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-11 12:28:47 
| 315,328,304,860 |
| 257 | 001-005| Full  |   1 | 406,239,160,320 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-11 16:51:12 
| 315,328,320,605 |
| 258 | 001-006| Full  |   1 | 406,171,487,232 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-11 21:32:40 
| 315,328,337,493 |
| 259 | 001-007| Full  |   1 | 406,127,361,024 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-12 02:01:06 
| 315,328,353,599 |
| 260 | 001-008-62 | Full  |   1 | 406,790,092,800 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-12 11:57:54 
| 315,328,389,407 |
| 261 | 001-009-63 | Full  |   1 | 406,859,378,688 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-12 16:28:43 
| 315,328,405,656 |
| 262 | 001-010-64 | Full  |   1 | 406,821,897,216 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-12 20:55:03 
| 315,328,421,636 |
| 263 | 001-011-61 | Full  |   1 | 406,790,931,456 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 201

[Bacula-users] Purge all volumes in a pool

2016-04-04 Thread bdam
Ahh  ...  and that helps with what I really want to do. If there are already 
purged volumes, I want to "re purge them!". The reason is, I want the order 
they are purged to be from the start to the end, so that the dates are in that 
sequence and when the pool is used it will prompt for the tapes in sequence. 

I have never come across the "used" status. Sounds like I need to make one pass 
marking them all used, then another marking them purged?

Thanks again for your help.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Purge all volumes in a pool

2016-04-04 Thread bdam
Thanks, and hope everything is ok re hospital.

It now fails when it finds a volume with VolStatus "Recycle":

Connecting to Director tiger:9101
1000 OK: 102 tiger-dir Version: 7.4.0 (16 January 2016)
Enter a period to cancel a command.
purge volume=001-011-61

This command can be DANGEROUS!!!

It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
0 File on Volume "001-011-61" purged from catalog.
There are no more Jobs associated with Volume "001-011-61". Marking it 
purged.

You have messages.
Connecting to Director tiger:9101
1000 OK: 102 tiger-dir Version: 7.4.0 (16 January 2016)
Enter a period to cancel a command.
purge volume=001-013-59

This command can be DANGEROUS!!!

It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

Volume "001-013-59" has VolStatus "Recycle" and cannot be purged.
The VolStatus must be: Append, Full, Used, or Error to be purged.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Purge all volumes in a pool

2016-04-03 Thread bdam
Connecting to Director tiger:9101
1000 OK: 102 tiger-dir Version: 7.4.0 (16 January 2016)
Enter a period to cancel a command.
purge volume=001-012-60

This command can be DANGEROUS!!!

It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
0 File on Volume "001-012-60" purged from catalog.
There are no more Jobs associated with Volume "001-012-60". Marking it 
purged.

Connecting to Director tiger:9101
1000 OK: 102 tiger-dir Version: 7.4.0 (16 January 2016)
Enter a period to cancel a command.
purge volume=001-013-59

This command can be DANGEROUS!!!

It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

Volume "001-013-59" has VolStatus "Recycle" and cannot be purged.
The VolStatus must be: Append, Full, Used, or Error to be purged.

Here is the pool:


Pool: 001-BHST-LTO3-CCTV-Vault
+-++---+-+-+--+-+-+--+---+---+-+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention| Recycle | Slot | InChanger | MediaType | LastWritten 
| ExpiresIn   |
+-++---+-+-+--+-+-+--+---+---+-+-+
| 253 | 001-001| Purged|   1 | 407,466,888,192 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-27 16:57:02 
| 315,327,834,216 |
| 254 | 001-002| Purged|   1 | 407,272,642,560 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-27 21:30:12 
| 315,327,850,606 |
| 255 | 001-003| Purged|   1 | 406,864,217,088 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 01:52:24 
| 315,327,866,338 |
| 256 | 001-004| Purged|   1 | 406,834,025,472 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 06:13:37 
| 315,327,882,011 |
| 257 | 001-005| Purged|   1 | 406,360,958,976 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 16:14:00 
| 315,327,918,034 |
| 258 | 001-006| Purged|   1 | 406,236,966,912 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 20:46:44 
| 315,327,934,398 |
| 259 | 001-007| Purged|   1 | 406,174,777,344 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-29 01:21:55 
| 315,327,950,909 |
| 260 | 001-008-62 | Purged|   1 | 406,780,609,536 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-29 13:39:00 
| 315,327,995,134 |
| 261 | 001-009-63 | Purged|   1 | 406,791,189,504 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-29 18:01:58 
| 315,328,010,912 |
| 262 | 001-010-64 | Full  |   1 | 407,274,642,432 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-02 22:07:22 
| 315,328,371,236 |
| 263 | 001-011-61 | Full  |   1 | 406,858,023,936 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-03 02:36:12 
| 315,328,387,366 |
| 264 | 001-012-60 | Purged|   1 | 406,840,025,088 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-04-03 15:50:53 
| 315,328,435,047 |
| 265 | 001-013-59 | Recycle   |   1 |   1 |0 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2015-10-22 04:40:01 
| 315,314,225,195 |
| 266 | 001-014-58 | Purged|   1 | 407,662,811,136 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2015-10-22 13:56:05 
| 315,314,258,559 |
| 267 | 001-015-57 | Purged|   1 | 408,138,651,648 |  408 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2015-10-22 18:25:54 
| 315,314,274,748 |
| 268 | 001-016-56 | Purged|   1 | 406,942,986,240 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2015-10-23 00:33:53 
| 315,314,296,827 |
| 269 | 001-017-55 | Purged|   1 | 406,837,509,120 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2015-10-23 05:04:58 
| 315,314,313,092 |
| 270 | 001-018-54 | Purged|   1 | 406,823,510,016

[Bacula-users] Purge all volumes in a pool

2016-04-03 Thread bdam
Thankyou Heitor, it's nearly there (the second one) but it fails if any of the 
tapes are already purged:

Connecting to Director tiger:9101
1000 OK: 102 tiger-dir Version: 7.4.0 (16 January 2016)
Enter a period to cancel a command.
purge volume=001-036

This command can be DANGEROUS!!!

It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

Volume "001-036" has VolStatus "Purged" and cannot be purged.
The VolStatus must be: Append, Full, Used, or Error to be purged.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Purge all volumes in a pool

2016-04-02 Thread bdam
Is there one command to purge a pool? It's tedious going through each single 
volume for large sets.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup always fails midway between multivolume backup

2016-03-29 Thread bdam
I have 30 volumes which will be filled by the 3 years worth of CCTV data I'm 
archiving. These are LTO-3's, and each one takes 5 hours. Twice now, at the 
same point when completing tape 10 in the set and I'm expected to be asked for 
the next, the same way I've just successfully been asked for the other 9 at the 
right time, the backup fails with "Fatal error: askdir.c:373 NULL Volume name. 
This shouldn't happen!!!"

There is nothing different about that particular tape, nor do I get any 
read/network errors or anything to suggest what';s wrong
Has anyone any clues please? Here's more detail:

29-Mar 22:26 tiger-sd JobId 6680: End of Volume "001-010-64" at 406:13750 
on device "HP-ULTRIUM-LTO3-EXT2" (/dev/st1). Write of 64512 bytes got -1.
29-Mar 22:26 tiger-sd JobId 6680: Re-read of last block succeeded.
29-Mar 22:26 tiger-sd JobId 6680: End of medium on Volume "001-010-64" 
Bytes=406,861,056,000 Blocks=6,306,749 at 29-Mar-2016 22:26.
29-Mar 22:26 tiger-sd JobId 6680: Fatal error: Too many tries: Wrong Volume 
mounted on tape device "HP-ULTRIUM-LTO3-EXT2" (/dev/st1): Wanted 001-029-32 
have 001-010-64
29-Mar 22:26 tiger-sd JobId 6680: Elapsed time=43:15:55, Transfer rate=26.09 M 
Bytes/second
29-Mar 22:26 tiger-sd JobId 6680: Fatal error: askdir.c:373 NULL Volume name. 
This shouldn't happen!!!
29-Mar 22:26 tiger-fd JobId 6680: Error: bsock.c:448 Write error sending 65540 
bytes to Storage daemon:tiger:9103: ERR=Connection reset by peer
29-Mar 22:26 tiger-fd JobId 6680: Fatal error: backup.c:853 Network send error 
to SD. ERR=Connection reset by peer
29-Mar 22:26 tiger-dir JobId 6680: Error: Bacula tiger-dir 7.4.0 (16Jan16):
  Build OS:   x86_64-redhat-linux-gnu redhat Three)
  JobId:  6680
  Job:Job-CCTV-Vault.2016-03-27_12.37.13_05
  Backup Level:   Full (upgraded from Incremental)
  Client: "tiger-fd" 7.4.0 (16Jan16) 
x86_64-redhat-linux-gnu,redhat,Three)
  FileSet:"FileSet-CCTV-Vault" 2015-07-27 09:49:21
  Pool:   "001-BHST-LTO3-CCTV-Vault" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"BHST-TIGER-LTO3-EXT2" (From Job resource)
  Scheduled time: 27-Mar-2016 12:37:05
  Start time: 27-Mar-2016 12:37:15
  End time:   29-Mar-2016 22:26:57
  Elapsed time:   2 days 9 hours 49 mins 42 secs
  Priority:   10
  FD Files Written:   21,034
  SD Files Written:   21,034
  FD Bytes Written:   4,064,634,252,584 (4.064 TB)
  SD Bytes Written:   4,064,628,010,740 (4.064 TB)
  Rate:   19524.4 KB/s
  Software Compression:   None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): 
001-001|001-002|001-003|001-004|001-005|001-006|001-007|001-008-62|001-009-63|001-010-64
  Volume Session Id:  1
  Volume Session Time:1459077637
  Last Volume Bytes:  1 (1 B)
  Non-fatal FD errors:1
  SD Errors:  1
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***

Here is the pool:

Pool: 001-BHST-LTO3-CCTV-Vault
+-++---+-+-+--+-+-+--+---+---+-+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention| Recycle | Slot | InChanger | MediaType | LastWritten 
| ExpiresIn   |
+-++---+-+-+--+-+-+--+---+---+-+-+
| 253 | 001-001| Full  |   1 | 407,466,888,192 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-27 16:57:02 
| 315,328,270,571 |
| 254 | 001-002| Full  |   1 | 407,272,642,560 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-27 21:30:12 
| 315,328,286,961 |
| 255 | 001-003| Full  |   1 | 406,864,217,088 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 01:52:24 
| 315,328,302,693 |
| 256 | 001-004| Full  |   1 | 406,834,025,472 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 06:13:37 
| 315,328,318,366 |
| 257 | 001-005| Full  |   1 | 406,360,958,976 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 16:14:00 
| 315,328,354,389 |
| 258 | 001-006| Full  |   1 | 406,236,966,912 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 20:46:44 
| 315,328,370,753 |
| 259 | 001-007| Full  |   1 | 406,174,777,344 |  406 | 
315,328,464,000 |   1 |0 |  

[Bacula-users] Backup always fails midway between multivolume backup

2016-03-29 Thread bdam
I have 30 volumes which will be filled by the 3 years worth of CCTV data I'm 
archiving. These are LTO-3's, and each one takes 5 hours. Twice now, at the 
same point when completing tape 10 in the set and I'm expected to be asked for 
the next, the same way I've just successfully been asked for the other 9 at the 
right time, the backup fails with "Fatal error: askdir.c:373 NULL Volume name. 
This shouldn't happen!!!"

There is nothing different about that particular tape, nor do I get any 
read/network errors or anything to suggest what';s wrong
Has anyone any clues please? Here's more detail:

29-Mar 22:26 tiger-sd JobId 6680: End of Volume "001-010-64" at 406:13750 
on device "HP-ULTRIUM-LTO3-EXT2" (/dev/st1). Write of 64512 bytes got -1.
29-Mar 22:26 tiger-sd JobId 6680: Re-read of last block succeeded.
29-Mar 22:26 tiger-sd JobId 6680: End of medium on Volume "001-010-64" 
Bytes=406,861,056,000 Blocks=6,306,749 at 29-Mar-2016 22:26.
29-Mar 22:26 tiger-sd JobId 6680: Fatal error: Too many tries: Wrong Volume 
mounted on tape device "HP-ULTRIUM-LTO3-EXT2" (/dev/st1): Wanted 001-029-32 
have 001-010-64
29-Mar 22:26 tiger-sd JobId 6680: Elapsed time=43:15:55, Transfer rate=26.09 M 
Bytes/second
29-Mar 22:26 tiger-sd JobId 6680: Fatal error: askdir.c:373 NULL Volume name. 
This shouldn't happen!!!
29-Mar 22:26 tiger-fd JobId 6680: Error: bsock.c:448 Write error sending 65540 
bytes to Storage daemon:tiger:9103: ERR=Connection reset by peer
29-Mar 22:26 tiger-fd JobId 6680: Fatal error: backup.c:853 Network send error 
to SD. ERR=Connection reset by peer
29-Mar 22:26 tiger-dir JobId 6680: Error: Bacula tiger-dir 7.4.0 (16Jan16):
  Build OS:   x86_64-redhat-linux-gnu redhat Three)
  JobId:  6680
  Job:Job-CCTV-Vault.2016-03-27_12.37.13_05
  Backup Level:   Full (upgraded from Incremental)
  Client: "tiger-fd" 7.4.0 (16Jan16) 
x86_64-redhat-linux-gnu,redhat,Three)
  FileSet:"FileSet-CCTV-Vault" 2015-07-27 09:49:21
  Pool:   "001-BHST-LTO3-CCTV-Vault" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"BHST-TIGER-LTO3-EXT2" (From Job resource)
  Scheduled time: 27-Mar-2016 12:37:05
  Start time: 27-Mar-2016 12:37:15
  End time:   29-Mar-2016 22:26:57
  Elapsed time:   2 days 9 hours 49 mins 42 secs
  Priority:   10
  FD Files Written:   21,034
  SD Files Written:   21,034
  FD Bytes Written:   4,064,634,252,584 (4.064 TB)
  SD Bytes Written:   4,064,628,010,740 (4.064 TB)
  Rate:   19524.4 KB/s
  Software Compression:   None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s): 
001-001|001-002|001-003|001-004|001-005|001-006|001-007|001-008-62|001-009-63|001-010-64
  Volume Session Id:  1
  Volume Session Time:1459077637
  Last Volume Bytes:  1 (1 B)
  Non-fatal FD errors:1
  SD Errors:  1
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***

Here is the pool:

Pool: 001-BHST-LTO3-CCTV-Vault
+-++---+-+-+--+-+-+--+---+---+-+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention| Recycle | Slot | InChanger | MediaType | LastWritten 
| ExpiresIn   |
+-++---+-+-+--+-+-+--+---+---+-+-+
| 253 | 001-001| Full  |   1 | 407,466,888,192 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-27 16:57:02 
| 315,328,270,571 |
| 254 | 001-002| Full  |   1 | 407,272,642,560 |  407 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-27 21:30:12 
| 315,328,286,961 |
| 255 | 001-003| Full  |   1 | 406,864,217,088 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 01:52:24 
| 315,328,302,693 |
| 256 | 001-004| Full  |   1 | 406,834,025,472 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 06:13:37 
| 315,328,318,366 |
| 257 | 001-005| Full  |   1 | 406,360,958,976 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 16:14:00 
| 315,328,354,389 |
| 258 | 001-006| Full  |   1 | 406,236,966,912 |  406 | 
315,328,464,000 |   1 |0 | 0 | LTO3  | 2016-03-28 20:46:44 
| 315,328,370,753 |
| 259 | 001-007| Full  |   1 | 406,174,777,344 |  406 | 
315,328,464,000 |   1 |0 |  

[Bacula-users] Bacula fails to start after Fedora 22 -> 23 upgrade

2016-02-20 Thread bdam
Thanks - that was exactly it. All I needed was to run update_mysql_tables.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula fails to start after Fedora 22 -> 23 upgrade

2016-02-20 Thread bdam
bacula-dir -f
bacula-dir: dird.c:966-0 Could not open Catalog "MyCatalog", database "bacula".
bacula-dir: dird.c:971-0 Version error for database "bacula". Wanted 15, got 14
20-Feb 10:59 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf


I've an idea what's behind all this this time. I had a hell of a time going 
from 21 to 22 because somewhere down the line the Fedora people decided to swap 
from MySQL to MariaDb, assuring everyone there's no problem because everything 
is compatible. I ended up having to build the tables manually with the kind 
help of the people on this list.  I guess the same has happened again, we have 
new bacula binaries, new Mariadb binaries etc but its still the case there is 
no specific Mariadb database update? Please correct me if I'm wrong., and 
thanks for any suggestions.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field

2015-11-25 Thread bdam
Awesome, thank you very much!

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field

2015-11-25 Thread bdam
I have managed to get everything up and running with the help from the Maraidb 
group and backups are now running ok! Thanks to everyone for the help. There is 
one last table I need to create manually - the RestoreObject one. Can someone 
please list the CREATE TABLE statement I need to make it, and any associated  
things like indexes etc? It is for bacula db version 15. Thanks.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field

2015-11-23 Thread bdam
Sorry for the verbosity this time, you'll see it is necessary though. I am 
wondering why the code looks for a column which doesn't exist, even though the 
db upgrade script says it has been updated. See this - does it look like a v15 
table structure?

[root@tiger ~]# mysql
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 498
Server version: 10.0.21-MariaDB-log MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> use bacula;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [bacula]> describe Media;
+--++--+-+-++
| Field| Type   
| Null | Key | Default  
   | Extra  |
+--++--+-+-++
| MediaId  | int(10) unsigned   
| NO   | PRI | NULL 
   | auto_increment |
| VolumeName   | tinyblob   
| NO   | UNI | NULL 
   ||
| Slot | int(11)
| YES  | | 0
   ||
| PoolId   | int(10) unsigned   
| YES  | MUL | 0
   ||
| MediaType| tinyblob   
| NO   | | NULL 
   ||
| MediaTypeId  | int(10) unsigned   
| YES  | | 0
   ||
| LabelType| tinyint(4) 
| YES  | | 0
   ||
| FirstWritten | datetime   
| YES  | | -00-00 
00:00:00 ||
| LastWritten  | datetime   
| YES  | | -00-00 
00:00:00 ||
| LabelDate| datetime   
| YES  | | -00-00 
00:00:00 ||
| VolJobs  | int(10) unsigned   
| YES  | | 0
   ||
| VolFiles | int(10) unsigned   
| YES  | | 0
   ||
| VolBlocks| int(10) unsigned   
| YES  | | 0
   ||
| VolMounts| int(10) unsigned   
| YES  | | 0
   ||
| VolBytes | bigint(20) unsigned
| YES  | | 0
   ||
| VolParts | int(10) unsigned   
| YES  | | 0
   ||
| VolErrors| int(10) unsigned   
| YES  | | 0
   ||
| VolWrites| int(10) unsigned   
| YES  | | 0
   ||
| VolCapacityBytes | bigint(20) unsigned
| YES  | | 0
   ||
| VolStatus| 
enum('Full','Archive','Append','Recycle','Purged','Read-Only','Disabled','Error','Busy','Used','Cleaning')
 | NO   | | NULL| 

[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field

2015-11-23 Thread bdam
(I cannot post literal SQL here as backupcentral.com is seeing it as SQL 
injection, so I have editted appropriatley but know you'll see how it was 
originally)

19-Nov 01:15 tiger-dir JobId 0: Fatal error: sql_create.c:90 Create DB Job 
record I$NSERT I$NTO Job 
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate,ClientId,Comment) V$ALUES 
('Job-PhotosVideos.2015-11-19_01.15.00_11','Job-PhotosVideos','B','I','C','2015-11-19
 01:15:00',1447895700,1,'') failed. ERR=Incorrect datetime value: '-00-00 
00:00:00' for column 'StartTime' at row 1

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field

2015-11-23 Thread bdam
Thanks again Kern.

[root@tiger ~]# find / -name "bacula-dir"
/mnt/Vol-06/Mirror/etc/sysconfig/bacula-dir
/root/.config/bacula-dir
/usr/sbin/bacula-dir
/etc/sysconfig/bacula-dir
find: ‘/run/user/42/gvfs’: Permission denied

[root@tiger ~]# which bacula-dir
/sbin/bacula-dir

Some more clues?

[root@tiger Bacula]# bconsole
Connecting to Director tiger:9101
1000 OK: 102 tiger-dir Version: 7.2.0 (14 August 2015)
Enter a period to cancel a command.
*run
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
 1: Job-Daily
 2: Job-Weekly
 3: Job-Home
 4: Job-RemoteBackup-Archive
 5: Job-Archive
 6: Job-CCTV-Vault
 7: Job-PhotosVideos
 8: Catalog
 9: RestoreFiles
Select Job resource (1-9): 6
Run Backup job
JobName:  Job-CCTV-Vault
Level:Incremental
Client:   tiger-fd
FileSet:  FileSet-CCTV-Vault
Pool: 001-BHST-LTO3-CCTV-Vault (From Job resource)
Storage:  BHST-TIGER-LTO3-EXT2 (From Job resource)
When: 2015-11-23 08:07:21
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=6268
*You have messages.
*messages
23-Nov 08:07 tiger-dir JobId 6268: Start Backup JobId 6268, 
Job=Job-CCTV-Vault.2015-11-23_08.07.25_18
23-Nov 08:07 tiger-dir JobId 6268: Fatal error: bdb.h:103 bdb.h:103 query 
SELECT 
MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolABytes,VolHoleBytes,VolHoles,VolMounts,VolErrors,VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,Recycle,Slot,FirstWritten,LastWritten,InChanger,EndFile,EndBlock,VolParts,LabelType,LabelDate,StorageId,Enabled,LocationId,RecycleCount,InitialWrite,ScratchPoolId,RecyclePoolId,VolReadTime,VolWriteTime,ActionOnPurge
 FROM Media WHERE VolumeName='001-028-05' failed:
Unknown column 'VolABytes' in 'field list'
23-Nov 08:07 tiger-dir JobId 6268: Fatal error: bdb.h:103 bdb.h:103 query 
SELECT 
MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolABytes,VolHoleBytes,VolHoles,VolMounts,VolErrors,VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,Recycle,Slot,FirstWritten,LastWritten,InChanger,EndFile,EndBlock,VolParts,LabelType,LabelDate,StorageId,Enabled,LocationId,RecycleCount,InitialWrite,ScratchPoolId,RecyclePoolId,VolReadTime,VolWriteTime,ActionOnPurge
 FROM Media WHERE VolumeName='005-P01-29' failed:
Unknown column 'VolABytes' in 'field list'
23-Nov 08:07 tiger-dir JobId 6268: Using Device "HP-ULTRIUM-LTO3-EXT2" to write.
23-Nov 08:07 tiger-dir JobId 6268: Fatal error: No Job status returned from FD.
23-Nov 08:07 tiger-dir JobId 6268: Fatal error: bdb.h:103 bdb.h:103 query 
SELECT 
MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolABytes,VolHoleBytes,VolHoles,VolMounts,VolErrors,VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,Recycle,Slot,FirstWritten,LastWritten,InChanger,EndFile,EndBlock,VolParts,LabelType,LabelDate,StorageId,Enabled,LocationId,RecycleCount,InitialWrite,ScratchPoolId,RecyclePoolId,VolReadTime,VolWriteTime,ActionOnPurge
 FROM Media WHERE VolumeName='001-028-05' failed:
Unknown column 'VolABytes' in 'field list'
23-Nov 08:07 tiger-dir JobId 6268: Warning: Error getting Media record for 
Volume "001-028-05": ERR=Media record for Volume Name "001-028-05" not 
found in Catalog.
23-Nov 08:07 tiger-dir JobId 6268: Error: Bacula tiger-dir 7.2.0 (14Aug15):
  Build OS:   x86_64-redhat-linux-gnu redhat Three)
  JobId:  6268
  Job:Job-CCTV-Vault.2015-11-23_08.07.25_18
  Backup Level:   Incremental, since=2015-10-27 01:30:02
  Client: "tiger-fd" 7.2.0 (14Aug15) 
x86_64-redhat-linux-gnu,redhat,Three)
  FileSet:"FileSet-CCTV-Vault" 2015-07-27 09:49:21
  Pool:   "001-BHST-LTO3-CCTV-Vault" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"BHST-TIGER-LTO3-EXT2" (From Job resource)
  Scheduled time: 23-Nov-2015 08:07:21
  Start time: 23-Nov-2015 08:07:27
  End time:   23-Nov-2015 08:07:27
  Elapsed time:   0 secs
  Priority:   10
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  Snapshot/VSS:   no
  Encryption: no
  Accurate:   no
  Volume name(s):
  Volume Session Id:  7
  Volume Session Time:1448111843
  Last Volume Bytes:  0 (0 B)
  Non-fatal FD errors:1
  SD Errors:  0
  FD termination status:  Error
  SD termination status:
  Termination:*** Backup Error ***

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forw

[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field

2015-11-22 Thread bdam
Thanks for your help so far. This must be a big clue. Do you think just dnf 
uninstall bacula; dnf install bacula would fix it? I am very reluctant to try 
just as a gamble.

[root@tiger bacula]# ./update_mysql_tables -u root -p

This script will update a Bacula MySQL database from version 12-14 to 15

Depending on the current version of your catalog, you may have to run this 
script
multiple times

Enter password:

The existing database is version 15 !!
This script can only update an existing version 12-14 version 15.
Error. Cannot upgrade this database.

[root@tiger bacula]#

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field

2015-11-22 Thread bdam
Version: 7.2.0 (14 August 2015) x86_64-redhat-linux-gnu redhat Three)

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Upgrading Fed 22->23 Unknown column 'VolABytes' in 'field li

2015-11-22 Thread bdam
Help!
All the backup jobs fail - is the db screwed? I just did the automatic update 
and now get:

22-Nov 12:01 tiger-dir JobId 6262: Fatal error: bdb.h:103 bdb.h:103 query 
SELECT 
MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolABytes,VolHoleBytes,VolHoles,VolMounts,VolErrors,VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,Recycle,Slot,FirstWritten,LastWritten,InChanger,EndFile,EndBlock,VolParts,LabelType,LabelDate,StorageId,Enabled,LocationId,RecycleCount,InitialWrite,ScratchPoolId,RecyclePoolId,VolReadTime,VolWriteTime,ActionOnPurge
 FROM Media WHERE VolumeName='005-P01-29' failed:
Unknown column 'VolABytes' in 'field list'
22-Nov 12:01 tiger-dir JobId 6262: Using Device "HP-ULTRIUM-LTO3-EXT2" to write.
22-Nov 12:01 tiger-dir JobId 6262: Fatal error: No Job status returned from FD.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Tell bacula not to repeat backup when target moved

2015-10-19 Thread bdam
This has come up again, and I wanted to post the answer here to help future 
searchers. The real problem was bacula can't back up symlinks, yet the data 
behind them could physically move across disks etc but in reality remain 
unchanged.

What I didn't know then is that linux can mount one folder to another using 
"mount -o bind". So, you can create a kind of virtual filesystem where the 
branches all point to where you'd otherwise have symlinks, but it still appears 
to bacula as single filesystem which it can then backup with no trouble, since 
there are no symlinks. The only thing to bear in mind is your FileSet Options 
needs to have the "onefs=no" entry (the default is "yes") otherwise it will not 
traverse the new "virtual" filesystem fully.

Also, be sure to "move" the branches if you do any maintenance after the Full 
backup has been performed rather than "copy" or it will think the data has 
changed. Its a neat system.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Tell bacula not to repeat backup when target moved

2015-09-16 Thread bdam
Thanks everyone for the help.
I have a solution, but it's not along the lines suggested. The real problem 
here is we have 1 pool for all the backups going back years. Disturbing that 
pool, as we've seen, causes data already backed up to be backed up again. So I 
am approaching it differently, and probably the way it should have been at the 
start - don't have 1 eternal pool. Since these are CCTV backups, I plan now to 
have a separate pool for every 6 months. Then when/if the online files move, we 
make sure only 6 months worth go, so in effect the pool can be recreated as for 
us that's only 4 tapes.

I hope this proves useful for someone else in future.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tell bacula not to repeat backup when target moved

2015-09-16 Thread bdam
Ok so somewhere in the completed backup set were 2 symlinks, ~/01-Jan and 
~/02-Feb, that disk filled to I had to move those to another, did not change 
the bacula files and just did cp of the data, edited symlinks and this morning 
it want to back up those two months of CCTV again. I need to understand how to 
set things up so bacula doesn't see these as "real "changes, I'm sorry I just 
did not understand the help so far, although it is very much appreciated. 
Surely I can't be the only one ever to encounter this? I will have to bite the 
bullet and waste a couple more tapes just to get things moving. If it helps, 
these are not *backups* but archives, at some point they will be permanently 
moved offline (not much need to review CCTV from 2013, 2014 instantly now). 

Just to be clear - I still want to move more of the files these symlinks point 
to around.

Sincere thanks so far.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tell bacula not to repeat backup when target moved

2015-08-30 Thread bdam
Sincere thansk for your help, but I don;'t understand what to do. I will show 
the current config for my setup

# Priority 1 = highest. The Archive job is lower than any scheduled ones.
JobDefs {
  Name = "JobDef-CCTV-Archive"
  Type = Backup
  Level = Full
  Client = tiger-fd
  FileSet = "FileSet-CCTV-Archive"
  Storage = BHST-TIGER-LTO3-EXT2
  Messages = Standard
  Pool = LTO3-P08
  Priority = 10
}

FileSet {
  Name = "FileSet-CCTV-Archive"
  Include {
Options {
  signature = MD5
}
File = /data/CCTV-Archive/.
  }
}

As I said, under /data/CCTV-Archive are symlinks to 2014, 2015 folder and under 
those are symlinks to each month of the year. Once the month is resolved there 
are no more symlinks.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Tell bacula not to repeat backup when target moved

2015-08-28 Thread bdam
The file is the same if the full path, having resolved all symlinks, is the 
same, the file contents are the same and the files timestamp is the same.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Tell bacula not to repeat backup when target moved

2015-08-28 Thread bdam
The situation is bacula has been doing a full backup of a CCTV system which 
goes back 2 years, its over 20 tapes. We want to keep these online, and hav 
bacula just backup the new videos as its doing now. In the server, there were 
several disks so the policy was to create one root folder per year, e.g. 2014, 
and have symlinks under for the 12 months /2014/01-Jan, 2014/02-Feb etc. That's 
because they took up so much disk space the actual folders were scattered 
around different drives. All was well with bacula - an incremental job, which 
on first run was promoted to full, was carefully set up so it followed these 
symlinks and has put all the data on the 20 tapes.

We now have added bigger disks and so want to move the target folders to them. 
From the top level, the 2014, 2015 "tree" hasn't changed, that's the point of 
symlinks. But bacula sees the symlink as changed so wants to run the whole job 
again. What I really want is to move the files over, but tell bacula to ignore 
these "artifical" changes, otherwise we'll be pointlessley filling up another 
20 tapes just to get back to where we are now.

Thanks - an please don't assume there is an easy answer I should know about, 
I'm not that clued up!!!

Bill

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


[Bacula-users] Can't restore to a symlink

2015-04-23 Thread bdam
Just a heads up in case this wasn't known. I have a physical path 
/mnt/Vol-04/Bacula/Restores with a symlink /data/Bacula/Restores. When using 
the symlink in the restore job I got "/data/Bacula/Restores exists but is not a 
directory", but using the actual path worked.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] List files in a volume

2015-04-22 Thread bdam
One final question about this - when i issue the query command from the console 
this way, is there a way to either pagenate the results or send them to a file 
so I can browse them? These are 3 months of CCTV from multiple cameras running 
24/7 in 20 minute sections, so there are rather a lot of files shown!!!

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] List files in a volume

2015-04-22 Thread bdam
I never realized you could copy the sample SQL commands that way. So I did 
that, found the job id's from "14" then the listing from "12". Excellent, 
thanks!

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] List files in a volume

2015-04-21 Thread bdam
I have the need to restore some CCTV data which was recorded in July 2014. The 
volume names are all right there in the pool, and I know the target date I'm 
looking for since its part of the filename. I just don't know which volume it's 
in. So an "ls" listing would identify it instantly. There are about a dozen 
tapes in the pool.  I saw the bls comand and that would probably work, I'd just 
stick each tape in sequentially till I saw the volume containing the data. But 
why does it need the tape? I know the volume names, can't I just do this "ls" 
for each one from the console without changing tapes? It would be far quicker 
to find the files I needed and it means I can do this search without 
interfering with the daily backups which are using the same drive. By the way, 
the CCTV isn't on 100% of the time, so having said that the files might not be 
present and/or the filenames not exact, hence the need to browse the volumes. 
Thanks.

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't figure out "exclude .cache" config

2014-10-03 Thread bdam
Hi Heitor 

Ahh that works! Thanks you.
Just for completeness, how would I say "Exclude all folders which start with . 
" so it gets .cache, .config etc, AS WELL as "ignore all core dumps" which are 
files in the format "core.*".

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't figure out "exclude .cache" config

2014-10-02 Thread bdam
Bill: sorry me. Is .cache a folder? 

Yes its a folder

So the option is: WildDir, not WildFile.

But WildFile refers to core.* !! Are you sure that's what you meant?

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't figure out "exclude .cache" config

2014-10-02 Thread bdam
@dresherjm It says /home is invalid in that position
@heitor Sorry I didn't make it clear, but of course I ran a new job and tested 
that when done. By the way how can estimate tell me it won't back up the core 
and .cache files - do I just compare its output with du or something? Also, I 
actuially watch the job by repeatedly doing status all, and I see it ploughing 
through the .cache folder with "Processing file...". I thought that would not 
show the .cache folder there if I'd got it right - is that correct? 

Thanks for everyones help so far!

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't figure out "exclude .cache" config

2014-10-02 Thread bdam
Hi Heitor, sincere thanks for tyou help. I just made those changes, restarted 
baula a,d inspecting the backup with restore, 5, then nav to a users .cache dir 
showed it had still backed up .cache. Here is the full config I used, hope i 
got it right:



FileSet {
  Name = "FileSet-Home"
  Include {
Options {
  signature = MD5
  WildFile = "core.*"
  Exclude = yes
}
File = /home
  }
  Exclude {
File = /.cache
File = /.pulse
  }
}

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't figure out "exclude .cache" config

2014-10-01 Thread bdam
All I want to do is back up the users home folders but not their chrome cache 
or any core dumps. I used the setting below which I thought would do it but its 
backing up everything. Anyone spot whats wrong please?

FileSet {
  Name = "FileSet-Home"
  Include {
Options {
  signature = MD5
}
File = /home
  }
  Exclude {
File = .cache
File = .pulse
File = core.*
  }
}

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] QUANTUM DLT VS160 bacula/tape compatibility problems

2014-02-05 Thread bdam
Hi, been using bacula under Fedora for years on various SCSI DAT and DLT4 
drives with no problems. I just got a QUANTUM DLT VS160 off of eBay and it came 
with 1 tape, stamped with "VS160" on the plastic case. I set things up and it 
labelled and wrote perfectly. The system is to back up lots of archive data 
(CCTV recordings) so I then bought a bunch of Sony VS160/360 tapes and 
earmarked them for the CCTV pool, intending to label each one on demand as 
Bacula filled them up. These have "VS!" stamped on them in the same place on 
their case. This was going well in as far as the label went, but immediately 
the drive started giving i/o errors and in fact after the bacula unmount even 
mt -f /dev/st1 eject gave this too - I had to reboot the machine and use the 
physical button to eject. Thinking that somehow the brand new tape was bad I 
opened another and the same happened. I then went back to the single tape which 
was supplied with it and labelled that as the first of the pool, and it wrote 
 80G perfectly, in fact its now asking for the next tape. Have I misunderstood 
something regarding the compatibility of these other tapes please?

Thanks!

+--
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users