Turritopsis Dohrnii Teo En Ming
2026-Jan-26 16:23 UTC
[Samba] Using rsync command to sync changed/new files from old Synology NAS to new Synology NAS
On Monday, 26 January 2026 at 11:56 PM, Rowland Penny via samba <samba at lists.samba.org> wrote:> > > On Mon, 26 Jan 2026 16:24:30 +0100 > Luis Peromarta via samba samba at lists.samba.org wrote: > > > Sorry if I?ve missed but, what exactly is the question ? > > > I do not think the OP was asking a question, they appeared to be trying > to show how to use rsync between two NAS devices. > > The use of '--numeric-ids' was interesting, as anyone that runs two or > more Samba AD DCs will know, you cannot rely on a user or group ID > being the same on multiple computers, unless they are domain members. > > Rowland >I do have one question though. If I wanted to make all the shared folders on the old Synology NAS read only, can I run the following command? mount -o remount,ro /volume1 Verify: mount | grep volume1 You should see (ro,?). After I am done with rsync, I will run the following command to restore read-write: mount -o remount,rw /volume1 Will the above commands work on a Synology NAS with DSM 7.1.1? The old NAS is DS713+. Thank you. Regards, Mr. Turritopsis Dohrnii Teo En Ming Extremely Democratic People's Republic of Singapore 27 Jan 2026 Tuesday 12.22 am Singapore Time
Rowland Penny
2026-Jan-26 16:54 UTC
[Samba] Using rsync command to sync changed/new files from old Synology NAS to new Synology NAS
On Mon, 26 Jan 2026 16:23:34 +0000 Turritopsis Dohrnii Teo En Ming <teo.en.ming at protonmail.com> wrote:> On Monday, 26 January 2026 at 11:56 PM, Rowland Penny via samba > <samba at lists.samba.org> wrote: > > > > > > > On Mon, 26 Jan 2026 16:24:30 +0100 > > Luis Peromarta via samba samba at lists.samba.org wrote: > > > > > Sorry if I?ve missed but, what exactly is the question ? > > > > > > I do not think the OP was asking a question, they appeared to be > > trying to show how to use rsync between two NAS devices. > > > > The use of '--numeric-ids' was interesting, as anyone that runs two > > or more Samba AD DCs will know, you cannot rely on a user or group > > ID being the same on multiple computers, unless they are domain > > members. > > > > Rowland > > > > I do have one question though. > > If I wanted to make all the shared folders on the old Synology NAS > read only, can I run the following command? > > mount -o remount,ro /volume1 > > Verify: > > mount | grep volume1 > > You should see (ro,?). > > After I am done with rsync, I will run the following command to > restore read-write: > > mount -o remount,rw /volume1 > > Will the above commands work on a Synology NAS with DSM 7.1.1? The > old NAS is DS713+. >You will have to ask synology that, they seem to take packages and make changes to them and then keep their changes secret. The standard Linux 'mount' should do what you require, but whether the synology 'mount' does, I do not know, I haven't got (and will not get) a synology device. Rowland