por Ken Task.
First ... comment: that sure is an awefull long command to type in!!!
Suggest changing into:
cd /volume1/web/tbcmoodle/admin/cli/
First and issuing php -v
to assure you are finding php 8.2 cli.
If so, then issue without sudo
php ./backup.php --courseid=60 --destination=/volume2/Volume2/moodle_backups/moodle_course_backups/
Make sure there is a / at the end.
'SoS', Ken