run the command for more information:
inter-server-sync -h
mkdir ~/export
inter-server-sync export --serverConfig=/etc/rhn/rhn.conf --outputDir=~/export --channels=channel_label,channel_label
rsync -r ~/export root@<Target_server>:~/
inter-server-sync import --importDir ~/export/
Database connection configuration are loaded by default from /etc/rhn/rhn.conf
.
File location can be overwritten.
For development environments one can use a sample file in this project.
Steps to run in locally in development mode:
cp rhn.conf.exaple rhn.conf
rhn.conf
with the appropriated valuesgo run . -config=rhn.conf
go run . dot --serverConfig=rhn.conf | dot -Tx11
uyuni-releng-tools
from systemsmanagement:Uyuni:Utilstito
and push it to github
tito tag --use-release=0
git push origin inter-server-sync-x.y.z-1
systemsmanagement:Uyuni:Master
Galaxy:Manager:Head
Devel:Galaxy:Manager:4.3
inter-server-sync
In the checked out git repo:
export OSCAPI=https://api.opensuse.org
osc -A https://api.opensuse.org branch systemsmanagement:Uyuni:Master inter-server-sync
export OBS_PROJ=home:<your_nick>:branches:systemsmanagement:Uyuni:Master
build-packages-for-obs && push-packages-to-obs
Uyuni: osc -A https://api.opensuse.org sr --no-cleanup <your_project> inter-server-sync systemsmanagement:Uyuni:Master
Manager Head: osc -A https://api.suse.de sr --no-cleanup openSUSE.org:<your_project> inter-server-sync Devel:Galaxy:Manager:Head
For each maintained SUSE Manager version, one SR in the form: iosc sr --no-cleanup openSUSE.org:<your_project> inter-server-sync Devel:Galaxy:Manager:X.Y