Re: [Bacula-users] Conflict When Upgrading from Bacula 9.4.4 to 11.0.5

2021-11-05 Thread J W
I tried to revert back to 9.4.4 and get the same error. I installed
everything but bacula-client and it seems that the client is already
installed with bacula-postgresq.

I must have known this the first time I installed 9.4.4.

I guess the instructions do not say to install the client on the server.
They only discuss installing the client on the clients and I just assumed
it was necessary.

I will uninstall 9.44 then install 11.0.5 and see what happens.

THanks



On Fri, Nov 5, 2021 at 7:51 AM J W  wrote:

> I am trying to upgrade from Bacula 9.4.4 to 11.0.5.
> My OS is Centos 7.
>
> I backed up my Bacula installation and catalog then uninstalled Bacula
> 9.4.4.
>
>
> yum list installed|grep bacula shows no bacula rpms installed.
>
> Below I tried to install using yum. I get a msg. that there is a conflict
> between bacula-postgresql-11.0.5-1.x86_64 and bacula-client.
>
> Any idea how to fix?
>
> [root@jw bacula]# yum install bacula-aligned-11.0.5-1.el7.x86_64.rpm
> bacula-client-11.0.5-1.el7.x86_64.rpm bacula-libs-11.0.5-1.el7.x86_64.rpm
> bacula-postgresql-11.0.5-1.el7.x86_64.rpm
> bacula-updatedb-11.0.5-1.el7.x86_64.rpm
> Loaded plugins: fastestmirror, langpacks
> Examining bacula-aligned-11.0.5-1.el7.x86_64.rpm:
> bacula-aligned-11.0.5-1.x86_64
> Marking bacula-aligned-11.0.5-1.el7.x86_64.rpm to be installed
> Examining bacula-client-11.0.5-1.el7.x86_64.rpm:
> bacula-client-11.0.5-1.x86_64
> Marking bacula-client-11.0.5-1.el7.x86_64.rpm to be installed
> Examining bacula-libs-11.0.5-1.el7.x86_64.rpm: bacula-libs-11.0.5-1.x86_64
> Marking bacula-libs-11.0.5-1.el7.x86_64.rpm to be installed
> Examining bacula-postgresql-11.0.5-1.el7.x86_64.rpm:
> bacula-postgresql-11.0.5-1.x86_64
> Marking bacula-postgresql-11.0.5-1.el7.x86_64.rpm to be installed
> Examining bacula-updatedb-11.0.5-1.el7.x86_64.rpm:
> bacula-updatedb-11.0.5-1.x86_64
> Marking bacula-updatedb-11.0.5-1.el7.x86_64.rpm to be installed
> Resolving Dependencies
> --> Running transaction check
> ---> Package bacula-aligned.x86_64 0:11.0.5-1 will be installed
> ---> Package bacula-client.x86_64 0:11.0.5-1 will be installed
> ---> Package bacula-libs.x86_64 0:11.0.5-1 will be installed
> ---> Package bacula-postgresql.x86_64 0:11.0.5-1 will be installed
> ---> Package bacula-updatedb.x86_64 0:11.0.5-1 will be installed
> --> Processing Conflict: bacula-postgresql-11.0.5-1.x86_64 conflicts
> bacula-client
> Loading mirror speeds from cached hostfile
>  * base: centos.mirror.far.fi
>  * epel: epel.mirror.omnilance.com
>  * extras: centos.mirror.far.fi
>  * updates: centos.mirror.far.fi
> --> Processing Conflict: bacula-client-11.0.5-1.x86_64 conflicts
> bacula-postgresql
> --> Finished Dependency Resolution
> Error: bacula-postgresql conflicts with bacula-client-11.0.5-1.x86_64
> Error: bacula-client conflicts with bacula-postgresql-11.0.5-1.x86_64
>  You could try using --skip-broken to work around the problem
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Conflict When Upgrading from Bacula 9.4.4 to 11.0.5

2021-11-05 Thread J W
I am trying to upgrade from Bacula 9.4.4 to 11.0.5.
My OS is Centos 7.

I backed up my Bacula installation and catalog then uninstalled Bacula
9.4.4.


yum list installed|grep bacula shows no bacula rpms installed.

