Automatic Data backup and restore