Gossamer Forum
Home : Products : Links 2.0 : Customization :

Transfer Data

Quote Reply
Transfer Data
How does one transfer the data from a links 1.1 database to a 2.0 database without having to re-enter the data? I tried to copy some links folders over, but nothing happened.

Thank You
Quote Reply
Re: Transfer Data In reply to
1. Copy your v1 links.db to the data directory of v2.

2. chmod the data directory to 777.

3. Copy the script, upgrade.pl, to the data directory and execute it.

4. The upgrade.pl script will create a file, in the data directory, called links2.db. After the script runs, check this file to be sure it is okay.

5. Rename links.db to links_org.db or something similar.

6. Rename links2.db to links.db. You now have a functional links.db compatible with Links v2.0.

7. When you are satisfied that all is well, you can delete the links_org.db.

8. chmod your Links data directory back to 755 (not necessary if your admin directory is password protected).

I hope this answers your question.