From 022269c189eceeb46cc328bbaf21178bf47d8ade Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 3 Dec 2019 13:55:53 +0100 Subject: [PATCH] Implemented general backup script --- README.md | 1 + scripts/backup.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 scripts/backup.sh diff --git a/README.md b/README.md index 502a88a..794dee6 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ $HOME/Documents/certificates/ | Contains certificates to authenticate via [certi | Order | Description | |---|---| | ```bash ./scripts/system-setup.sh``` | Setup the customized software on the system on which you execute it. | +| ```bash ./scripts/backup.sh``` | Executes all setup scripts. | | ```bash ./scripts/import-data-from-system.sh``` | Import data from the host system.| | ```bash ./scripts/export-data-to-system.sh``` | Export data to the host system.| | ```bash ./scripts/unlock.sh``` | Unlock the stored data.| diff --git a/scripts/backup.sh b/scripts/backup.sh new file mode 100644 index 0000000..13ce94d --- /dev/null +++ b/scripts/backup.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Executes all scripts which are necessary to backup data +# @author Kevin Veen-Birkenbach [aka. Frantz] +source "$(dirname "$(readlink -f "${0}")")/base.sh" +bash "$SCRIPT_PATH/import-data-from-system.sh" +bash "$SCRIPT_PATH/push-local-repositories.sh"