Refactored full code

This commit is contained in:
2020-12-26 16:31:47 +01:00
parent 7594f5047d
commit 996c9ba2f0
3 changed files with 19 additions and 21 deletions

View File

@@ -1,7 +1,14 @@
# docker-volume-backup
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](./LICENSE.txt) [![Travis CI](https://travis-ci.org/kevinveenbirkenbach/docker-volume-backup.svg?branch=master)](https://travis-ci.org/kevinveenbirkenbach/docker-volume-backup)
## goal
This script backups all docker-volumes with the help of rsync.
## scheme
It is part of the following scheme:
![backup scheme](https://www.veen.world/wp-content/uploads/2020/12/server-backup-768x567.jpg)
Further information you will find [in this blog post](https://www.veen.world/2020/12/26/how-i-backup-dedicated-root-servers/).
## Backup
Execute:
@@ -9,12 +16,6 @@ Execute:
./docker-volume-backup.sh
```
Optional a user for the backup can be defined:
```bash
./docker-volume-backup.sh administrator
```
## Test
Delete the volume.