automagically document the windows backup process
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
411 B

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)