lehrkraefte:blc:informatik:glf22:backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lehrkraefte:blc:informatik:glf22:backup [2022/11/30 10:24]
Ivo Blöchliger [Verankerung in der Windows Aufgabenplanung]
lehrkraefte:blc:informatik:glf22:backup [2022/11/30 10:30] (current)
Ivo Blöchliger [Automatisiertes Backup]
Line 97: Line 97:
 Dieses Programm soll jeweils automatisch beim Anmelden gestartet werden. Dieses Programm soll jeweils automatisch beim Anmelden gestartet werden.
  
-Das python-Programm sieht wie folgt aus:+Das python-Programm sieht wie folgt aus (die beiden Pfade müssen wohl noch angepasst werden, siehe die Screencasts unten)
 <code python autobackup.py> <code python autobackup.py>
 import os import os
Line 103: Line 103:
 import time import time
  
-gitbash = r"C:\Program Files\Git\git-bash.exe" +gitbash = r"C:\Program Files\Git\git-bash.exe"   # Eventuell anpassen! 
-backupscript = r"D:\stickbackup2.bash"+backupscript = r"D:\stickbackup2.bash"           # Eventuell anpassen!
  
 while True: while True:
  • lehrkraefte/blc/informatik/glf22/backup.1669800295.txt.gz
  • Last modified: 2022/11/30 10:24
  • by Ivo Blöchliger