Community discussions

MikroTik App
 
costel
newbie
Topic Author
Posts: 29
Joined: Sat May 05, 2012 6:05 pm

Plain rsync using rose package

Thu Sep 12, 2024 11:32 am

Hello,

Wondering if I can replace a Raspberry Pi with Mikrotik RB450Gx4 for rsync and small file storage. Currently, on Raspberry Pi rsynd, ssh and nginx are running to provide small, LAN Gentoo Linux infrastructure.
The workflow is:
1. Main Gentoo portage rsync is done on Pi and other machines sync from Pi. Trouble: I need plain rsync, not ipsec - is possible ?
2. Packages are compiled on most powerfull x86_64 PC and a Raspberry Pi 5 and binary packages are stored on first Pi via sshd. I presume there I can use also sshd or smbd.
3. Other machines get packages from Pi (set as binary host) via nginx web server. Here I can run a container running nginx or set a ssh binary host.

So: I want to store binary packages and Gentoo portage on SD card plain rsync from it and download packages via a local web server or ssh. Can it be done ?

Thank you!
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4409
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Plain rsync using rose package

Thu Sep 12, 2024 4:24 pm

Rsync and SMB/NFS should work If you add ROSE package from the "extra-packages". And ROSE can access file an SD card for either "sharing" or plain rsync.

SCP should work without ROSE since a native feature. Although SCP would use RouterOS credentials, not ROSE things.

But... there is NO HTTP file sharing (or even plain HTTP download of arbitrary files). So even with ROSE you're still limited to SMB/NFS/SCP/rsync as options.
 
costel
newbie
Topic Author
Posts: 29
Joined: Sat May 05, 2012 6:05 pm

Re: Plain rsync using rose package

Thu Sep 12, 2024 10:00 pm

Found out that an sdcard it is not the best storage for what I need. During portage sync, with more than 500 files, it stuck. I believe that is router sdcard interface, as the same card on Pi 5 is working fine.
Thank you for your support!
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4409
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Plain rsync using rose package

Thu Sep 12, 2024 11:50 pm

And there is no USB on the RB750G either. And, with only 1G RAM... using a ram-disk (that could be persist to SD) for rsync isn't likely going to work either.
Found out that an sdcard it is not the best storage for what I need.
Perhaps, but SD card do have different speed rating/classes. And... also not sure what classes the hardware support either...