LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2015, 06:46 AM   #1
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Rep: Reputation: 28
bacula version conflict question


hey, i got kind of an unusual question about bacula. okay, so i have a server and a pc. i recently upgraded the pc to fc22. the server has fc20.

the dumb thing is that the max repo'ed version of bacula for fc20 is 5.2.13-18 and the min repo'ed version for fc22 is 7.0 something. well, the issue is that 7 can communicate backwards to 5.2 but 5.2 cannot communicate forward to 7 so right now i cannot back up my pc.

what i am trying to do is figure out the best way around this before i go and do something stupid. so i tried to install bacula 5.2 on my pc but downloading the rpms and manually installing but i need like 20 dependencies and i am guessing that right now some of those dependencies are being used otherwise which is going to lead to a spiderweb of issues which i do not want to deal with.

i am going to upgrade the server eventually to a newer version however i am not there yet. i am not sure what to do here short of installing a full version of bacula on my pc and then running one on my server too.

any advice how to handle this?
 
Old 09-28-2015, 04:10 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
bacula-server = fc20 = 7.0
bacula-client = fc22 = 5.2
upgrade the server to fc22 or downgrade the pc to fc20?

Quote:
Originally Posted by baldur_1 View Post
short of installing a full version of bacula on my pc
FYI: Unnecessary. You only need the client. Installing the full version on the PC will not fix anything.

Man, I love rsync more and more every day.

Last edited by Habitual; 09-28-2015 at 04:18 PM.
 
Old 09-28-2015, 10:47 PM   #3
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Original Poster
Rep: Reputation: 28
well, i appreciate the input but reformatting my pc backward takes about a day+ to get it back to where it should be. reformatting my server takes 2+ days to get it back to where it should be. using fedup takes a day+ from what i was able to understand from studying it and is iffy.

i wanted to avoid those three because i plan on reformatting later in the year when i am ready to, a few months away BUT my pc has the more vital data on it that needs to be backed so i will have to figure out some other method for a bit...rsync is possible but i need to figure that out. i appreciate your bringing that up.

i was hoping for something like a few hours of configuring or something but from all of the research...i have done it just does not seem to be there.
 
Old 09-29-2015, 02:05 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Well, just this once, have a google on other backup tools for Linux - there are lots to choose from. You may find some that have the same version of SW for both OS versions.

Later, can I also recommend using Centos instead of Fedora for your server. Its the same as RHEL but free, and more stable than Fedora.
 
Old 09-29-2015, 07:16 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Since the bacula-director does all the work, it should poll the agent on the intended host and initiate the backup.
I don't believe the bacula-client initiates the backups, so have you tried an actual backup? And if so, what was the result?
Why do you think they have to be at the same version?
 
Old 09-30-2015, 12:06 AM   #6
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Original Poster
Rep: Reputation: 28
you are correct about that, habitual, the director contacts the client and tells it to start the back-up which it does. it is the next step that is the issue, then the client contacts the storage daemon to send it the information to be stored. bacula can communicate backwards however it cannot communicate forwards (between major revisions) so when the client (5.2) sends the data to the storage daemon (7.0), that is forward communication, it hangs and then fails. i have tried it several times and tried a few other things as well.

i think they are different versions because the only two versions in their respective repositories are for fc22 7.0 and for fc 20 5.2. when i noticed that is when i started looking into the communication and closer at the logs and that is when i stumbled onto the root of the issue.

chris, i have been seriously considering switching to centos for my server but then i run into the same issue. right now i have a server, my pc and a dvr but in the long run what i would like to do is build a specific back-up server to back eveything up onto which will manage about 20-30 tb of storage. in that instance i would then have 4 main computers. the dvr i dont really need to have backed up but it would be nice. my pc and my server have very vital data, the pc having the most vital, that i REALLY would like backed up.

i like fedora on my pc. i dont like ubuntu for that but i like using mythbunutu for my dvr. i have had issues on my dvr with fedora and myth. my server is fedora but i have been considering centos and lastly the back-up is almost certainly to be freenas because it is light and runs excellently off a usb stick and from a web browser. well then you have up to 4 different versions of linux running and very likely would run into the same issue. i know that ubuntu right now is only running version 5.2. but say fedora updates or something and centos or freenas doesnt then i run into the same issue and it is not just that, i think i am having the same issue with cups too (fc20 has 1.7 while fc22 has 2.0).

