legeiger / backup_limesurvey_archive

Survey from Limesurvey exported to lsa and lss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry

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

About

Survey from Limesurvey exported to lsa and lss


Languages

Language:Python 94.5%Language:Dockerfile 5.5%