Add info for backup retrieval, add drill

This commit is contained in:
Daniel A. Maierhofer
2018-10-27 00:37:54 +02:00
parent 9a8eb1f06c
commit 3a83f9b406
2 changed files with 25 additions and 0 deletions

View File

@@ -1,4 +1,28 @@
# sojus
## test if backups work
```shell
cd /home/backup/repos/
borg list <repo>/system
borg check -v <repo>/system
```
## test if backups work from remote
```shell
/etc/cron.d/borgbackup_system_create_sojus
cat /var/log/borg/system_create_sojus.lastlog
```
## retrieve files from backup
```shell
cd /home/backup/repos/
borg mount <repo>/system /mnt/
```
retrieve backup data from /mnt
```shell
borg umount /mnt
```
## create big backup locally
```shell
cryptsetup luksOpen /dev/disk/by-id/ata-<ID>-part1 ata-<ID>-part1

View File

@@ -8,6 +8,7 @@ common_basic_packages:
- git
- htop
- logrotate
- ldns
- ncdu
- rsync
- strace