From 3b8652a97a9d0e891a3cfa775e645d71601c5f5a Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Mon, 27 Feb 2023 22:39:25 +0100 Subject: [PATCH] add script restore --- roles/deploy-web/files/scw-restore.sh | 29 +++++++++++++++++++++++++++ roles/deploy-web/tasks/backup.yml | 9 ++++++--- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 roles/deploy-web/files/scw-restore.sh diff --git a/roles/deploy-web/files/scw-restore.sh b/roles/deploy-web/files/scw-restore.sh new file mode 100644 index 0000000..4306849 --- /dev/null +++ b/roles/deploy-web/files/scw-restore.sh @@ -0,0 +1,29 @@ +#!/bin/bash + + if [ $# -lt 3 ]; then + echo -e "Usage $0