Add packages

This commit is contained in:
Daniel A. Maierhofer
2018-09-19 17:58:52 +02:00
parent 877520a057
commit 44e37beb63
3 changed files with 20 additions and 3 deletions

15
doc/sojus.md Normal file
View File

@@ -0,0 +1,15 @@
# sojus
## create big backup locally
```shell
cryptsetup luksOpen /dev/disk/by-id/ata-<ID>-part1 ata-<ID>-part1
zpool import
zpool import lab
zfs create -o com.sun:auto-snapshot=false lab/backup
borg init -e none /lab/backup/ariane.fet.htu.tuwien.ac.at
./borg create --show-rc --verbose --stats backup@sojus:system::ariane-{now} /zv1/daten /zv1/fotos /zv1/homes
zpool export lab
cryptsetup luksClose ata-<ID>-part1
sync
hdparm -y /dev/disk/by-id/ata-
hdparm -C /dev/disk/by-id/ata-
```