Not very generic currently, check the backup.sh script