Check out the LimeSurvey source code on GitHub!

Backup manuak

More
4 years 9 months ago #79786 by id_wahyu
Good day my LS masters.

Can anyone please help by showing me how to do manual backup [by literally copy paste the folders] of the database and the script itself?

We are using UBUNTU server v11 and LS 1.91.
Which directories I need to backup in this case?
Many thanks in advance.

id_wahyu

Please Log in to join the conversation.

More
4 years 9 months ago #79797 by DenisChenu
Hello,

There are a lot of backup script for linux server in the web.

To backup the directory:
cp -Rf /var/www/limesurvey /home/data/backup/
for example

To backup db, see mysqldump

And use crontab with a sh script to do the job.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 9 months ago #79832 by id_wahyu
Thanks Denis, will go thru the link.

Please Log in to join the conversation.

More
4 years 9 months ago #79838 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
3 years 2 months ago #102533 by id_wahyu
Hi Denis.
Could you please let me know how to restore back the dump-sql (result of "backup entire database") ?
Do we need to do it manually (out of Limesurvey menu)?

Many thanks in advance.

Please Log in to join the conversation.

More
3 years 2 months ago #102557 by DenisChenu
Yes, you need to do manually ...

You can use phpMyAdmin for example.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: id_wahyu

Please Log in to join the conversation.

More
11 months 21 hours ago #133450 by id_wahyu
Hi Denis.
I did the backup by LS205 (Main Server), and got the dump_sql [with few number of surveys active and inactive].
And I managed to import that dump_sql into backup-server (same LS version, with no survey create yet/empty) using phpmyadmin. And can see from table list name as lime_old_survey_XXXX.
But I can't see any Survey from the survey-list. How to re-call the survey back?

Did I miss any step in the restore process? Please let me know.

Many thanks in advance.

Iwan

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form