From bb4169cd8cc1df60d74c10d4718b376230b30bb9 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 7 Aug 2026 14:30:14 -0400 Subject: [PATCH] backups: keep the seed script's docstring site-neutral The import script is bundled in a multi-site product, so its usage examples should not name one site's share layout or a dev box path. --- scripts/import_ntlars_backups.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/import_ntlars_backups.py b/scripts/import_ntlars_backups.py index 11177e5..95b69aa 100644 --- a/scripts/import_ntlars_backups.py +++ b/scripts/import_ntlars_backups.py @@ -1,10 +1,10 @@ #!/usr/bin/env python """Seed backup history from a directory of existing NTLARS .reg files. -The share already holds ~150 per-machine backups collected by hand over years -(S:\\DT\\RegFiles\\Dnc\\Backup Copies\\.reg and the pxe-images -mirrors). Importing them gives every machine a baseline revision on day one, -so the feature is useful before the fleet collector has run even once. +A site's file share typically already holds per-machine backups collected by +hand over years, named by machine number. Importing them gives every machine a +baseline revision on day one, so the feature is useful before the fleet +collector has run even once. Files are keyed by machine number in the FILENAME, which is how the share names them. The MachineNo embedded in the file is compared against it and any @@ -14,7 +14,7 @@ baseline. Dry run by default. Nothing is written without --commit. - venv/bin/python scripts/import_ntlars_backups.py /home/camp/pxe-images/ntlars-deploy + venv/bin/python scripts/import_ntlars_backups.py /path/to/regs venv/bin/python scripts/import_ntlars_backups.py /path/to/regs --commit """