From 82821603f1c70f0687802adddb6754a53c88a5ea Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Mon, 25 Oct 2021 21:23:42 +0300 Subject: [PATCH] Fixed restic entrypoint command --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 80d700d..3dca1f4 100755 --- a/main.py +++ b/main.py @@ -480,7 +480,7 @@ def EnableOcserv(): def ListAllBackups(): backupListingProcessDescriptor = subprocess.Popen(["restic", "-r", "b2:" + request.headers.get("X-Repository-Name") + ":/sfbackup", - "snapshots", "--password-file", "/var/lib/restic/rpass", "--json" + "snapshots", "list", "--password-file", "/var/lib/restic/rpass", "--json" ]) snapshotsList = backupListingProcessDescriptor.communicate()[0]