Import records from older data backup

  • Asked
  • Active
  • Viewed 2963 times
0

Dear all, I want add an older data-set into the new data-set; the data structure of the old survey has been updated to exactly the same data structure; only the survey names are different: FAILED Packaged survey uri (http://www.openforis.org/idm/biotis) is different from the expected one (http://www.openforis.org/idm/mabiotis). Can somebody help me here? Joseph

1

Accepted answer

Dear Joseph,

if the survey names do not match, you can change the survey name in your old backup file. Well, this is a bit laborious but follow these steps:

1) copy your xx.collect-backup -> yy.collect-backup

2) rename yy.collect-backup -> yy.collect-backup.zip

3) unzip (yy.collect-backup.zip)

4) open idml.xml in NotePad++ and change survey name at line <url> to match with new name, and then save this.

5) open info.properties in NotePad++ and change similarly survey name at 2 lines (lines starting with texts 'survey_url' and 'survey_name'). Save the file.

6) Unzip all these 2 files + folders that were in the original zip.

7) Rename zz.zip -> zz.collect-backup

8) Import into Collect.

This method works also with collect-data files.

regards, Lauri

0

Accepted answer

Perfect Lauri, i could update all old records in the new database! As I made 'Field-date'as a 2nd key besides the Object-ID, i have now several 'multitemporal'series for monitoring analysis purpose (but that will be another question :-). Thanks a lot, Joseph.

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.