Can someone enlighten me how you do maintenance on your server?
I would be interested in any scripts you use.
For instance, how to copy/sync folders automatically etc.
For what tasks exactly? Backups?
Anything. I rarely see ANY scripts and since I'm so poor (read=lazy) at making them my self I'd like to see some that you members find useful.
Backup is good (although I suspect most people use other software like BackupPC or Amanda to do it.)
I'm currently looking a way to ease my life with multiple Joomla updates.
Every time an update comes by I have to extract the zip file and do a copy to all folders under /var/www/domain1.com/web/ folder and then domain2 etc.
Also a script to backup databases to each domain's tmp folder would be a really great.
Anything really. Open stuff is so great because you can just take what you want and modify it to suit your needs.
For backups, I'm using a combination of these two tutorials:
I use a couple real simple scripts for backup. They are on cron jobs. The one to copy the websites and database runs every night. They system backup runs once a week. Right now I move the older backups to a different folder then delete them manually but will change it to automatically delete older ones (to not fill up the disk). Note that the location of the backups is a different physical disk than the data being backed up.
Note: Reading Falkos tutorial is a better way of course to back up the mysql databases. I have so little traffic that I'm not very concerned with the data changing while it's being backed up. I may implement the slave mysql server if I have that concern.
|All times are GMT +2. The time now is 08:32.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.