From 6fb3379c43826f8bd62815170ff589ec642be2ce Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Tue, 8 Nov 2022 21:23:45 +0000 Subject: [PATCH] Add new file --- podman-framadate/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 podman-framadate/README.md diff --git a/podman-framadate/README.md b/podman-framadate/README.md new file mode 100644 index 0000000..1ba88ad --- /dev/null +++ b/podman-framadate/README.md @@ -0,0 +1,17 @@ +# Framadate +## Restauration +À partir d'une copie des home utilisateur (volumes podman compris) dans `/backup` : +* En tant qu'utilisateur `podman-framadate` : +``` +podman volume create podman-framadate_framadate-db +``` +* En tant que `root` : +``` +rsync -a /backup/home/podman-framadate/.local/share/containers/storage/volumes/podman-framadate_framadate-db/_data ~podman-framadate/.local/share/containers/storage/volumes/podman-framadate_framadate-db/ +chown -R podman-framadate:podman-users ~podman-framadate/.local/share/containers/storage/volumes/podman-framadate_framadate-db/_data/ +``` +* En tant qu'utilisateur `podman-framadate` : +``` +podman unshare chown -R 999:999 ~/.local/share/containers/storage/volumes/podman-framadate_framadate-db/_data +``` +* Exporter les variables d'environnement et procéder à l'installation normale (10_install.sh)