Monday, 21 April 2025

Using RSync on OpenMediaVault

 Attach the backup disk.

Confirm the device name and serial from Storage > Disks.

Mount an existing file system. Select the correct mount point (e.g. /dev/sdb2).

Apply the changes.

Create a shared folder:
Name: Data2
File system: /dev/sdb2
Relative Path: Data/

Create an Rsyn Task: Services > Rsync > Tasks

Type: Local
Source: Data
Destination: Data2
Delete: <optional>

The mount point can be accessed from a shell terminal at:
/srv/dev-disk-by-uuid-<uuid>

to query the number of files enter:
find . -ls | wc -l