From cb9e2ceb68c8528edbd1c253e56aa52f5c5e7e08 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Thu, 3 Feb 2022 11:11:51 +0100 Subject: [PATCH] Fix backup date format --- truetool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truetool/__init__.py b/truetool/__init__.py index 5b921f62..cb06dc45 100644 --- a/truetool/__init__.py +++ b/truetool/__init__.py @@ -169,7 +169,7 @@ def apps_backup(): print("Running App Backup...\n") now = datetime.now() - command = "app kubernetes backup_chart_releases backup_name=TrueTool_"+now.strftime("%Y_%d_%m_%H_%M_%S") + command = "app kubernetes backup_chart_releases backup_name=TrueTool_"+now.strftime("%Y_%m_%d_%H_%M_%S") process = subprocess.Popen(["cli", "-c", command], stdout=subprocess.PIPE) while process.poll() is None: lines = process.stdout.readline()