backup and restore on amazon ec2 minor fixes