Apple's backup software, how

How can i get a libary like rsync or rclone. Thinking sbout it, its possible due to the framwork used with Time Machine. I could go about it with python but i would like to try with swift. I am trying to make sure my webserver is always backed up incase of a issue.

Replies

rsync is already installed on your Mac. You can invoke it from Python, or any shell language, Tcl, Perl, etc., at least as a system command. Can also do it with C, Obj-C, C++, Obcj-C++, Swift using various system process frameworks like standard C library, C++ library, Swift Foundataion, etc.. You use the "man" command to get the skinny on you to use rsync.


Time Machine uses private frameworks not available for the public. But, if you have a Mac for backup, you can set it up as a Time Machine server.

Thank you buddy! You have helped me greatly. Currently im learning the language and im so overloaded haha.