Below I tried to install using yum. I get a msg. that there is a conflict
between bacula-postgresql-11.0.5-1.x86_64 and bacula-client.

Any idea how to fix?

[root@jw bacula]# yum install bacula-aligned-11.0.5-1.el7.x86_64.rpm
bacula-client-11.0.5-1.el7.x86_64.rpm bacula-libs-11.0.5-1.el7.x86_64.rpm
bacula-postgresql-11.0.5-1.el7.x86_64.rpm
bacula-updatedb-11.0.5-1.el7.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Examining bacula-aligned-11.0.5-1.el7.x86_64.rpm:
bacula-aligned-11.0.5-1.x86_64
Marking bacula-aligned-11.0.5-1.el7.x86_64.rpm to be installed
Examining bacula-client-11.0.5-1.el7.x86_64.rpm:
bacula-client-11.0.5-1.x86_64
Marking bacula-client-11.0.5-1.el7.x86_64.rpm to be installed
Examining bacula-libs-11.0.5-1.el7.x86_64.rpm: bacula-libs-11.0.5-1.x86_64
Marking bacula-libs-11.0.5-1.el7.x86_64.rpm to be installed
Examining bacula-postgresql-11.0.5-1.el7.x86_64.rpm:
bacula-postgresql-11.0.5-1.x86_64
Marking bacula-postgresql-11.0.5-1.el7.x86_64.rpm to be installed
Examining bacula-updatedb-11.0.5-1.el7.x86_64.rpm:
bacula-updatedb-11.0.5-1.x86_64
Marking bacula-updatedb-11.0.5-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package bacula-aligned.x86_64 0:11.0.5-1 will be installed
---> Package bacula-client.x86_64 0:11.0.5-1 will be installed
---> Package bacula-libs.x86_64 0:11.0.5-1 will be installed
---> Package bacula-postgresql.x86_64 0:11.0.5-1 will be installed
---> Package bacula-updatedb.x86_64 0:11.0.5-1 will be installed
--> Processing Conflict: bacula-postgresql-11.0.5-1.x86_64 conflicts
bacula-client
Loading mirror speeds from cached hostfile
 * base: centos.mirror.far.fi
 * epel: epel.mirror.omnilance.com
 * extras: centos.mirror.far.fi
 * updates: centos.mirror.far.fi
--> Processing Conflict: bacula-client-11.0.5-1.x86_64 conflicts
bacula-postgresql
--> Finished Dependency Resolution
Error: bacula-postgresql conflicts with bacula-client-11.0.5-1.x86_64
Error: bacula-client conflicts with bacula-postgresql-11.0.5-1.x86_64
 You could try using --skip-broken to work around the problem
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Unable to Edit bacula-fd.conf and bat.conf on Windows 10 Machine

2021-03-03 Thread J W
I installed Bacula 9.44 file director on my Windows 10 machine.
Afterwards,  I am unable to edit bacula-fd.conf or bat.conf.

I get msgs like, "Access to c:/Program Files/Bacula/bacula-fd.conf was
denied.

I can edit bconsole.conf.

I notice the owner of bconsole.conf is Administrators. Owner of the other
two files is not shown.

I have tried to change owner of those two files without success.

If i uninstall Bacula and reinstall it then I get the same results.

Any suggestions how to fix?

I chose 9.44 because I already have a running 9.44 director and storage
device and backing up Linux systems.

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


[Bacula-users] Optimizing Backup Schedule and Storage Space on Backup System

2021-02-25 Thread J W
I am using Bacula Community 9.4.4 for backup of a server.

It has two drives with about 2.8 TB of information on each drive.

My backup system has ~28 TB of disk storage in a single partition using ZFS
0.8.5 with compression and deduplication turned on. I get about 1.3 - 1.4x
compression so it is equivalent to 36 - 39 TB of storage.

Bacula deduplication is not turned on.

I have backup jobs for each drive with daily incremental, weekly
differential, and monthly full backups.

1. The full backups are about 2.8 TB with 12,000,000 - 20,000,000 files and
each run for 2 - 3 days. This is a problem since it means that we can lose
up to three days of files if someone has a problem.
I am looking for suggestions about how to configure my backup schedule to
avoid this.

I can only get 3 - 4 months of backups out of this system. I set things so
pruning keeps enough volumes empty for the backups to finish.

Each volume has > 1 TB of files that do not change much such as cad tools.
These are not as critical since they can be downloaded and installed again.

Each volume also has about 1 TB of user files which are more critical
although most of them are not changing.

I am splitting the backups into separate jobs for the CAD tools and the
user data.

I am looking for ways to optimize this storage.

2. Any suggestions for backup strategies?

3. I would try Virtual backups.
Can I just run virtual full backups periodically after the first full
backup? I already have full backups so I could just schedule virtual full
backups instead of full ones.
Do I need separate media types or devices for Virtual Full backups? My ZFS
partition is already at ~ 80 % so I do not have much room.

Are Virtual full backups sort of like pruning so that my oldest backup data
is from when the last VirtualFull took place?

I looked at the following documents, alhtough they may be more for the
Enterprise version than the community one.

https://www.baculasystems.com/corporate-data-backup-software-solutions/bacula-enterprise-data-backup-software/features/synthetic-backup/

https://www.baculasystems.com/ml/pvf3.svg#PVF-title

4. I would be interested to try turning on deduplication. I looked at:

https://blog.bacula.org/whitepapers/DedupVolumes.pdf

I am worried about the statement below in the guide:

You must take particular attention to define a unique Media Type for
devices that are Aligned as well as for each Virtual Autochanger that uses
a different Archive Device directory. If you use the same Media Type for an
Aligned device type that you use for a normal disk Volume, you run the risk
that you will have data corruption on disk Volumes that are used on Aligned
and non-Aligned devices.

In my bacula-sd.conf file I had already specified most of the settings for
deduplication. Note that even though the device is called Aligned-Disk it
was not specified as aligned disk.

The problem again is my ZFS partition is already mostly filled.

If I make a separate media type then can I point it at the same disk
partition or do I have to use a separate partition so that new disk volumes
will be created just for the aligned storage.

My concern with deduplication is that it uses a lot of ram so I really need
to test it with my largest backups to see how it goes. I have seen numbers
like 5.5 GB of Ram/TB of storage. For my system that would be > 150 GB ram
and I only have 48 GB. It is probably cheaper to get a new backup system
with more drives than to start adding tons of RAM.

Device {
  Name = Aligned-Disk
#   Plugin Directory = /opt/bacula/plugins
#  Device Type = Aligned  # Must be aligned
  Media Type = File1
  Archive Device = /mpool1/bacula# Or /mnt/ddumbfs.mnt if ddumfs
mounting point.
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 1# Always 1 for Aligned
  Minimum Block Size=0K
  Maximum Block Size=128K
  File Alignment=128K
  Padding Size=512
  Minimum Aligned Size=4096
}

Device {
  Name = FileChgr1-Dev2
  Media Type = File1
  Archive Device = /mpool1/bacula
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 5
}

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


[Bacula-users] Recommendation for NAS Appliance that Supports Bacula Community

2020-05-26 Thread J W
I am looking for a NAS appliance that supports Bacula Community.

Use case is to back up a single server with 16 - 20 TB of storage. The
server has not been purchased yet. It will start out empty but could grow
to completely full over years.

Idea is to keep backups for about six months.

I want to run Bacula Director on the NAS rather than mounting the NAS
storage on the server and running Director on the server so that if
something goes wrong and overwrites everything on the server then it does
not overwrite the NAS as well.

Any suggestions? I have been looking at FREENAS, Synology, Qnap , and
ReadyNAS so far.

I already have a system that I set up to back up a server with 8 TB of
space. I made it from an old Xeon workstation. I put 4 x 16 tb drives in it
set up as a ZFS mirrored pool with Centos 7 to give ~ 30 TB of space and
running Bacula 9.44. I do one full backup/month. It gives about 4 months
worth of backups.

I do not want to do a larger version of this because this backup system
will be installed across the country so it needs to be a little more
turnkey so the people there can set it up. After that then I can manage it
remotely.
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 9.44 Aligned -Disk Driver Not Working

2019-07-11 Thread J W
I just installed Bacula 9.44 Community and am backing up to a ZFS drive. It
works fine with a regular setup.

