How to download complete snapshot for 2 architectures

Hi,
I would like to compare x86_64 (efi) and NanoPi R2S with the same software base.
So I want to download all packages (snapshot) for the 2 architectures from the same day with wget.
I dont need packages for another architecture.

But how to do that?

Henning

wget -N -r https://downloads.openwrt.org/snapshots/targets/x86/64/
wget -N -r https://downloads.openwrt.org/snapshots/packages/x86_64/

Though, it's probably better to use rsync:
https://openwrt.org/downloads#how_to_mirror

1 Like

Ok,
I have startet wget as described. But it seems to be a bad way, with a small DSL line.
I got tons of folders and index files, for releases, snapshots for every target. All things I don't want.
And of course I'm interested only in an actual kernel. But wget ist still downloading all kmods. Starting with kmod-4.19.*.

Maybe this way is usable if you want to mirror all. But not for a subset.

Then you'd better use rsync and download only what you really need.

So,
ich habe jetzt ein paar rsync's gemacht.
Hoffentlich habe ich alles erwischt, was man benötigt ...

rsync -avx --exclude kmods rsync://downloads.openwrt.org/downloads/snapshots/targets/x86/64/ snapshots/targets/x86/64/

rsync -avx rsync://downloads.openwrt.org/downloads/snapshots/targets/x86/64/kmods/5.4.66-1-e603d4dc31dbef7fd2d83e7569e8122e/ snapshots/targets/x86/64/kmods/5.4.66-1-e603d4dc31dbef7fd2d83e7569e8122e/

rsync -avx rsync://downloads.openwrt.org/downloads/snapshots/packages/x86_64/ snapshots/packages/x86_64/

rsync -avx rsync://downloads.openwrt.org/downloads/snapshots/targets/rockchip/armv8/kmods/5.4.66-1-7beae5e0a686ecab2e980b5ac713d6cc/ snapshots/targets/rockchip/armv8/kmods/5.4.66-1-7beae5e0a686ecab2e980b5ac713d6cc/

rsync -avx rsync://downloads.openwrt.org/downloads/snapshots/packages/aarch64_generic snapshots/packages/aarch64_generic

2 Likes

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

1 Like

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