As a workaround, for now, I used https://github.com/sveinbjornt/Platypus to create a wrapper for the replicator script, and the dialogue showed up for that.
Post
Replies
Boosts
Views
Activity
Created a new .plist file, this time calling restic directly, but the dialogue still doesn't show up.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>co.jamespond.local-backup</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/restic</string>
<string>backup</string>
<string>--files-from</string>
<string>/Users/james/.config/restic/include</string>
<string>--exclude-file</string>
<string>/Users/james/.config/restic/exclude</string>
<string>--exclude-caches</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/opt/coreutils/libexec/gnubin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
<key>RESTIC_REST_USERNAME</key>
<string>X</string>
<key>RESTIC_REST_PASSWORD</key>
<string>X</string>
<key>RESTIC_REPOSITORY</key>
<string>X</string>
<key>RESTIC_PASSWORD</key>
<string>X</string>
</dict>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>13</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
<key>StandardErrorPath</key>
<string>/tmp/com.user.backup.err</string>
<key>StandardOutPath</key>
<string>/tmp/com.user.backup.out</string>
<key>ProcessType</key>
<string>Background</string>
</dict>
</plist>
The error is the same as before, dial tcp 192.168.50.229:8000: connect: no route to host.