If I switch to using the Aligned device type then I get the error below. I
switched back to a regular setup but would like to use deduplication since
it would save me a lot of space because my full backups are 5 TB but most
of the files are not changing between ful backups.
-
 Device "Aligned-Disk" requested by DIR could not be opened or does not
exist.
11-Jul 09:29 jw-sd JobId 13: Error: [SE0003] Lookup of symbol
"BaculaSDdriver" in driver Aligned-Disk for device /opt/bacula/plugins/
bacula-sd-aligned-driver-9.4.4.so failed: ERR=/opt/bacula/plugins/
bacula-sd-aligned-driver-9.4.4.so: undefined symbol: BaculaSDdriver
---
My OS is latest Centos 7. I installed Bacula from the Bacula 9.4.4 repo. It
appeared to install the plugin successfuly. Yum shows it as installed. It
seems like Bacula is finding it since it lists the correct path to the
plugin.

I set up Bacula for deduplication using the directions at
http://www.bacula.lat/block-level-deduplication-with-aligned-volumes-tutorial-bacula-7-9-9-0-and-above/?lang=en.
See my device entry quoted further down below.

I ran a few programs on the plugin to show the symbols but they do not show
BaculaSDdriver in the plugin. I do not really know what I am doing with
that. I also looked at the plugin itself for text with this value but did
not see it.

I saw a post (wsee below) where someone has the same problem with 9.4.3. I
could not figure out how to reply to that post since I just joined the
bacula-users list today.

Any idea how to fix this problem or if it is a bug?

Thanks,
Joe

*[Bacula-users] Aligned volumes support - Bacula Community 9.4.3
*
From: Pedro Freire Popiolek  - 2019-07-08 23:26:41

--
Bacula-Community]
name=CentOS - Bacula - Community
baseurl=http://www.bacula.org/packages/zmyKeyWasHere/rpms/9.4.4/el7/x86_64/
enabled=1
protect=0
gpgcheck=1

--

ls -l
total 52
-rwxr-x---. 1 root bacula  7776 Jun 25 04:41
bacula-sd-aligned-driver-9.4.4.so
-rwxr-x---. 1 root bacula 44592 Jun 25 04:40 bpipe-fd.so
[root@jw plugins]# pwd
/opt/bacula/plugins
[root@jw plugins]#
---
Device entry from bacula-sd.conf
---
Device {
  Name = Aligned-Disk
  Device Type = Aligned  # Must be aligned
  Media Type = File1
  Archive Device = /mpool1# Or /mnt/ddumbfs.mnt if ddumfs mounting
point.
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 1# Always 1 for Aligned
  Minimum Block Size=0K
  Maximum Block Size=128K
  File Alignment=128K
  Padding Size=512
  Minimum Aligned Size=4096
}

---
nm -gC bacula-sd-aligned-driver-9.4.4.so
00201018 B __bss_start
 w __cxa_finalize@@GLIBC_2.2.5
00201018 D _edata
00201020 B _end
0608 T _fini
 w __gmon_start__
04e0 T _init
 w _ITM_deregisterTMCloneTable
 w _ITM_registerTMCloneTable
 w _Jv_RegisterClasses

[root@jw plugins]# readelf -Ws bacula-sd-aligned-driver-9.4.4.so

Symbol table '.dynsym' contains 11 entries:
   Num:Value  Size TypeBind   Vis  Ndx Name
 0:  0 NOTYPE  LOCAL  DEFAULT  UND
 1:  0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
 2:  0 NOTYPE  WEAK   DEFAULT  UND
_Jv_RegisterClasses
 3:  0 NOTYPE  WEAK   DEFAULT  UND
_ITM_deregisterTMCloneTable
 4:  0 NOTYPE  WEAK   DEFAULT  UND
_ITM_registerTMCloneTable
 5:  0 FUNCWEAK   DEFAULT  UND
__cxa_finalize@GLIBC_2.2.5 (2)
 6: 00201020 0 NOTYPE  GLOBAL DEFAULT   21 _end
 7: 00201018 0 NOTYPE  GLOBAL DEFAULT   20 _edata
 8: 00201018 0 NOTYPE  GLOBAL DEFAULT   21 __bss_start
 9: 04e0 0 FUNCGLOBAL DEFAULT8 _init
10: