Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Migrating survey changes between instances

  • vvvfee888
  • vvvfee888's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago - 3 years 2 months ago #209998 by vvvfee888
Hi,

I have two instances of LimeSurvey installed:
1. Live
2. Dev

I've exported my survey from the "Live" instance (as survey.lss) and had it imported into the "Dev" instance.
On the imported version of the survey (on the "Dev" instance) I've added in a few new questions.

Is there a way to import/sync these new questions into the survey on the "Live" instance (via a plugin / MySQL - PHP scripts or otherwise)?
Or my only respite is - to recreate the (new questions) on the Live version?


Thanks.
Last edit: 3 years 2 months ago by vvvfee888.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210009 by holch
Replied by holch on topic Migrating survey changes between instances
You can only export complete surveys, question groups or questions. There is no "synchronisation".

But what you can do is to export the added questions as a question group as lsg file (if they are in a new question group) or each question as .lsq files .

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210010 by holch
Replied by holch on topic Migrating survey changes between instances
Or you simply just export the complete survey from the DEV instance, import it into the LIVE instance and delete the old survey.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • vvvfee888
  • vvvfee888's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #210014 by vvvfee888
Replied by vvvfee888 on topic Migrating survey changes between instances
Thanks, holch :)

I would still want to maintain the survey links (survey id), Tokens, and historical data to the survey.

Would this solution (to delete the existing one on the PROD instance and import the DEV one) insure the above?

Let me know.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210024 by Joffm
Replied by Joffm on topic Migrating survey changes between instances
What do you mean by "historical data"?

And when copying a survey you have the option to select your preferred ID.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210027 by DenisChenu
Replied by DenisChenu on topic Migrating survey changes between instances
Else : check LSA export/import.

Remind to delete old survey before import

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #210028 by DenisChenu
Replied by DenisChenu on topic Migrating survey changes between instances
Another things : to have a real DB mirro : use DB export/import system (NOT RELATED WITH LIMESURVEY).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose