Backup Docker Container for Limesurvey
This is a simple docker container which offers an easy way to export lsa archives from Limesurvey to a folder of your choice.
Usage
You only need to specify hostname, username and password. All surveys will be exported in the mounted folder /data.
docker run --rm -it -v /folder/to/backup:/data \
-e timestamp="" \
-e LS_URL="" \
-e username="" \
-e password="" ghcr.io/legeiger/backup_limesurvey_archive:v2
timestmap should be string containing current date and time like 2022-03-01_12:03:34
.
LS URL should be the whole FQDN of the server with leading https:// like https://account.limesurvey.org/de/
.
push new image
docker build -t backup_limesurvey_archive:v3 .
echo $PAT | docker login ghcr.io --username legeiger --password-stdin
docker tag backup_limesurvey_archive:v3 ghcr.io/legeiger/backup_limesurvey_archive:v3
docker push ghcr.io/legeiger/backup_limesurvey_archive:v3