Skip to content

Commit

Permalink
Backup and restore README section.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Oct 13, 2023
1 parent 5a7bb35 commit 9e4d8cd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,22 @@ to upgrade the configuration and data. Of course, keeping backup
of the data directory for cases when the upgrade process fails
is recommended.

## Backup and restore

Speaking of backups: the FreeIPA server container stores all
configuration, data, and logs in one volume mounted at `/data`.
So instead of using `ipa-backup` and `ipa-restore`, the easiest way
to backup the container is to stop it and just copy the content of
the directory mounted to `/data`.

If you transfer that backup to different machine and you've been
using setup with user namespace remapping (rootless containers),
check that the `/etc/subuid` and `/etc/subgid` values used by the
docker/podman match on both machines.

You then restore the server by running a new container with a copy
of that backup mounted to `/data`.

## IPA-enrolled client in Docker

There are multiple `*-client` branches named after OS they are
Expand Down

0 comments on commit 9e4d8cd

Please sign in to comment.