Do we (or can we) have any provisions to start a backup from the command line? It would be super-useful if I could manage one with a cronjob – run the backup template from a script, grab the output, hustle it somewhere or other.
Importing the backup via command-line would also be amazing, but I acknowledge it might be pushing my luck.
Thanks, Daniel, but that’s not quite what I meant. OpenEMR has an internal backup facility, or at least I understood that it does, that creates tarballs containing the patient records and documents. That’s what I meant to try to get access to.
Ah, I see. What I’ve done in the past was have an S3 storage and run a cron job that rsyncs the site/default folder nightly. You don’t have to use S3 but any external drive will do.