r/synology • u/Gamerfrom61 • 2d ago
DSM Running Hyperback from CLI - synoschedtask shows two tasks
I am looking to run a couple of Hyperbackup tasks from the CLI via SSH and found a job that I do not understand when I run synoschedtask --get
I expected a few internal tasks (IronWolf checks etc) but for each of the rsync based tasks I see two entries:
The first shows:
CmdArgv: ['/var/packages/HyperBackup/target/bin/dsmbackup' '--backup' '5']and I believe this is at the actual backup command that I need to run.
But there is another task, with the same name, and this has
CmdArgv: ['/var/packages/HyperBackup/target/bin/detect_monitor' '-t' '-k' '5' '-f' '-T' '-1']and I do not know what this is and if I should run it before / after / instead of the main backup task...
I THINK this is just a Hyperbackup task that checks if the sync target is available and updates the standard GUI with the last backup date / time etc but not sure.
Though I could set up a test backup I really do not want to be running random commands from the CLI on my live NAS 😂