by Ken Task.
What is EKS?
Try
select * from mdl_files where filearea = 'backup';
Instead
You could setup a file system repo in moodledata/repostitory/ that's a symlink to your chosen destination
cd /path/to/moodledata/
IF there is not a repository directory create one ...
mkdir repository
chmod ugo+rwx repository
cd repository
ln -fs /moodlebackups/ autobackups
Have to set up that repo in Moodle admin interface then.
When you go to browse files for restores, your 'autobackups' should show at bottom of the choices for file resources in left column.
'SoS', Ken