Making backups on a Mac is easy with rsync. Follow these instructions to backup your forum from web host server to your Mac.
The follow four commands are run when you log into your terminal as root. Each command will ask for your root password.
The
The
The
The
The follow four commands are run when you log into your terminal as root. Each command will ask for your root password.
The
-p 2200
may not be needed, I use it because KnownHost requires it.The
123.123.123.123
you will change this to your IP address.The
/home/username/public_html/
will be the path to your XenForo directory.The
/Volumes/Ext1/internal_data
will be the path to your external device on your Mac.
Code:
rsync -av --delete --rsh='ssh -p 2200' 'root@123.123.123.123:/home/username/public_html/internal_data/attachments' /Volumes/Ext1/internal_data
rsync -av --delete --rsh='ssh -p 2200' 'root@123.123.123.123:/home/username/public_html/data/avatars' /Volumes/Ext1/data
rsync -av --delete --rsh='ssh -p 2200' 'root@123.123.123.123:/home/username/public_html/src/addons' /Volumes/Ext1/data
rsync -av --delete --rsh='ssh -p 2200' 'root@123.123.123.123:/home/username/mysql_backups/backup.sql' /Volumes/Ext1/mysql_backups