![]() So the way I understand it (and this seems to match with what is happening) this job would run when condition (hour=0 & minute=any & day=any & second=any) changes from FALSE to TRUE - i.e. Omitting the arguments (like I did not specify minutes/secods/days) means wildcard/any. The way it works is similar to crontab - once the conditions are satisfied the job will run – once. In fact, I think the ‘StartCalendarInterval’ may not be exactly right (as I understand the man page for ist) since it could run every minute of the 0th hour as currently written? Apparently I copied from that other plist and did a lousy job stripping it. The one under /Users runs once a day at midnight, to pick up stuff like iCloud photos and mail that got synced for other accounts. Per-user ones run once every hour but only for currently logged in user (owner of /dev/console). on remote servers, much like what Time Machine does on Mac. It comes with an easy-to-use GUI, and supports Dropbox-style sync to automatically upload new or modified files. My setup is slightly more complex that that - I have a separate repository for /Users and then each user gets its own repository under his/her ~ as well, all backing up to the same storage. Acrosync for Windows is a native rsync client for Windows that doesn't depend on cygwin. Good catch - I’ve copied from the wrong plist file apparently, sorry about that. I’ve also modified the launchd plist script to run every 3 hours vs. Third note - stdout and stderr as you can see from the plist are redirected to /tmp/duplicacy.* sh directly.Īnother note - duplicacy is so ridiculously fast that caffeinate is not really needed Note, you can safely remove “caffeinate” and “nice” from there - but I left it there for occasions when I run that. # After one year keep a version every monthĬaffeinate -s nice duplicacy prune -keep 31:360 -keep 7:90 -keep 1:14 # After 90 days keep a version every week # After two weeks keep a version every day duplciacy storage and call it from there. You can call duplicacy directly by the launchd, but for experimentation I’ve put all relevant code into. I have put launchd plist in the same folder and just made a symlink to it under /Library/LaunchDaemons/ "ssh_key_file": "/Users/myusername/.duplicacy/id_rda_duplicacy" Acrosync syncs entire folders with Linux, Mac, and NAS destinations without requiring the installation of server software. My duplicacy repository is my home folder /Users/myusername and hence all configuration and other data duplicacy keeps is in ~/.duplicacy/Īll other duplicacy related stuff (including SSH keys, launchd daemon, scripts, etc) I also keep there. I’m backing up to SFTP share with key-based authentication. I can describe my setup that works very well for a few months now.
0 Comments
Leave a Reply. |