I moved from using the downloaded Community Bacula to the Ubuntu packaged version, both 13.0.4. The difference is the downloaded uses /opt/bacula/etc while the packaged conf files are in /etc/bacula. The mysql database was not changed.

After the switch client Full's worked, but incrementals and differentials which use Accurate Mode failed because bacula-fd gets "Fatal error: Cannot find previous jobids." Without accurate mode they succeed.

The conf files I'm using in /etc/bacula are just copies of the ones from /opt where I have adjusted the path references. I did not copy the files where /opt pointed, just adjusted the paths in the conf files. That presumably is my mistake.

So now I'm a week in using the packaged Bacula, most with Accurate turned off so that the incremental succeed. I noticed from mysql that Bacula created new FileSetId's for FULL (one for catalog, one for client backups).

So how do I recover from this? I'm not sure which files I should have copied.

For working the opt version uses /opt/bacula/working, the packaged uses /var/lib/bacula. The ones in the former are

bacula-sd.9103.state
bacula-fd.9102.state
bacula-dir.9101.state
BackupCatalog.bsr
orac-fd.bsr

The state files are close to the switch, the bsr's a few days earlier. I'm not aware of other path changes, but could have missed something. Are there any other files I missed? I just assumed it was all in the mysql tables.

I would like to go back to using Accurate, so how do I recover? I'd like to use the existing backups, old and new (the volumes are all files, no devices), but it wouldn't be a tragedy to lose the old (there was also a move from Ubuntu 23.10 to 24.04, so many older files are not relevant)

Any help?


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

Reply via email to