diff --git a/.gitignore b/.gitignore index 1d77a72..1a0af04 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ __pycache__/ # Distribution / packaging .Python .venv +.winenv env/ build/ develop-eggs/ diff --git a/FileHistory-Core.evtx b/FileHistory-Core.evtx new file mode 100644 index 0000000..094d953 Binary files /dev/null and b/FileHistory-Core.evtx differ diff --git a/FileHistory-Engine.evtx b/FileHistory-Engine.evtx new file mode 100644 index 0000000..a7352f6 Binary files /dev/null and b/FileHistory-Engine.evtx differ diff --git a/run.py b/run.py new file mode 100644 index 0000000..0565dd6 --- /dev/null +++ b/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) \ No newline at end of file