[GeoNetwork-devel] GeoNetwork backup and restore procedure

Hi all,

I need some advice about backup and restore procedure for GeoNetwork.
I saw that backup page in official guide is blank.

thanks
Federico

Hi Federico

You need to backup the database, check the related documentation to the database you use and the data directory. You can find documentation about the data directory in http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/customizing-data-directory.html?highlight=data%20directory

By default it’s stored in geonetwork/WEB-INF/data, but is recommended to configure to an external folder. Possibly a configuration like this is the best (from http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/customizing-data-directory.html?highlight=data%20directory#advanced-data-directory-configuration):

-Dgeonetwork.dir=/data/catalogue
-Dgeonetwork.schema.dir=/app/tomcat/webapps/geonetwork/WEB-INF/data/config/schema_plugins

Use your custom paths. But this way, all the data directory is moved to a custom folder, while the metadata schemas are taken from the deployment, that is usually what you’ll want when upgrading to newer versions. The exception to this can be if you have custom changes in the metadata schemas.

If you have any customisation to the web UI, you’ll need to backup also.

Regards,
Jose García

···

On Wed, Nov 23, 2016 at 12:38 PM, Federico Montinaro <federico.montinaro@anonymised.com> wrote:

Hi all,

I need some advice about backup and restore procedure for GeoNetwork.
I saw that backup page in official guide is blank.

thanks

Federico



GeoNetwork-devel mailing list
GeoNetwork-devel@…537…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

HI Jose!

Thank you Jose,

···

2016-11-23 14:03 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Federico

You need to backup the database, check the related documentation to the database you use and the data directory. You can find documentation about the data directory in http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/customizing-data-directory.html?highlight=data%20directory

By default it’s stored in geonetwork/WEB-INF/data, but is recommended to configure to an external folder. Possibly a configuration like this is the best (from http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/customizing-data-directory.html?highlight=data%20directory#advanced-data-directory-configuration):

-Dgeonetwork.dir=/data/catalogue
-Dgeonetwork.schema.dir=/app/tomcat/webapps/geonetwork/WEB-INF/data/config/schema_plugins

Use your custom paths. But this way, all the data directory is moved to a custom folder, while the metadata schemas are taken from the deployment, that is usually what you’ll want when upgrading to newer versions. The exception to this can be if you have custom changes in the metadata schemas.

If you have any customisation to the web UI, you’ll need to backup also.

Regards,
Jose García

On Wed, Nov 23, 2016 at 12:38 PM, Federico Montinaro <federico.montinaro@anonymised.com> wrote:

Hi all,

I need some advice about backup and restore procedure for GeoNetwork.
I saw that backup page in official guide is blank.

thanks

Federico



GeoNetwork-devel mailing list
GeoNetwork-devel@anonymised.comorge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Federico Montinaro
+39 329 432 4062 | federico.montinaro@anonymised.com

Hi Jose,

it’s almost clear now

Thank you

···

2016-11-23 14:03 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Federico

You need to backup the database, check the related documentation to the database you use and the data directory. You can find documentation about the data directory in http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/customizing-data-directory.html?highlight=data%20directory

By default it’s stored in geonetwork/WEB-INF/data, but is recommended to configure to an external folder. Possibly a configuration like this is the best (from http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/customizing-data-directory.html?highlight=data%20directory#advanced-data-directory-configuration):

-Dgeonetwork.dir=/data/catalogue
-Dgeonetwork.schema.dir=/app/tomcat/webapps/geonetwork/WEB-INF/data/config/schema_plugins

Use your custom paths. But this way, all the data directory is moved to a custom folder, while the metadata schemas are taken from the deployment, that is usually what you’ll want when upgrading to newer versions. The exception to this can be if you have custom changes in the metadata schemas.

If you have any customisation to the web UI, you’ll need to backup also.

Regards,
Jose García

On Wed, Nov 23, 2016 at 12:38 PM, Federico Montinaro <federico.montinaro@anonymised.com> wrote:

Hi all,

I need some advice about backup and restore procedure for GeoNetwork.
I saw that backup page in official guide is blank.

thanks

Federico



GeoNetwork-devel mailing list
GeoNetwork-devel@anonymised.comorge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Federico Montinaro
+39 329 432 4062 | federico.montinaro@anonymised.com