Hello,

I finished hopefully the final major gap with our new FreeIPA wiki
infrastructure - a regular backup.

I used our existing AWS infrastructure to come up with a shell script
[1] and AWS Lambda function triggering it [2] periodically (daily), to
store backups to our S3 storage (database dump and user images).

I originally hoped I can come up with something written purely in Python
and thus without a need for a VM running custom shell script, but I
could not make the OpenShift Python API port forwarding working and
wanted to use "mysqldump" anyway. So shell script it is, for now.

Questions or feedback welcome!

[1]
https://github.com/freeipa/freeipa-wiki/blob/master/tools/backup/freeipa-org-wiki-backup.sh
[2]
https://github.com/freeipa/freeipa-wiki/blob/master/tools/backup/lambda_function.py

-- 
Martin Kosek <mko...@redhat.com>
Manager, Software Engineering - Identity Management Team
Red Hat, Inc.
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to