Remote replication of large datasets

MrNaz

Cadet
Joined
Oct 8, 2018
Messages
7
I have a TrueNAS Core box with a 5tb dataset. I would like to replicate that to a remote TrueNAS Core box. Both boxes have similar specs and space.

I would like the replication to happen every 12 hours, which matches the period snapshot we have set up for every 12 hours.

The problem is that the internet connection at the source is only 40mb up, which is fine for the daily changes, but not enough to do the initial seeding. We'd be OK with the initial seed taking a week or two, but the problem is that if there is anything that disrupts the connection, it seems to have to start over. Is there a setting that will allow replication jobs to be fault tolerant? If not, what's the solution?

Physically taking the boxes together is not feasible.
 

spuky

Explorer
Joined
Oct 11, 2022
Messages
60
use a 10TB+ external drive send snapshots there ship / bring it to the remote location import snapshots... after that set up the sync... ?
 

MrNaz

Cadet
Joined
Oct 8, 2018
Messages
7
use a 10TB+ external drive send snapshots there ship / bring it to the remote location import snapshots... after that set up the sync... ?

That is not the right answer. It's 2023 ffs. I remember being excited about FTP getting resume support around a quarter of a century ago.

Is there no proper way of doing this reliably?
 
Joined
Oct 22, 2019
Messages
3,641
That is not the right answer. It's 2023 ffs. I remember being excited about FTP getting resume support around a quarter of a century ago.

Is there no proper way of doing this reliably?
I don't use the GUI to do send/recv (for other reasons that are out of scope.)

But I assumed the Replication Tasks configured in the GUI would use a "resume token"? It would be very odd if they don't. :oops:

Otherwise, you can do the first replication in the command-line (via SSH + tmux) and manually invoke a resume token; which will allow you to resume if the process aborts or gets interrupted.

Here's a forum post for reference:

(The linked post doesn't assume a remote transfer over SSH, so you'll have to include the "ssh" portions in your own commands. I left out the SSH stuff so that the commands don't get over-cluttered in the examples.)
 
Last edited:

bluonek

Dabbler
Joined
Oct 27, 2014
Messages
34
I've been testing replication strictly using the TrueNAS replication interface for the past week. It works excessively well and yes it does include a resume token.

OP - what issue did you run into? Are you saying after sending X GB's and losing connection, the retry started from scratch? Post a screenshot of your replication setup.
 

bluonek

Dabbler
Joined
Oct 27, 2014
Messages
34
shit, i just unknowingly necro'd - oh well.................................
 
Top