Background task to periodically back up data into documents folder

Hi,

I have a need to run a job once or twice a day which will take data from our app and store it in the documents folder.

I need this job to run regardless of whether the app is open but not worried about it being exactly on schedule.

I have seen the plugin @capacitor/background-runner but I am trying to work out whether I can access the @ionic/storage plugin and a service I have built to access the storage as I need access to export this information.

Thanks for any help