Tumbleweed/Slowroll Mirror setup question

So, I was looking to setup a mirror for both Tumbleweed and Slowroll. But looking at the documentation for setting up a mirror, I am a bit confused: openSUSE:Mirror infrastructure - openSUSE Wiki

I seen the opensuse-full-with-factory module looks to be the only one that includes Tumbleweed, but i assume it also includes Leap, which I do not want to mirror.

What rsync command would i use to just mirror Tumbleweed?
What rsync command would i use to just mirror Slowroll?
(both Repositories and ISOs)

@32294 Hi and welcome to the Forum :smile:
This should help? openSUSE:Mirror howto - openSUSE Wiki

@malcolmlewis Sorry, I should have been more clear. I already have a web server running since i have a couple other distros mirrored already, although that link we will be helpful for registering a public mirror later as i seen it on the bottom of the page.

I am just confused which module/what options i should be using with rsync to get my desired result of mirroring only Tumbleweed/Slowroll. I would like the mirror the following only:

https://provo-mirror.opensuse.org/slowroll/
https://provo-mirror.opensuse.org/tumbleweed/

You will also need to mirror /update/tumbleweed and /update/slowroll.

You apparently missed

it is entirely possible to mirror only parts of a module.

You apparently missed

I seen it, but I did not see any instructions on how to rsync only part of a module?
Would it just be:

 rsync -rlptyH rsync.opensuse.org::opensuse-full-factory/tumbleweed/ <webroot>/opensuse/tumbleweed/ --delay-updates --delete-delay -hi --stats
 rsync -rlptyH rsync.opensuse.org::opensuse-full-factory/slowroll/ <webroot>/opensuse/slowroll/ --delay-updates --delete-delay -hi --stats
 rsync -rlptyH rsync.opensuse.org::opensuse-full-factory/update/tumbleweed/ <webroot>/opensuse/update/tumbleweed/ --delay-updates --delete-delay -hi --stats
 rsync -rlptyH rsync.opensuse.org::opensuse-full-factory/update/tumbleweed-non-oss/ <webroot>/opensuse/update/tumbleweed-non-oss/ --delay-updates --delete-delay -hi --stats
 rsync -rlptyH rsync.opensuse.org::opensuse-full-factory/update/slowroll/ <webroot>/opensuse/update/slowroll/ --delay-updates --delete-delay -hi --stats

Or is this incorrect?

This is article about openSUSE mirror infrastructure, not about basic rsync usage. You are expected to know it already.

It is. Module name is wrong, paths inside module are wrong.

You can use multiple rsync invocations or you can use --include and/or --exclude in one rsync invocation. It is really up to you and your rsync skills. As there is limit on number of simultaneous connections, using single invocation with --include/--exclude is likely more appropriate.

I see, i have never seen rsync modules before so i assumed it was different than normal rsync… so i’ve probably just wasted your time, but thanks…

The following seems to work anyways:

rsync -rlptyH rsync.opensuse.org::opensuse-full-with-factory /mnt/linuxrepos/ --include='opensuse/' --include='opensuse/update/' --include="opensuse/tumbleweed/***" --include="opensuse/slowroll/***" --include="opensuse/update/slowroll***" --include="opensuse/update/tumbleweed***"  --exclude='*' --delay-updates --delete-delay -hi --stats

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.