libervia-backend/libervia/backend/tools/backup
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi 86a91b5850 tools (backup): add backup/restore:
Add an offline backup/restore engine in `tools.backup`:

- format based on XEP-0227 (pie), extended with Libervia sections
- handle several data types (params, private, roster, pep , gpg, files and db)
- per profile export/import and global handlers
- a manifest is used to have metadata and checksums
- full database snapshot/restore with the `db` type
- sqla: add `get_db_url`
- tools.common.utils: add `is_safe_relpath` and `is_process_running`

rel 480
2026-09-15 11:48:11 +02:00
..
__init__.py tools (backup): add backup/restore: 2026-09-15 11:48:11 +02:00
core.py tools (backup): add backup/restore: 2026-09-15 11:48:11 +02:00
gpg.py tools (backup): add backup/restore: 2026-09-15 11:48:11 +02:00
handlers.py tools (backup): add backup/restore: 2026-09-15 11:48:11 +02:00
models.py tools (backup): add backup/restore: 2026-09-15 11:48:11 +02:00
pie.py tools (backup): add backup/restore: 2026-09-15 11:48:11 +02:00
xep_0227.py tools (backup): add backup/restore: 2026-09-15 11:48:11 +02:00