TrueNAS Hub
Isometric NAS server with glowing pink drive bays sitting on a neon pink circuit platform with connected nodes, evoking storage replication links
data-protection

TrueNAS Replication Task Setup Guide: Local and Remote

Set up local, push, or pull replication in TrueNAS 25.10. Verify your first backup, test a restore, and learn how to pause scheduled runs.

By TrueNAS Hub Editorial · · 7 min read

Set up a TrueNAS replication task in Data Protection > Replication Tasks. Choose local replication for datasets on one NAS, push to send snapshots to another NAS, or pull to fetch them from another NAS. To pause an existing task, turn off its Enabled switch.

What do you need before creating a replication task?

  • On the receiving NAS, open Datasets, select the parent, and click Add Dataset. Enter a Name and click Save. If you reuse an existing dataset, back up any snapshots you need to keep. TrueNAS dataset tutorial · TrueNAS local replication tutorial
  • For a remote pull, set up a periodic snapshot task on the sending NAS. Open Data Protection, click Add on Periodic Snapshot Tasks, select the source dataset, and set its schedule and lifetime. Note the Naming Schema, click Save, and wait for the first matching snapshot. The wizard can create snapshots on the local source for local replication or a push. Snapshot schedule guide · TrueNAS periodic snapshot tutorial

How do you prepare the remote SSH account?

Skip this section for local replication. For a push, the remote SSH account is on the receiving NAS. For a pull, it is on the sending NAS. Prepare the account before opening the wizard. TrueNAS remote replication tutorial

  1. In Credentials > Users, edit the administrator account on the remote NAS. Under Home Directory, select Create Home Directory and choose a dataset if the account still uses /var/empty. Enable SSH Access.
  2. Under Sudo Commands, select Allow all sudo commands with no password and save. This grants the remote account passwordless administrative access.
  3. Go to System > Services, edit SSH, enable Allow Password Authentication, and save. Start or restart SSH. Select Start Automatically to start SSH after a reboot.

How do you add the SSH connection?

On the NAS where you will create the replication task, open Credentials > Backup Credentials. Click Add on the SSH Connections widget and fill in the following fields. TrueNAS SSH screens

FieldWhat to enter
Connection NameA name you can recognize in the wizard.
Setup MethodSemi-automatic (TrueNAS only).
TrueNAS URLThe remote NAS address, including the URL scheme.
Admin Username and Admin PasswordThe remote web interface login. Enter the One-Time Password if two-factor authentication is enabled.
UsernameThe remote SSH account prepared above.
Private KeyGenerate New, or select an existing SSH key pair.

Click Save to exchange keys. Open the connection’s key pair under SSH Keypairs and copy its Public Key. On the remote NAS, check that Public SSH Key on the SSH account matches it. Paste the public key and save if needed.

For an offsite NAS connected over a tailnet, use the Tailscale TrueNAS replication instructions to configure network access between the systems.

Fill in the replication wizard

Open Data Protection and click Add on Replication Tasks. In What and Where, choose the locations that match how you want the task to run. TrueNAS replication task screens

ModeCreate the task onSource LocationDestination LocationSSH connection
LocalThe NAS with both datasetsOn this SystemOn this SystemNone
Remote pushThe sending NASOn this SystemOn a Different SystemTo the receiving NAS
Remote pullThe receiving NASOn a Different SystemOn this SystemTo the sending NAS
  1. For a remote task, select the saved SSH Connection. Choose Use Sudo for ZFS Commands for the non-root administrator setup above.
  2. Select the Source dataset and the prepared Destination dataset. For a pull, use Naming Schema to enter the source’s snapshot naming pattern. Select Recursive if the source snapshots include child datasets you want to copy. Give the task a recognizable Task Name.
  3. Click Next. Under When, choose Run On a Schedule and select a Schedule.
  4. Set Destination Snapshot Lifetime. Same as Source uses the source snapshot lifetime. Custom sets a separate lifetime. Never Delete turns off automatic expiry by this task. Click Save.

Run the task and check the destination

  1. On the saved task, choose Run Now > Continue. Click the task’s State to open Logs. Check for SUCCESS when the run finishes.
  2. On the receiving NAS, open Datasets, select the destination dataset, and click Manage Snapshots on its Data Protection widget. Look for the copied snapshot by name. Use Show extra columns to compare creation dates if needed.

The first send to an empty destination transfers a full snapshot. Later sends can use a shared snapshot as the base for an incremental transfer. TrueNAS retention preserves the latest replicated snapshot so replication can pick up again. Leave the shared snapshot in place on both systems. OpenZFS send reference

Which advanced settings should you change?

