Commit 908074ce authored by Björn's avatar Björn

adding new documentation

parent 0b38d8fd
......@@ -59,7 +59,20 @@ Show Files in Backup
Restore Backup
```bash
./backup.py restore --d <directory>
./backup.py restore --d <path-to-restore>
```
Restore Backup
```bash
./backup.py restore --d <path-to-restore> --t <time>
```
Restore Backup single file or directory. Beware if file or directory exists you
need to use --force to overwrite.
```bash
./backup.py restore --d <path-to-restore> --t <time> --file-to-restore <path-in-backup>
```
Restore Backup
......@@ -70,15 +83,15 @@ Restore Backup
**[default]**
**sources** files and directories to backup, separated with ","
**exclude** files and directories to ignore, separated with ","
**remote_host** <username>@<host> this script only supports rsync
**remote_target** directory on server to save backup
**gpg_key_recipient** email of gpg_key
**gpg_passphrase** passphrase for gpg_key
**remove_older_than** s, m, h, D, W, M, Y (seconds, minutes, hours, days, weeks, months, years)
**remove_all_but_n_full** count for backups
**remove_all_inc_of_but_n_full** count for backups
**sources** files and directories to backup, separated with ","
**exclude** files and directories to ignore, separated with ","
**remote_host** <username>@<host> this script only supports rsync
**remote_target** directory on server to save backup
**gpg_key_recipient** email of gpg_key
**gpg_passphrase** passphrase for gpg_key
**remove_older_than** s, m, h, D, W, M, Y (seconds, minutes, hours, days, weeks, months, years)
**remove_all_but_n_full** count for backups
**remove_all_inc_of_but_n_full** count for backups
### Storagebox
......@@ -115,9 +128,9 @@ password=
temp=
```
**username** username for mysql-user
**password** password for mysql-user
**temp** path to export sql-files
**username** username for mysql-user
**password** password for mysql-user
**temp** path to export sql-files
## GPG-Keys
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment