docs: add enterprise code channel offline install guide
This commit is contained in:
parent
5615453e4e
commit
31dc1cccb0
7 changed files with 144 additions and 3 deletions
|
|
@ -77,7 +77,7 @@ def main() -> None:
|
|||
if replacements > 1:
|
||||
raise RuntimeError("multiple legacy /code/ blocks found")
|
||||
|
||||
stamp = datetime.datetime.now(datetime.UTC).strftime("%Y%m%dT%H%M%SZ")
|
||||
stamp = datetime.datetime.now(datetime.timezone.utc).strftime("%Y%m%dT%H%M%SZ")
|
||||
backup_root = pathlib.Path("/var/backups/guanghu/front-door") / stamp
|
||||
backup_root.mkdir(parents=True, mode=0o700)
|
||||
shutil.copy2(SITE_CONFIG, backup_root / "guanghulab.nginx")
|
||||
|
|
|
|||
Loading…
Reference in a new issue