Expand the task and click Edit to adjust its advanced settings. To bind a local or push task to a specific source schedule during setup, open Advanced Replication Creation and choose it under Periodic Snapshot Tasks. Match Recursive and Exclude Child Datasets to the chosen snapshot task. TrueNAS advanced replication tutorial

  • Destination Dataset Read-Only Policy > Set makes the destination read-only after successful replication.
  • Save Pending Snapshots protects source snapshots that have yet to replicate from automatic expiry. Use it on a push task when replication failures could outlast the snapshot lifetime.
  • Replication from Scratch can destroy the destination dataset and its snapshots before a full send. This happens when the destination already has snapshots, there is no usable common snapshot, and the task has snapshots to send. Leave it off for a normal first run. Before enabling it, verify the destination path and back up any destination data you need elsewhere. TrueNAS replication engine source

For encrypted datasets, keep the key or passphrase accessible for the restore drill. A locked destination must be unlocked before you can read its data. TrueNAS encrypted replication tutorial

How do you test a restore?

To verify a local or remote copy, open Manage Snapshots on the receiving dataset. Expand the snapshot you want to test, choose Clone to New Dataset, give it a distinct name, then click Clone. Click Go to Datasets and open sample files from the clone using your normal file access. TrueNAS snapshots reference

To copy a backup into a separate dataset, open the original replication task and choose Restore. Give the restore task a new name and choose an empty dataset for Destination. Click Restore, then on the new task choose Run Now > Continue. Check for SUCCESS and open sample files in the restored dataset. Keep the live dataset out of the restore path. TrueNAS replication task screens

For app data, see the k3s to Docker app migration guide.

How do you stop a replication task?

On the NAS that owns the task, go to Data Protection and click the Replication Tasks widget heading. Expand the row and match Source Dataset and Target Dataset before making changes.

What you want to doWhere to click and what to expect
Pause future runsIn the task’s Enabled column, turn the switch off. If the column is hidden, use Columns > Enabled to show it. Turn the same switch back on to restore scheduling.
Check a running transferOpen Running Jobs in the top toolbar and select the replication job. TrueNAS 25.10 offers no Abort button for the replication job. A transfer already in progress can continue after you turn Enabled off.
Remove the taskExpand its row and click Delete. Select Confirm and click Delete in the dialog. This removes the task configuration. Replicated snapshots stay on the destination.

TrueNAS replication list source · TrueNAS top toolbar reference

Disabling replication leaves the separate source snapshot schedule active. TrueNAS requires the task to be enabled before Run Now can start a manual transfer. To check an active run after disabling the task, return to Running Jobs. TrueNAS replication job · Job abort settings · Scheduler integration · Replication scheduler

What should you check if replication stalls or fails?

On Data Protection > Replication Tasks, click the affected task’s State to open Logs. Use Download Logs to save a copy. Match the error against the task settings before starting another run. TrueNAS replication task screens

What the log points toWhat to check
SSH connection or permission failureCheck that SSH is running on the remote NAS. Verify the SSH Connection, the account’s Public SSH Key, and Use Sudo for ZFS Commands.
No snapshots matchCompare the snapshot names on the source with Naming Schema. For a linked snapshot task, check Recursive and Exclude Child Datasets.
No incremental baseOpen Manage Snapshots for the source and destination and check for a shared snapshot. For a new full copy, select a separate empty destination to preserve the old backup.

After correcting the issue, make sure the task is enabled, then click Run Now > Continue. Verify the result in State and confirm the new snapshot on the receiving NAS.

Evidence and limits. The steps were drawn from the TrueNAS 25.10 documentation. Job controls were checked against the 25.10.8 source code. No steps were run on a TrueNAS system.

Sources

  1. Adding and Managing Datasets | TrueNAS 25.10 Documentation Hub
  2. Setting Up a Local Replication Task | TrueNAS 25.10 Documentation Hub
  3. Adding Periodic Snapshot Tasks | TrueNAS 25.10 Documentation Hub
  4. Setting Up a Remote Replication Task | TrueNAS 25.10 Documentation Hub
  5. SSH Screens | TrueNAS 25.10 Documentation Hub
  6. Access TrueNAS SCALE from anywhere | Tailscale Docs
  7. Replication Task Screens | TrueNAS 25.10 Documentation Hub
  8. zfs-send.8 | OpenZFS documentation
  9. Advanced Replication Tasks | TrueNAS 25.10 Documentation Hub
  10. TrueNAS 25.10.8 replication engine
  11. Encrypted Replication | TrueNAS 25.10 Documentation Hub
  12. Snapshots | TrueNAS 25.10 Documentation Hub
  13. TrueNAS 25.10.8 replication task list
  14. Top Toolbar | TrueNAS 25.10 Documentation Hub
  15. TrueNAS 25.10.8 replication middleware
  16. TrueNAS 25.10.8 job decorator
  17. TrueNAS 25.10.8 scheduler integration
  18. TrueNAS 25.10.8 replication scheduler

Related