Archive, export, import, purge, and restore APIs