nsbin/eth/ikn-backup.sh
Nico Schottelius 360547e3f9 [ETH] add backup script for notebook (ikn) using ccollect
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-03-27 09:31:16 +01:00

11 lines
250 B
Bash
Executable file

#!/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