MacOS

From UVOO Tech Wiki
Jump to navigation Jump to search

Backup Software Methods

I prefer using rsync tunneled in ssh from client to my server and then use zfs snaps or you could use rdiff-backup on my openssh server/backup host to do time based backups. Really simple to setup. It works and you don't have to deal with the BS of other software backup tools.

rdiff-backup

https://www.nongnu.org/rdiff-backup/

Debian/Ubuntu Install

apt install rdiff-backup

rdiff-backup on MacOS

http://macappstore.org/rdiff-backup/

rdiff-backup+rsync cmds

bkp_server=fqdn.org rsync -avz --relative --delete -e "ssh -i id_rsa -p 22" --progress ${username}@${bkp_server}:${src_dir} ${current_dir}/${hostname}/

ssh rdiff-backup ${current_dir} ${time_series_dir}


Apple Backup Methods using Time Machine

Time Machine Backup to directory, fileshare or nas mount

https://smekkley.wordpress.com/2014/01/18/time-machine-via-nfs-on-mavericks/

Using backups from share

You will want to make sure your fileshare is mounted

run from terminal

do shell script "hdiutil attach /path/to/your.sparsebundle -notremovable" with administrator privileges

https://superuser.com/questions/285225/how-to-make-timemachine-back-up-contents-of-any-path-or-mounted-volume

Other options but you have to install heavier software

https://www.duplicati.com/download