dump ldif data before upgrade