Jump to content

Recommended Posts

Posted

So, I had a Synology running for like 4 years. It was about to run out of space, so I decided to make a custom NAS.

I set up HexOS, then I want my all my Synology data to be in HexOS.

The first thought is just open SMB share on both devices, and copy paste from one to the other machine...

But on Linux, I know that this would just make directories with the same name, thus making "Last modified" to be the date that the transfer happens.

Therefore, I asked ChatGPT. It suggested Rsync, which has a lot of benefits, like pure NAS to NAS communication, the ability to resume transfer if things got wrong...

And of course HexOS doesn't have that. Not saying it should, but I just happen to need it in this specific case.

Anyway, I went into TrueNAS, and set up Rsync. I'll spare the details since it's not really a HexOS topic, but I can say that it took several hours to figure out with constant waiting, it's not a pleasant experience.

And I'm just thinking, there should be an easier way right?

Like, TrueNAS scale is just Debian. Can't it just access SMB itself, copy the file into a directories, and use some parameters to keep the metadata? Or whatever, I don't know.

My point is, "I just set up a new NAS and now I want all my old NAS data here" is probably a common enough need that HexOS should have a default solution to.

That's about it. Thanks for reading.

  • Like 1
Posted

Forgot to mention another point of making HexOS do the pulling:

If I use my PC to access both machine with SMB to do the copying, my PC would need to stay awake for the entire transfer session. Which is bad, and another point of failure.

Posted
1 hour ago, EviTRea said:

So, I had a Synology running for like 4 years. It was about to run out of space, so I decided to make a custom NAS.

I set up HexOS, then I want my all my Synology data to be in HexOS.

The first thought is just open SMB share on both devices, and copy paste from one to the other machine...

But on Linux, I know that this would just make directories with the same name, thus making "Last modified" to be the date that the transfer happens.

Therefore, I asked ChatGPT. It suggested Rsync, which has a lot of benefits, like pure NAS to NAS communication, the ability to resume transfer if things got wrong...

And of course HexOS doesn't have that. Not saying it should, but I just happen to need it in this specific case.

Anyway, I went into TrueNAS, and set up Rsync. I'll spare the details since it's not really a HexOS topic, but I can say that it took several hours to figure out with constant waiting, it's not a pleasant experience.

And I'm just thinking, there should be an easier way right?

Like, TrueNAS scale is just Debian. Can't it just access SMB itself, copy the file into a directories, and use some parameters to keep the metadata? Or whatever, I don't know.

My point is, "I just set up a new NAS and now I want all my old NAS data here" is probably a common enough need that HexOS should have a default solution to.

That's about it. Thanks for reading.

@EviTRea, I support this. It's a pretty common use case. Migrating to HexOs should be as simple as using HexOs.

Posted

This would require to make setting up the rsync server easier, but then again the team could only make the receiver side easier, but the user would still need to figure out how to use rsync on their existing NAS.

  • Like 1
Posted

i'm thinking something similar to our smb instructions would be nice.
Just a few links with write ups on how to setup rsync on different platforms.

  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...