[Box Backup] Backup of an ecryptfs encrypted home

Julien Barnier julien at nozav.org
Wed Apr 28 13:40:08 BST 2010


Hi Chris,

> I'd suggest using the SyncAllowScript option to disable backups while
> your home directory is not mounted, by telling bbackupd to try again
> later, something like this:

Of course, I'm quite sorry to have missed this one. I didn't know the
existence of this feature, but I could have learnt it by reading my
bbackupd.conf more slowly :-)

I just added a small /dev/null redirect to your script to suppress the
grep output :

,----
| #!/bin/sh
| 
| if mount | grep "/home/julien type ecryptfs" > /dev/null; then
| 	echo "now"
| else
| 	echo "60"
| fi
`----

Thanks a lot for your help !

Julien		



More information about the Boxbackup mailing list