News for hackers. Stuff that matters.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by internet2000 on Monday August 24, 2026 @12:07AM (#49415103)
Starting with robocopy is nuts. I'd have started with rsync and just let it run overnight. The peace of mind that it'd do the right thing and not needing to research flags are more than worth any speed tradeoffs.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by Oxodao on Monday August 24, 2026 @03:33AM (#49416332)
I recently migrated from a synology to a diy nas, 8to to transfer, did it through rsync, took a few days but it ended up working nice.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by toomuchtodo on Tuesday August 25, 2026 @01:09PM (#49437293)
What software are you running on your DIY NAS?
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by Oxodao on Thursday September 03, 2026 @05:19AM (#49547741)
TrueNAS, I have really mixed feelings about it. It's ok but the company behinds it start to do not great stuff
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by JoeBOFH on Monday August 24, 2026 @06:48AM (#49417906)
I understand where you might be coming from but: robocopy SOURCEPATH DESTPATH /mir /r:1 Is pretty easy to remember.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by kalleboo on Sunday August 23, 2026 @11:17PM (#49414861)
The Synology web UI lets you mount a remote SMB share and copy files directly in their file manager without making the round-trip via your PC, I imagine this would have been the fastest method without getting bogged down in command-line tools.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by teekert on Monday August 24, 2026 @12:43AM (#49415245)
I didn't read the whole thing, but couldn't you just rsync over ssh from either end?

Your suggestions is also very nice, you can just turn off your own PC and wait for it to finish.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by kalleboo on Monday August 24, 2026 @01:11AM (#49415398)
The situation in the article is one NAS is 10 Gbit and one NAS had 4x1Gbit. SMB will use MultiChannel to aggregate the 4x1GBit ports, but rsync will just pick one and be limited at 25% of the available bandwidth.

I don't even think rclone can split across multiple interfaces like SMB does.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by ZPrimed on Monday August 24, 2026 @12:48AM (#49415273)
Synology actually supports the old (non-encrypted) rsync protocol, too. On a trusted LAN, it runs much quicker that way than with rsync-over-ssh...

I just finished slurping all of my files off an old Synology and onto a TrueNAS server. Unlike the article here, my Syno is 2x1Gb in a LAG, so I was really only getting ~1Gbps at max.

One disappointment with TrueNAS is that it doesn't support SMB-MC unless you put each interface on a separate subnet (which is a strange limitation because Samba itself doesn't seem to suffer from this, since synology handles it fine)

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by spockz on Monday August 24, 2026 @02:21AM (#49415827)
What is the benefit of SMB-LC over managing the link speed at a lower level via link bonding or trunking?
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by kalleboo on Monday August 24, 2026 @03:15AM (#49416182)
Most methods of link aggregation won't speed up a single TCP connection, and they can be messy-to-impossible to set up on non-Linux machines.

With SMB you just plug in 2 NICs and you automatically get ~double the bandwidth.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by amaccuish on Monday August 24, 2026 @04:24AM (#49416742)
I tried that once but the cifs kernel mod was so old it didnt support modern auth methods.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by mmetzger on Sunday August 23, 2026 @11:44PM (#49414994)
The moment the /Z option showed up I figured there'd be an issue. I have to copy multi-TB files often using Robocopy. We originally used /Z because "Well, if it gets interrupted, I'd obviously want to restart from where I left off..." I accidentally left the switch off one day and noted it completed in less than half the normal time (of using the /Z flag).

In other words, yes, it may be restartable, but if it takes more than twice as long, just recopy the file(s) if needed.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by Neywiny on Sunday August 23, 2026 @10:58PM (#49414758)
Sometimes when we Linux for a long time, we run into decades old friends: grep, sh, bc, whatever. Not uncommon to run a command that first released 50 years ago. Rarely on Windows do we get that. As much hate as windows gets, at least they left in more than just explorer drag and drop.

If the author is reading, it would be nice to clarify that the 10g network comment is irrelevant. I was under the impression at least 1 of the devices would have a 10g link, but at least 2 of the 3 didn't. It was a bit confusing, but it's also very late where I am.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by joshka on Sunday August 23, 2026 @11:12PM (#49414828)
My interpretation is that the setup is 10GbE UNAS Pro 8, 4x 1GbE Synology DS 1520, 1x 2.5GbE Windows host.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by ZPrimed on Monday August 24, 2026 @12:46AM (#49415262)
If that's the setup, the only way anything would run more than 1Gb is if the Synology is doing SMB-multichannel (which if they setup 4x1Gb LAG, then it's not SMB-MC). [edit] reading the article, they do have the Syno setup for SMB-MC and that's the only reason this wasn't stuck at ~120MB/s
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by bananamogul on Sunday August 23, 2026 @10:46PM (#49414708)
"Ideally you'll find more value in the comments as Hacker News folks and Windows experts will drop in with better tools and strategies."

I don't know if this is better, but...an alternative is rclone, which uses rsync under the hood. It can also do parallel jobs and is restartable on any failed partial copy.

When I've had to do large Synology-to-Synology moves, that's what I've used. The multiple rsyncs in parallel really helps if you've got a lot of small files.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by randerson on Sunday August 23, 2026 @11:34PM (#49414946)
Moving Synology-to-Synology, I was surprised at how easily I could just move the original HDDs (in their original order) from old enclosure to new enclosure, and it just worked.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by UltraSane on Sunday August 23, 2026 @11:18PM (#49414863)
I consider it much better because rsync can detect bit errors and robocopy can't.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by tamimio on Sunday August 23, 2026 @11:19PM (#49414872)
The issue with rclone compared to rsync for existing files is it will copy the whole thing again, where rsync uses something called delta transfer and only transfer the change. But if you are doing one time cloud to cloud transfer then yeah rclone is the gold standard.

> rsync under the hood

Is it? I think one is written in C (rsync) and the other is in Go lang (rclone)

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by jaden on Sunday August 23, 2026 @11:57PM (#49415059)
I had the same reaction. rclone is not built on rsync. It's an independent implementation in Go, inspired by rsync.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by tamimio on Monday August 24, 2026 @01:22AM (#49415456)
Mostly the confusion is because they share similar command line interface like —exclude etc
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by c0nsumer on Sunday August 23, 2026 @10:55PM (#49414749)
I love this kind of step-by-step solving post, but it bothers me that the author didn't track down what the JPEG in the Alternate Data Stream (ADS) was for. Something put it there... Might it be a surprise when it ends up not being there later?

Also, it kinda sounds like the UNAS might not be supporting ADS' for some reason? That alone could be a problem later on...

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by joshka on Sunday August 23, 2026 @11:16PM (#49414852)
Fairly reasonable explanation is album cover art.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by c0nsumer on Monday August 24, 2026 @10:14AM (#49420109)
For sure, that's what I thought about as well. But it also made me think "hang on, this migration will throw out data... Would I be okay with that?".
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by justsomehnguy on Monday August 24, 2026 @04:29AM (#49416797)
> Also, it kinda sounds like the UNAS might not be supporting ADS' for some reason? That alone could be a problem later on...

The whole reason of the post.

And the thing what linux fanbois with rsync/rclone here absolutely ignore.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by jdboyd on Thursday August 27, 2026 @07:05AM (#49462820)
Yes, I certainly wouldn't have just skipped past ADS not working. Since samba and zfs support it, this is weird that Ubiquiti wouldn't. If this isn't just a config problem, I would call it cause to return the device.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by joshka on Sunday August 23, 2026 @11:18PM (#49414864)
It really feels like rsync should have a multi-path setting that would have sped this up across multiple links (but doesn't because noone has made it yet).
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by jbird99 on Sunday August 23, 2026 @11:31PM (#49414927)
I use bbcp for that, it supports multiple streams.

https://docs.nersc.gov/services/bbcp/

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by winstonwinston on Monday August 24, 2026 @01:49AM (#49415630)
You could just run multiple rsync processes using different src and dest paths to achieve multiple copy streams. Anyway this would not be likely much faster if rsync is run over encrypted SSH due to CPU performance, compared to unencrypted SMB.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by joshka on Monday August 24, 2026 @08:21PM (#49427602)
I took a look into it mostly to satisfy my curiosity. The AES-NI chip on the J4125 in the Synology DS1520 hits 5Gbit/s transfer when using 4 cores (AES-256-GCM). So technically this it would be possible to saturate its 4 ethernet ports (or at least the encryption wouldn't be the bottleneck). You could back this down to 128 or drop the encryption altogether on an network that you own like this reasonably.

My guess is the actual bottleneck would be directory traversal and metadata stuff - i.e. trying to keep the pipe full, not saturation effects.

Yeah I know on src/dest. I've done this sort of approach countless times in various technologies in the past 40 or so years, but that always puts the mechanism for checking things in onus of the human rather than having that one command that does it all right.

Anyway, not a slight on rsync in the slightest - it doesn't have this probably because no-one realistically actually needs it most of the time.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by mmastrac on Sunday August 23, 2026 @10:49PM (#49414726)
rsync tends to be a bit tougher on smaller CPUs. scp is generally better for those cases if you don't mind hashing afterwards to confirm everything made it without bit flips (in theory it shouldn't happen, but I've definitely had corruption during transfers like these). I personally prefer that method because you check files that are out of page cache and at rest on the filesystem.

If you want to get the advantage of SMB multi stream copies (in rsync*), look for LACP or other options. Not sure if Synology does that though.

I'm honestly surprised that SMB was faster here. I've never had luck getting it to perform well, so this is a bit of a shock.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by luma on Sunday August 23, 2026 @11:13PM (#49414834)
LACP does not work well with SMB multipath and will generally prevent you from seeing the benefit. You want IP addressed adapters for each link on both sides of the conversation.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by sirjaz on Sunday August 23, 2026 @10:59PM (#49414759)
It shouldn't be shocking SMB is very fast and more secure than NFS. Hell it supports running over quic now
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by para_parolu on Sunday August 23, 2026 @11:37PM (#49414956)
Has anyone found a solution to lack of encryption in unas?
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by gregoryl on Sunday August 23, 2026 @11:58PM (#49415061)
It has encryption.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by tiew9Vii on Monday August 24, 2026 @01:04AM (#49415345)
From the benchmarks I’ve seen there’s a significant throughput degradation with encryption enabled on the UNAS’s due to limited cpu.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by tuananh on Sunday August 23, 2026 @11:11PM (#49414821)
i recently went from synology to truenas all flash. i do not miss synology one bit. the opensource ecosystem is already there.

for example, Immich is a huge upgrade to Synology photos. I didn't know how much i was missing out.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by UltraSane on Sunday August 23, 2026 @11:19PM (#49414870)
Flash is rather expensive for storing photos and video.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by tuananh on Monday August 24, 2026 @12:15AM (#49415131)
yeah right but that's the trade-off i made for total silence & speed :)
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by UltraSane on Monday August 24, 2026 @01:40AM (#49415572)
you can get 5 to 10 times more GB/$ with magnetic drives. The best solution is something that is smart enough to stream linear reads like movies from disk but cache data with random IO patterns on flash.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by tuananh on Monday August 24, 2026 @02:39AM (#49415947)
i'm aware of it. i waas using syno with flash cache before. to each their own i guess
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by TiredOfLife on Monday August 24, 2026 @01:07AM (#49415374)
If both devices are capable of running Syncthing, I would just use that.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by PeterStuer on Monday August 24, 2026 @02:01AM (#49415698)
Claude is quite good at producing an optimal robocopy command for your particular machines and target network use (you do not want 100% when copying dozens of TB over the LAN unless you want to annoy your family).
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by abcd_f on Monday August 24, 2026 @02:14AM (#49415781)
He should've given bvckup2 a try.

Asynchronous IO, multithreaded for smaller files, serialized when they are big, block-level delta copying on subsequent runs. Pretty much as fast as it gets on Windows.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by throwaway270925 on Monday August 24, 2026 @03:47AM (#49416437)
I agree with Scott, no need to use rsync - he should have used rclone instead! It can be easily installed in the package manager, and with 4 threads (or multiples of 4) it fully uses/saturates the 4 1GbE links.

Also a hint for anyone planning something similar: if you use Synologys SHR format (based on mdraid+btrfs) and your new destination supports or uses BTRFS too, you can just btrfs send your whole pool to the new NAS!

(Since its a single process it wont saturate any LAG though)

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by sersi on Monday August 24, 2026 @07:09AM (#49418077)
I tried that before and ran into issues due to the fact that synology's btrfs implementation has quite a few patches. I forgot exactly what issues I had, just ymmv.

The fact that synology's btrfs is incompatible with a normal linux distribution and that the official instructions from synology for reading it is to use an older kernel together with ubuntu 16.04 lts convinced me to switch away from synology.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by jdboyd on Thursday August 27, 2026 @06:56AM (#49462751)
I believe that Ubiquiti advertises that they use zfs.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by 8fingerlouie on Monday August 24, 2026 @04:18AM (#49416690)
I'm aware of the comments saying rsync or rclone, and I absolutely also use those, but for initial migrations I often find myself simply using tar instead.

Something like :

    (cd /src/dir && tar cf -) | ssh user@host "(cd /dst/dir && tar xvf -)" 
will do nicely.

It won't saturate 4 multichannel links, you'll most likely need rclone or rsync for that (or robocopy it appears), but it's much faster than rsync on initial copies.

Then for good measure, once the tar copy finishes, I run a single rsync verification between the two targets.

That being said, my latest storage migration was performed using either ChronoSync or Carbon Copy Cloner from my Mac mini server. They won't do anything rsync cannot already do, except present data and copy history in a graphical environment.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by somat on Monday August 24, 2026 @07:05AM (#49418040)
For large transfers on a network I control I would use bare netcat, much faster than going over ssh and without having to figure out rsync server (probably easy, but I don't need another distraction.

  nc -l 8888 | tar -C /dir -xzf -
  tar -C /dir -czf - | nc server 8888
rsync however, is totally worth it if there is any chance the transfer gets interrupted.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by jasode on Monday August 24, 2026 @05:22AM (#49417236)
>simply using tar instead

Be aware that tar doesn't preserve creation/birth times and keeping that original metadata is important to some people if the target file system can record it. Robocopy preserves/transfers creation times by default and recent rsync versions (3.2.3 2020-08-06) can do it with the extra option --crtimes.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by walrus01 on Monday August 24, 2026 @04:52AM (#49417004)
Given Ubiquiti's history of abandoning entire product lines, I cannot ever imagine trusting a ubiquiti closed-source NAS product with my data. No thank you. Not when TrueNAS exists.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by simonjgreen on Monday August 24, 2026 @06:59AM (#49417992)
Basing your major infrastructure choices on Ubiquiti feels a kickstarter purchase every time. Huge claims, borderline religious following community, an intentional and almost proud absence of technical support, and a coin toss if the product line will still exist in 24 months.

And when they work as advertised they are fantastic.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by donatj on Monday August 24, 2026 @05:55AM (#49417471)
> Given Ubiquiti's history of abandoning entire product lines

Huh, this is news to me but seems to check out from my Googling. I've really been enjoying the Ubiquiti ecosystem and was considering a UNAS to replace my Seagate NAS.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by walrus01 on Monday August 24, 2026 @06:06AM (#49417570)
I've been following ubiquiti since the days of 802.11a based radio bridges (and then 802.11n based stuff like the powerbridge m5), it's an exceedingly frustrating company to rely on doing anything serious with.
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by ksec on Monday August 24, 2026 @11:23AM (#49421079)
802.11a is from 2000. That is 26 years ago! Has there been any major issues with them in the past 5 years?
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by walrus01 on Monday August 24, 2026 @11:28AM (#49421169)
What I meant was, that prior to about 2012, they put a solid and honest effort into building useful networking equipment for people. Then after that ubnt pivoted to mass market consumer goods. The 802.11a and n stuff was solid.

In the past 5 to 7 years they have abandoned a number of entire product lines and left the people running it hanging, with no way to purchase replacement parts, or keep a system running.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by ShinyLeftPad on Monday August 24, 2026 @10:17AM (#49420152)
I recommend to check about UNAS speed issues, I heard it's pretty slow due to bad controller and on Macs has extra disconnect/time machine issues
Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by bayindirh on Monday August 24, 2026 @05:38AM (#49417346)
Yes, TrueNAS works great sans a couple of quirks with external storage boxen. I'm mostly a happy camper.

I believe I'll be more happierer as I integrate it to my life more and more.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by doublepg23 on Friday August 28, 2026 @12:23PM (#49480803)
Thankfully it's not dissimilar to Synology internally: btrfs+mdadm on the smaller ones, ZFS on the big ones.

Shouldn't be hard to migrate if it got discontinued.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by ksec on Monday August 24, 2026 @11:24AM (#49421101)
Does anyone know if the UNAS range uses ZFS as well or does it use BTRFS or something else?

I only know their higher end enterprise range specifically said ZFS but all the others doesn't seems to mention it. And I really wish there is a simple 4 bay ZFS NAS.

Re:Migrating a Synology NAS to a UniFi UNAS Pro 8 with Roboc... by npodbielski on Monday August 24, 2026 @02:52PM (#49424256)
I bought several cameras and they unvr early this year. It works great but I have no AI features because you have to buy they hardware just to accept some license (!). I mean... OK but no.

If they would allow me to send them email saying: "I hereby promise I wont record my neighbours having little tete-a-tete."

Sure I understand liability. But requiring consumer to buy another product to fully utilize they other product? Sorry but no. They have really cool hardware and nice UI but policy like that... no.