<div dir="ltr"><div>Hi Team,</div><div><br></div><div>Today I have created pulp server in DMZ subnet and from our master server tried to export as an ISO file. So that from disconnected server I can recreate whenever I need to replicate. However the problem is pulp is always keep n version. Second time if we execute export command the current exported ISO file and directory getting deleted before the new ISO file creation. Is there any way to put retention files (I mean number files) on my own?</div><div><br></div><div>Because in this case in the design document we must include the instructions/practice that system admins who is taking ISO export they should first copy the existing file to the common secure share and then only he should execute the export command.</div><div><br></div><div>I thought to understand this n version facility only ?.</div><div><br></div><div>My pulp version is </div><div><br></div><div>[root@server1]# rpm -q pulp-server<br>pulp-server-2.5.3-1.el7.noarch</div><div><br></div><div>Below I have attached the sample logs....</div><div><br></div><div>[root@Server1 ~]# pulp-admin rpm repo export run --repo-id custom_repo1<br>+----------------------------------------------------------------------+<br>                  Publishing Repository [custom_repo1]<br>+----------------------------------------------------------------------+</div><div>This command may be exited via ctrl+c without affecting the request.</div><div><br>Initializing repo metadata<br>[-]<br>... completed</div><div>Publishing Distribution files<br>[-]<br>... completed</div><div>Publishing RPMs<br>[-]<br>... completed</div><div>Publishing Delta RPMs<br>... skipped</div><div>Publishing Errata<br>[-]<br>... completed</div><div>Publishing Comps file<br>[-]<br>... completed</div><div>Publishing Metadata.<br>[-]<br>... completed</div><div>Closing repo metadata<br>[-]<br>... completed</div><div>Generating sqlite files<br>... skipped</div><div>Copying files<br>[-]<br>... completed</div><div>Writing Listings File<br>[-]<br>... completed</div><div>Exporting ISO<br>[-]<br>... completed</div><div>Moving ISO to final location<br>[-]<br>... completed</div><div><br>Task Succeeded</div><div>*********************************************************************************************</div><div>[root@Server1 ~]# cd /var/lib/pulp/published/yum/master/export_distributor/<br>[root@Server1 export_distributor]# ls -ltr<br>total 0<br>drwxr-xr-x. 3 apache apache 26 Feb 27 09:32 custom_repo1<br>[root@Server1 export_distributor]# cd custom_repo1/1425047541.92/<br>[root@Server1 1425047541.92]# ls -ltr<br>total 1468<br>-rw-r--r--. 1 apache apache 1501184 Feb 27 09:32 custom_repo1-2015-02-27T09.32-01.iso</div><div>After the first time export command execution,new ISO file has been created.</div><div>************************************************************************************************<br>Again i have executed the export command</div><div># pulp-admin rpm repo export run --repo-id custom_repo1</div><div>************************************************************************************************</div><div>[root@Server1 1425047637.65]# pwd<br>/var/lib/pulp/published/yum/master/export_distributor/custom_repo1/1425047637.65</div><div>[root@Server1 1425047637.65]# ls -ltr<br>total 1468<br>-rw-r--r--. 1 apache apache 1501184 Feb 27 09:33 custom_repo1-2015-02-27T09.33-01.iso</div><div>Now new directory and new ISO file has been created.The old directory and iso file has been deleted.</div><div>************************************************************************************************<br>[root@Server1 custom_repo1]# ls -ltr<br>total 0<br>drwxr-xr-x. 2 apache apache 49 Feb 27 09:33 1425047637.65<br>[root@Server1 custom_repo1]# pwd<br>/var/lib/pulp/published/yum/master/export_distributor/custom_repo1</div><div><br><br></div></div>