Bareos backup switch to a new Server

43 views
Skip to first unread message

Mi Zi

unread,
Apr 4, 2022, 5:18:13 PM4/4/22
to bareos-users
hello guys

i want to switch the current configuration to a new installed server
current installation is on ubuntu 20.04. desktop version:
bareos-dir Version: 20.0.1 (02 March 2021) Ubuntu 20.04.1 LTS ubuntu Ubuntu 20.04.1 LTS

here is the new output of version from bconsole: (on ubuntu 20.04. Server version)
bareos-dir Version: 21.0.0 (21 December 2021) Ubuntu 20.04.3 LTS ubuntu Ubuntu 20.04.3 LTS

can i simple copy paste the configuration files (and adjust) or should i upgrade the current installation before?

any hints are welcome

greetings michael

spadaj...@gmail.com

unread,
Apr 5, 2022, 5:14:29 AM4/5/22
to bareos-users

Let's say that the upgrade proces is more or less independent from the move from one server to another. You can do the upgrade before moving the bareos installation or after - it's your call.
The move is not that complicated as long as you know your configuration and know your database (don't forget about the database!). See the https://docs.bareos.org/Appendix/DisasterRecoveryUsingBareos.html#restoring-a-bareos-server
Unfortunately, due to many possible variants of configuration (dir, sd, fd on the same machine or maybe sd on another one?  single sd, multiple sd's? client-initiated connections? moving to another ip/hostname or scrapping old machine and reusing its network parameters? do you encrypt backups?), it's not easy to give a simple step by step scenario.
The easiest situation would of course be if you wanted to do a switch "in-place" - then you'd probably mostly copy the bareos daemons' configuration, spool files, device files (if you're using file-based storage), database configuration and data and you'd be pretty much set.
Reply all
Reply to author
Forward
0 new messages