Maybe support local target rsync?

Hello:

I wondering why there is no such local backup feature in DataProtection/Rsync.

Feature descibe:

Add local path mode for Rsync Task feature.

Reason for this sugest:

  • Cron jon can’t recognized as backup task.
  • Install rsyncd localy with module is overhead

My work around is setup a cron job, But because recognized issue, The backup wiget or TrueNAS think there is no any protect of data.

What advantage does this gain as opposed to just using ZFS snapshots?

1 Like
  1. It’s a fallover not a fully snapshot
  2. Snapshot is not working offline
  3. Snapshot is not human readable

TrueNAS snapshots require a fully function system, In extrema case: If everything break, Move the fallover disk to another PC, Then read it. Not everyone goes enterprise, The fallover is mean data already has many layer backup or just not that important. Use plain rsync as a cheap replacement of snapshot and it’s invisiable cost ( Recovery need a brand new server and samesize disks) which is too much.

I think you are losing a lot in translating what you mean or you really don’t understand ZFS file systems, snapshots, etc.

If you just want a simple copy of data (not zfs protected), you can just share (SMB) to a Windows computer and use Robocopy command to copy, purge deleted files, etc to the Windows computer. You can even plug in a usb hard drive, do the Robocopy with the options you want and then disconnect the usb drive and take it somewhere else.

Browse the documents section linked. There is a ZFS primer etc. TrueNAS might not be the correct choice for what you are looking for in a NAS.

No. I didn’t using any translate. I mean what I mean

The hole point is never the snapshot or what ever. The question is:
TrueNAS thinkg you have no any backup and won’t show task result in dashboard.

1

But since even offical think its stupid, Any talking is meanless.

But just in case if you curiosity: The inject server (outdoor small server with four 2280ssd and one 3.5hdd) use SSD(NFS/SMB) accept client data, And clients(00:00) → SSD → local backup to hdd(02:00) → upload to another country.(04:00). And central server is already using snapshot with PB level storage. Repair the edge server need be as simple as possiable. A virtual machine can read plain zfs data with SATA to USB cable is the best.

I wonder how it would behave if you choose “SSH” and use the address 127.0.0.1

Rsync task support only ssh or module. If you want it shows in dashboard. there is no other way.

Just forget it.

The address 127.0.0.1. is the local server.

1 Like

I may be miss understanding the concept but, what’s wrong with a module (I’d try 127.0… too, but I think rsync is bit overkill for local backups to be honest)?

But at the same time, if you’re just backing up local, why not just use tar and cron (I use a simple tar/copy script and cron all the time)?

Modules (Rsync Service / Daemon) were removed from SCALE.

From the UI (I mean rsyncd.conf is modules)?

Nobody said they think it’s stupid. But I similarly wonder what benefit you think this would provide compared to ZFS replication–is it just that it shows up in the dashboard?

That said, I do think it’s a demonstrably inferior backup mechanism even if we look beyond the obvious efficiencies since it will potentially strip file metadata (ACLs, xattrs, file birth time, etc).

About the only reason is to support backing up a subset of a dataset, ie a directory.

This probably means your data layout needs reevaluation.

I don’t think anyone is arguing that zfs snapshot is the more effecient tool to use but I don’t think I understand the OP’s request/needs enough to comment.

But I was trying to look up the comment about “modules being ommited in SCALE” because I’m almost positive I still have rsyncd tasks running on my laptop(s) and pulling the data with my TrueNAS system (actually, I just checked and I have three modules defined on my laptop).

The following screen shot shows modules. Are they gone now?

You can still send to another server that is running rsyncd / modules.

But they removed it from SCALE as a service.

No more “Rsync Service”. (No Modules, no rsyncd.)

These are screenshots from Core 13.3. You’ll notice they are missing from SCALE.

rsync-service

rsync-modules

We may need a side-bar here (going a little off topic) but: “whoa?! Not cool, man. Not cool!” For example kids photos syncing from my laptop to my server (that’s the simplest rsyncd module on my laptop). How am I supposed to get photos on my NAS (“drag-n-drop like it’s 1999”)?

Okey. Let’s start over, Forget my company’s system or any othere demo and sorry for my rude.

  1. It will shows on dashboard, Check status is very easy.
  2. Rsync can choose any folder to any folder.

Not eveyone has a cool server with 256 cpu and 1TB memory with contless helium disk stack all the wat to the roof.

AFIK, I have a lot non-nerd friends, They build NAS for simple backup or PhotoPrism maybe. They are using tiny factor device like optiplex nano. Only one nvme and one 2.5. Snapshot feature is too heavy to their usage.

For extra safe, Most of them plug a USB portable disk for daily rsync failover. The raw data (photo or what ever) is important, And system/software lost is acceptable: Just back stone age, Nothing really damaged.

And about the “2”, I mean there is hole page about rysnc task, Add dropdown item, Add a form for local target, And even there already some layout and API in the replication tasks.

So I think it’s the simple way to implements. I mean, Its a feature request so I should provide the simples demo or concept.

I know it’s a design philosophy question: What TrueNAS want be? Focus on adopted professional storage system with only proper device and data layout OR something flexable can fit into any scale server and warn user “That’s not good But if you want, Risk on you own”.

rsyncd is available as an app instead of a builtin service, which decouples updating it from version release cycles.

Ah! Thanks for the clarification. Makes perfect sense.