GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BAREOS-DBCOPY(8) Bareos Documentation BAREOS-DBCOPY(8)

bareos-dbcopy - bareos-dbcopy

bareos-dbcopy [options] <sourcecatalog> <destinationcatalog>

bareos-dbcopy copies the data of all tables from the Bareos catalog <sourcecatalog> into the Bareos catalog <destinationcatalog>.

bareos-dbcopy reads the Bareos director configuration from /etc/bareos to load the catalog settings. A configuration resource for both <sourcecatalog> and <destinationcatalog> must exist.

The main use of bareos-dbcopy is to migrate an existing Bareos installation from a mysql/mariadb catalog to postgresql.

bareos-dbcopy only copies the data over to the new catalog. The <destinationcatalog> needs to be created and initialized with the correct tables and columns via create_bareos_database, make_bareos_tables and grant_bareos_privileges. Both sourcecatalog and destinationcatalog need to have the same database scheme version, i.e. have the schema from the identical Bareos version..

-c <configuration directory>
bareos-dbcopy reads the director configuration from the given <configuration directory> instead of /etc/bareos

-e
Examine and verify every single data record of each table after copying. This can take a very long time. Without -e, only the first and last record of each database is examined and verified.

-?
Prints usage information

Bareos GmbH & Co. KG

2019 Bareos GmbH & Co. KG and others.
January 28, 2020

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.