![]() Periodically run a lambda function to check the age of the marker files and send an alert if too old. If one user has multiple backup destinations pass an additional argument to the script /Users/Shared/arq-finish.sh photoĪPI_KEY = `/usr/bin/security find-generic-password -a arq-finish-api-key -w ` ARG = $ /usr/bin/curl -header "x-api-key: $API_KEY " -upload-file - $URL Set Arq -> Preferences -> Destinations -> (Select) -> Edit -> Before and After Backup -> Run shell script after backup completes to /Users/Shared/arq-finish.sh.Tell Arq to execute the shell script after each backup completes.Give world execute, chmod 755 /Users/Shared/arq-finish.sh.See code below, set the base URL of the API.Create shell script arq-finish.sh to upload the marker file to S3 via API Gateway./usr/bin/security add-generic-password -a arq-finish-api-key -s arq-finish-api-key -w zzz -U -T /usr/bin/security.Optionally set custom domain for the API.Set the API Gateway method to require the API Key.Create an API Gateway service that integrates to S3 to upload the file.Create a service role for API Gateway that allows s3:PutObject into this bucket.Create a new bucket to hold marker files arq-example-monitor.Write a marker meta-data file to AWS S3 after completion of each backup. I have constructed a two-part solution, Backup Marker and Lambda Monitor Backup Marker One challenge is to make sure backups are running successfully for each user on each computer. Security of backups (client side encryption) When it gets backed up (scheduling, pause during hours) What gets backed up (folder selection, exclusion rules) ![]() It works great, is fairly cheap, and gives you a high level of control over I use Arq Backup for all the users of the many computers we have in the house. ![]() Arq Backup is a great personal backup product that lets you backup your Mac to your cloud storage provider of choice ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |