updated ikn-backup to use power of ccollect
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
39fd7212f7
commit
7995b5202b
2 changed files with 11 additions and 6 deletions
0
eth/dryad-reboot.sh
Normal file → Executable file
0
eth/dryad-reboot.sh
Normal file → Executable file
|
@ -1,11 +1,16 @@
|
|||
#!/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
|
||||
ccollect=/home/user/nico/p/ccollect/ccollect/ccollect.sh
|
||||
|
||||
umount /home/services/usbhd
|
||||
cryptsetup luksClose usbhd
|
||||
# in pre_exec
|
||||
#cryptsetup luksOpen /dev/sdc usbhd
|
||||
#mount /home/services/usbhd
|
||||
|
||||
#cd /home/user/nico/p/ccollect/ccollect
|
||||
CCOLLECT_CONF=/home/users/nico/ethz/ccollect $ccollect wöchentlich ikn
|
||||
|
||||
# in post_exec
|
||||
#umount /home/services/usbhd
|
||||
#cryptsetup luksClose usbhd
|
||||
|
||||
|
|
Loading…
Reference in a new issue