Hi Jose,
I followed your suggestion, I reimported again all the metadata (581) of course after a complete erase.
I used 'Metadata import' uploading the backup.zip as mef file.
Unfortunately, my metadata has not the category again as well as the Owner, I wonder if I had to choose (check the box)
'Assign ti current catalogue' to maintain those information on importing.
Regards
Eugenio
From: jocook@anonymised.com
Date: Tue, 4 Nov 2014 17:46:25 +0000
Subject: Re: [GeoNetwork-users] batch import
To: frippe12573@anonymised.com
CC: jose.garcia@anonymised.com; geonetwork-users@lists.sourceforge.net
Hi Eugenio,
I had better luck using the normal import, NOT the batch import. You can then choose the zip file or mef file from your local machine, not the server. This correctly brought in categories, groups and owners.
Jo
On Tue, Nov 4, 2014 at 5:44 PM, Eugenio Trumpy <frippe12573@anonymised.com> wrote:
Hi Jose,
eventually I was able to restore all the metadata, but the categories were not filled-in.
I mean I have al the metadata but the original category, owner and group has not been maintained.
I have the metadata belonging to the admin user, no group and no categories assigned.
I used the zip file renamed in mef, and I used the batch import function.
Let me know where I was wrong, or any hints to perform this action?
Thanks and regards
Eugenio
From: frippe12573@anonymised.com
To: jose.garcia@anonymised.com; jocook@anonymised.com
CC: geonetwork-users@lists.sourceforge.net
Subject: RE: [GeoNetwork-users] batch import
Date: Tue, 4 Nov 2014 12:44:26 +0100
Dear Jose Garcìa,
I followed your suggestion but probably I'm missing something.
I uploaded the archive_metadata.zip on my geonetwork server,
i renamed the zip file in mef, but nothing happens.
I hope the categories will be assigned in the import since I reproduced the same categories in the new instance.
Actually inside the zip file I have a lot of folders, named with a unique code, like '0a4fa121-4efe-48bd-b2e8-1a1ddb8bb33d',
where therein a info.xml, containing the info of the groupship and the categories belonging, then there is another folder containing
the metadata.xml.
What am I missing?
Regards
E.
From: jose.garcia@anonymised.com
Date: Tue, 4 Nov 2014 12:17:09 +0100
Subject: Re: [GeoNetwork-users] batch import
To: jocook@anonymised.com
CC: frippe12573@anonymised.com; geonetwork-users@lists.sourceforge.net
Hi Eugenio
In batch import you need to provide the folder path (Folder should be in the same server as GeoNetwork). You can put there the file, but make sure to rename it to mef instead of zip, I think otherwise the import doesn't process the file.
The categories I guess are assigned from the information in the mef file.
At the end of the batch process if you have all metadata in one mef file, you'll see a message that has been imported 1 metadata. The message is not very accurate, informs about the number of files imported, but not about the real number of metadata records imported. But querying the catalog should have imported all the metadata.
Regards,Jose García
On Tue, Nov 4, 2014 at 11:58 AM, Jo Cook <jocook@anonymised.com> wrote:
Hi Eugenio,
I'm doing the same thing at the moment. I have had more luck using the
Geonetwork harvester, which does bring categories across- I have an email
to the list about how to preserve ownership and groupownership though.
Jo
On Tue, Nov 4, 2014 at 10:50 AM, Eugenio Trumpy <frippe12573@anonymised.com>
wrote:
Hi all,
I installed a new geonetwork version (2.10.3).
I exported in the old instance all metadata as zip.
I would like to restore in one-shot all the metadata in the new geonetwork
maintaining the categories, is it possible?
In the batch import I don't see the zip as possibility for one file, is
anyway allowed? and hence is it possible to assign
the categories automatically on import? (of course I created the same
category in the new GN instance).
Regards
Eugenio
------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/>
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.
------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe Netherlandshttp://GeoCat.net
--
Jo Cook
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18 7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT no. 864201149.