mirror of https://github.com/zulip/zulip.git
restore-backup: Only extract /etc/zulip once.
This is already handled in the earlier block; there is no need to extract it twice.
This commit is contained in:
parent
1b57669771
commit
d8ae270899
|
@ -40,7 +40,6 @@ def restore_backup(tarball_file: IO[bytes]) -> None:
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
paths = [
|
paths = [
|
||||||
("settings", "/etc/zulip"),
|
|
||||||
# zproject will only be present for development environment backups.
|
# zproject will only be present for development environment backups.
|
||||||
("zproject", os.path.join(settings.DEPLOY_ROOT, "zproject")),
|
("zproject", os.path.join(settings.DEPLOY_ROOT, "zproject")),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue