sure, glad to help,
this is what i do and works well.
- create a batch file, just for the
rclone mount
command - create a task in task scheduler to run that batch file.
- use that task to start and end that rclone mount task.
to start a task via command line
schtasks /run /tn "mountx"
to end the task
schtasks /end /tn "mountx"
i do not use sqlcmd, but is that pointing to H:
whereas the rclone mount is Z:
?
also, if i had a choice, i would create a sql backup to local storage and rclone move
that backup to cloud, not using rclone mount
-allow-other
does nothing on windows, so i would remove that.