Implemented general backup script

This commit is contained in:
Kevin Veen-Birkenbach 2019-12-03 13:55:53 +01:00
parent 6ce2ab8a31
commit 022269c189
2 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,7 @@ $HOME/Documents/certificates/ | Contains certificates to authenticate via [certi
| Order | Description | | Order | Description |
|---|---| |---|---|
| ```bash ./scripts/system-setup.sh``` | Setup the customized software on the system on which you execute it. | | ```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/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/export-data-to-system.sh``` | Export data to the host system.|
| ```bash ./scripts/unlock.sh``` | Unlock the stored data.| | ```bash ./scripts/unlock.sh``` | Unlock the stored data.|

6
scripts/backup.sh Normal file
View File

@ -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"