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 """