Add info for backup retrieval, add drill
This commit is contained in:
24
doc/sojus.md
24
doc/sojus.md
@@ -1,4 +1,28 @@
|
|||||||
# sojus
|
# 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
|
## create big backup locally
|
||||||
```shell
|
```shell
|
||||||
cryptsetup luksOpen /dev/disk/by-id/ata-<ID>-part1 ata-<ID>-part1
|
cryptsetup luksOpen /dev/disk/by-id/ata-<ID>-part1 ata-<ID>-part1
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ common_basic_packages:
|
|||||||
- git
|
- git
|
||||||
- htop
|
- htop
|
||||||
- logrotate
|
- logrotate
|
||||||
|
- ldns
|
||||||
- ncdu
|
- ncdu
|
||||||
- rsync
|
- rsync
|
||||||
- strace
|
- strace
|
||||||
|
|||||||
Reference in New Issue
Block a user