Actions
action #60374
closedaction #60152: [sle][Migration][backlog] Automation the RMT test
[sle][Migration][SLE15SP3] Automation the RMT test - export and Import repositories
Start date:
2019-11-28
Due date:
% Done:
100%
Estimated time:
48.00 h
Difficulty:
Description
1.Log in on the server sun.
rmt-cli sync
rmt-cli mirror
- Connect a USB drive, assumed to be /dev/sdb and mount it, for example in /mnt/external.
mount /dev/sdb1 /mnt/external
- a. Export the data about available repositories and products.
rmt-cli export data /mnt/external/
b. Export the list of enabled repositories. The exported file is required for exporting the repositories in the next step.
rmt-cli export settings /mnt/external/
c. Export mirrored RPM packages. Depending on the size of mirrored repositories, this can take a long time.
rmt-cli export repos /mnt/external/
- Unmount and unplug the disk from sun and go to sirius.
umount /mnt/external
- Connect the USB drive to sirius and mount it in /mnt/external.
mount /dev/sdb1 /mnt/external
- a. Import the meta data about available repositories and products
rmt-cli import data /mnt/external/
b. Import mirrored RPM packages. Depending on the size of mirrored repositories, this can take a long time.
rmt-cli import repos /mnt/external/
- Enable repositories and check the repositories
Actions