1
This commit is contained in:
parent
30c2024c1b
commit
13bad49747
3
hlna.py
3
hlna.py
@ -101,7 +101,7 @@ def backup(g):
|
||||
source = [f"{dir_config}"]
|
||||
backup_path = input("Введите конечный путь для бэкапа, по умолчанию ******")
|
||||
if not backup_path:
|
||||
backup_path = "/home/a11"
|
||||
backup_path = f"{dir_server_ark}Backups"
|
||||
|
||||
today = backup_path + os.sep + time.strftime('%Y_%m_%d')
|
||||
target = f"{backup_path}/" + g + "_backup-" + time.strftime('%H_%M_%S') + '.zip'
|
||||
@ -994,6 +994,7 @@ def zero(x=""):
|
||||
"""Потом пригодится (нет)"""
|
||||
return ""
|
||||
|
||||
|
||||
if not os.path.exists(dir_config + "config"):
|
||||
dir_server = path_server()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user