[ETH] add backup script for notebook (ikn) using ccollect
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
509b30c989
commit
360547e3f9
1 changed files with 11 additions and 0 deletions
11
eth/ikn-backup.sh
Executable file
11
eth/ikn-backup.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
cryptsetup luksOpen /dev/sdc usbhd
|
||||
mount /home/services/usbhd
|
||||
|
||||
cd /home/user/nico/p/ccollect/ccollect
|
||||
CCOLLECT_CONF=/home/services/usbhd/ccollect ./ccollect.sh wöchentlich ikn
|
||||
|
||||
umount /home/services/usbhd
|
||||
cryptsetup luksClose usbhd
|
||||
|
Loading…
Add table
Reference in a new issue