Backup to a NFS share - lower SD Card writes

Hi,

I ask me if it is possible to create the backups directly to a network share like NFS instead of writing it to a local file. I like to avoid unnecessary writes to my Raspberry PI SD Card. I now that there are some Backup plugins to e.g. copy the created file to WebDAV but is there anything against mounting a share to the backup folder?

If there is nothing against I would perhaps write a little plugin to check mount status before starting the backup (if there are events available, etc. etc.)

Cheers,
Nils

It wouldn't be unheard of to symlink the backup folder ~/.octoprint/data/backup to a NFS share and there are events that you can use to validate the access: Backup Plugin β€” OctoPrint master documentation.

I would be willing to add that into my backup scheduler plugin if you wanted to submit a PR.