First of all. Love your content. I’ve learned a lot, and i’m still learning.
How to properly set up updates and backups.
- How you use rsync ( How you connect. My guess is: backup server connects to server to be backed up. So that if the server gets compromised they can not get the credentials to the backup server and delete the backups?)
- How to set up cron jobs for rsync, or do you use something else? (Script with all the rsync commands or do you write them in the cron table?)
- Correct permissions for the user you connect with. Since root login is disabled, how do you handle the permissions on the remote host to get access to all the files you need when your logged in as a regular user.
- How to get databases backed up. Do you copy the mysql files, or do a mysqldump with a cron job and download those files? (how to properly secure the mysql files with encryption if you use mysqldump)