2.3. Pulp Data Considerations
You can clone Satellite server without including Pulp data. However, for your cloned environment to work, you do require Pulp data. If the target server does not have Pulp data. it is not a fully working Satellite.
To transfer Pulp data to a target server, you have two options:
- Clone using backup with Pulp data
-
Clone using backup without Pulp data and copy
/var/lib/pulp
manually from source server.
If your pulp_data.tar
file is greater than 500 GB, or if you use a slow storage system, such as NFS, and your pulp_data.tar
file is greater than 100 GB, do not include pulp_data.tar
in the backup because this can cause memory errors during extraction. Copy the pulp_data.tar
file from the source server to the target server.
To back up without Pulp data
Follow the steps in the procedure in 「Cloning Satellite Server」 and replace the steps that involve cloning with Pulp data with the following steps:
Perform a backup with MongoDB and PostgreSQL databases active excluding the Pulp data:
# satellite-maintain backup offline --skip-pulp-content \ --assumeyes /var/backup
Stop and disable the
satellite-maintain
services# satellite-maintain service stop # satellite-maintain service disable
Copy the Pulp data to the target server:
# rsync --archive --partial --progress --compress \ /var/lib/pulp target_server.example.com:/var/lib/pulp
Proceed to 「Cloning to the Target Server」.