Browse Source

added example logs

main
Holger Frey 4 years ago
parent
commit
ad5227d549
  1. 1
      .gitignore
  2. BIN
      FileHistory-Core.evtx
  3. BIN
      FileHistory-Engine.evtx
  4. 10
      run.py

1
.gitignore vendored

@ -10,6 +10,7 @@ __pycache__/
# Distribution / packaging # Distribution / packaging
.Python .Python
.venv .venv
.winenv
env/ env/
build/ build/
develop-eggs/ develop-eggs/

BIN
FileHistory-Core.evtx

Binary file not shown.

BIN
FileHistory-Engine.evtx

Binary file not shown.

10
run.py

@ -0,0 +1,10 @@
from sg_backup_doku import get_last_backup_time, document_last_backup_time
from pathlib import Path
WINDOWS_BACKUP_CORE_EXAMPLE = "FileHistory-Core.evtx"
DOCUMENTATION_FILE = "/mnt/g/.shortcut-targets-by-id/1tt01qYoEa6M_RUjfu0RB8EKpG-w_1Luz/Backup/Backup Log Holgi.txt"
last_backup = get_last_backup_time(Path(WINDOWS_BACKUP_CORE_EXAMPLE))
document_last_backup_time(DOCUMENTATION_FILE, last_backup)
Loading…
Cancel
Save