MDL-23752 backup - export/import mode. Fixed various details.