Request Samples (Linux/Unix)

This packet starts migration (with the required options) of the customer account with login name "john_doe". After the migration is completed, there will be the customer account in destination Plesk, owned by Plesk administrator, and with empty IP pool and no subscriptions registered for this customer.

<packet version="1.6.3.0">
<migration>
<start>
   <host>192.0.2.39</host>
   <login>admin</login>
   <password>Lkejd8UU</password>
   <destination-host-directory>/tmp_dst</destination-host-directory>

   <selected-objects>
      <migrate-customers>
         <target-owner>admin</target-owner>
         <customer>
            <name>john_doe</name>
         </customer>
      </migrate-customers>
   </selected-objects>

</start>
</migration>
</packet>

This packet starts migration of customer account with login name "jimmy_choo" and Web site hosting data of subscription example.com belonging to this account. The packet also performs IP mapping for the customer's IP pool and the IP on which the subscription is hosted. After the migration, the customer account will be owned by reseller with login "jane-doe".

<packet version="1.6.3.0">
<migration>
<start>
   <host>212.58.49.37</host>
   <login>admin</login>
   <password>LKL00jdhTT</password>
   <destination-host-directory>/tmp</destination-host-directory>
   <only-hosting/>
   <selected-objects>
      <migrate-customers>
         <target-owner>jane-doe</target-owner>
         <customer>
            <name>jimmy_choo</name>
            <ip>
               <old>
                  <ip-type>shared</ip-type>
                  <ip-address>192.0.2.50</ip-address>
               </old>
               <new>
                  <ip-type>shared</ip-type>
                  <ip-address>192.0.2.60</ip-address>
               </new>
            </ip>
            <webspace>
               <name>example.com</name>
               <ip>
                  <old>
                     <ip-type>shared</ip-type>
                     <ip-address>192.0.2.50</ip-address>
                  </old>
                  <new>
                     <ip-type>shared</ip-type>
                     <ip-address>192.0.2.60</ip-address>
                  </new>
               </ip>
            </webspace>
         </customer>
      </migrate-customers>
   </selected-objects>
</start>
</migration>
</packet>

This packet starts migration of two customer accounts with login names "edward-sapir" and "benjamin_whorf", with the required options only. After the migration is completed, there will be these customer accounts in destination Plesk, owned by reseller with login "noam-chomsky", and with empty IP pool and no subscriptions registered for these customers.

<packet version="1.6.3.0">
<migration>
<start>
   <host>162.0.2.98</host>
   <login>admin</login>
   <password>Lkejdh73bDUU</password>
   <destination-host-directory>/tmp/migr</destination-host-directory>

   <selected-objects>
      <migrate-customers>
         <target-owner>noam_chomsky</target-owner>

         <customer>
            <name>edward-sapir</name>
         </customer>

         <customer>
            <name>benjamin_whorf</name>
         </customer>

      </migrate-customers>
   </selected-objects>

</start>
</migration>
</packet>

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.