so, i have to either start considering a different back-up option + which i have not done because i was sold on bacula for its broad configurability so i can set up back-ups so many different ways or i have to figure out a way around the communication issues which doesnt seem like it is going to happen or all pcs have to have the same version of the same flavor of linux so say fc22 on all.

Last edited by baldur_1; 09-30-2015 at 12:14 AM.
 
Old 09-30-2015, 02:27 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Fair enough.
As I say, there are (too) many backup options and I'm sure there are plenty that don't require matched versions at both ends.

A basic one might be rsync, or look eg at amanda/zmanda https://www.zmanda.com/quick-backup-setup.html.
This example (zmanda HOWTO in 15 mins) is a bit old, but it demonstrates that that tool is designed to backup different OSes eg 4 different ones in that article.

Have a look.

PS: Actually a 'neutral' method is preferable unless you want to lock all your systems into the same OS+version - also you may need to recover onto a different OS/version at some point...

Last edited by chrism01; 09-30-2015 at 02:30 AM.
 
Old 09-30-2015, 07:52 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I ditched bacula as a backup solution when I realized the archive format is proprietary (requires bacula) and therefore adds an 'extra' step to the restoration process. Too bulky for my needs.

rsync is universal.

You could maybe build bacula 7 from source on fc22...
It would be nice to see these indicators you say you found in the logs.

I assume you have tried eliminating the obvious by telnet'ing to the bacula_server:ports from fc22?
 
Old 10-02-2015, 06:28 AM   #9
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Original Poster
Rep: Reputation: 28
yeah, habitual, the more i think about it the more i agree with your thinking there. if they had the files there, just the raw files then that would dramatically increase the flexibility in restoring things or recovering lost data. i dont mind using bacula to restore but it seems that only being able to have bacula restore creates an inflexibility in the way you can deal with things.

right now i am going to set it up because i got sick and decided to rebuild my server now but i think long term i am going to look to another solution.

here is the error codes from bacula...

Code:
26-Sep 23:05 bacula-dir JobId 966: No prior Full backup Job record found.
26-Sep 23:05 bacula-dir JobId 966: No prior or suitable Full backup found in catalog. Doing FULL backup.
26-Sep 23:05 bacula-dir JobId 966: Start Backup JobId 966, Job=odin_backup.2015-09-26_23.05.00_22
26-Sep 23:05 bacula-dir JobId 966: Using Device "FileStorage" to write.
26-Sep 23:05 odin-fd JobId 966: Fatal error: Authorization key rejected by Storage daemon.
Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00260000000000000000 for help.
26-Sep 23:05 bacula-dir JobId 966: Fatal error: Bad response to Storage command: wanted 2000 OK storage
, got 2902 Bad storage

26-Sep 23:05 bacula-dir JobId 966: Error: Bacula bacula-dir 5.2.13 (19Jan13):
  Build OS:               x86_64-redhat-linux-gnu redhat
  JobId:                  966
the link took me to a page that basically said it was a password issue but i knew that wasnt the situation and it mentions bad storage response so then i watched output from webacula and the way it happened and i could see from there that a connection to my pc from the director was happening and a job was being started but not finished. since the client it such simple code and i can reasonably expect from that it was some kind of autentication issue, i looked into the versions and then researched and found the developer saying specifically that 5.2 cannot communicate forwards to 7.0.
 
Old 10-02-2015, 09:35 AM   #10
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by baldur_1 View Post
26-Sep 23:05 odin-fd JobId 966: Fatal error: Authorization key rejected by Storage daemon.
This could be the issue.
 
Old 10-16-2015, 09:29 PM   #11
rjones8125
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
Bacula 7 repo config

Had a similar issue and after a bit of Google-Fu found Chris Couture's post

http://www.chriscouture.com/installi...ebon-centos-7/

About half-way through post, he shows how to setup YUM repo for EPEL repo and version 7 of Bacula.

Worked for me, YMMV.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bacula-dir not starting ; Unit bacula-dir.service entered failed state zalgo Linux - Software 2 04-09-2015 02:32 AM
[SOLVED] Bacula error message:Could not stat "/var/lib/bacula/bacula.sql": ERR=No such file or directory Learnix Linux - Server 2 11-18-2013 10:39 AM
[SOLVED] Bacula: bacula director does not start knilux Linux - Server 13 12-15-2012 12:30 AM
Need help with java version conflict. M$ISBS Linux - Newbie 1 12-14-2006 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration