mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
In docker-zulip installs, /etc/zulip/zulip.conf, /etc/zulip/zulip-secrets.conf, and /home/zulip/uploads are all symlinks into the `/data` directory which is mounted as a Docker Volume. By default, `tar` does not dereference symlinks, leading to backups that are missing these critical pieces. Add `-h` to the `tar` invocation, to follow symlinks, so backups in Docker have all of their pieces. Since none of the contents of the backup intentionally use symlinks, this is safe. Co-authored-by: Alex Vandiver <alexmv@zulip.com>
5.7 KiB
5.7 KiB