Backup-Skripte mit Python 3.9 kompatibel machen
This commit is contained in:
parent
a4cc8fd857
commit
bdd3a86edb
3 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,8 @@
|
|||
#
|
||||
# Die Zugangsdaten werden aus ../motorradig/.credentials gelesen.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import datetime
|
||||
import ftplib
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
# python3 tools/dump_motorradig.py
|
||||
# python3 tools/dump_motorradig.py --output /tmp/opencode
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import datetime
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@
|
|||
# # Datenbank vorher komplett droppen und neu anlegen
|
||||
# python3 tools/restore_motorradig.py backups/motorradig-backup-<Zeitstempel> --db-only --drop-db
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import ftplib
|
||||
import glob
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue