aboutsummaryrefslogtreecommitdiffstats
path: root/backup_DB.py
blob: fb4d9a1fb9b58864e67586171c2cfeb5f4bd8cb6 (plain) (blame)
1
2
3
4
5
6
import shutil
import os

def backup_DB():
    os.makedirs("backup", exist_ok=True)
    shutil.move("justice.db", "backup/justice.db")