Backup and restore tools for B2G