Initial commit - clean repository without history

This commit is contained in:
2026-03-14 00:16:06 +00:00
commit 0877e07e76
13 changed files with 526 additions and 0 deletions

16
init.py Normal file
View File

@@ -0,0 +1,16 @@
#### SELECT YOUR ENVIRONMENT
import os
env = "local"
if env == "prod":
ROOT_DIR_APP = "/opt/sld-backups/"
ROOT_DIR_BACKUPS = "/home/backups/backups_root/Daily_File_Backups/"
elif env == "local":
ROOT_DIR_APP = "/home/sld-admin/Scrivania/backups_script/"
ROOT_DIR_BACKUPS = os.path.join(ROOT_DIR_APP, "backups/Daily_File_Backups/")
elif env == "local2":
ROOT_DIR_APP = "/home/simo-positive/Desktop/backups_script/"
ROOT_DIR_BACKUPS = os.path.join(ROOT_DIR_APP, "backups/Daily_File_Backups/")
else:
import sys
sys.exit("Error, Environment not exists!")