code: public static ExtensibleConfigurationPersister createRemoteBackupDomainXmlConfigurationPersister(final File configDir, ExecutorService executorService, ExtensionRegistry extensionRegistry) {
          DomainXml domainXml = new DomainXml(Module.getBootModuleLoader(), executorService, extensionRegistry);
          File bootFile = new File(configDir, CACHED_DOMAIN_XML_BOOTFILE);
          File file = new File(configDir, CACHED_DOMAIN_XML);
          BackupRemoteDomainXmlPersister persister = new BackupRemoteDomainXmlPersister(file, bootFile, new QName(Namespace.CURRENT.getUriString(), "domain"), domainXml, domainXml);
          for (Namespace namespace : Namespace.domainValues()) {
              if (!namespace.equals(Namespace.CURRENT)) {
                  persister.registerAdditionalRootElement(new QName(namespace.getUriString(), "domain"), domainXml);
              }
          }
          extensionRegistry.setWriterRegistry(persister);
          return persister;
      }
docs: --backup