If you want to delete log files or folders in /var/log directory which are older than 200 days then you can follow the below steps
To list the files which are older than 200 days
#find /var/log -mtime +200
After verifying ,you can delete those files/folders
#find /var/log -mtime +200 -exec rm {} \;
Full story
Here is the sample shellscript to take backup of all batabase
{code codetype=php}
#!/bin/bash
export DB_BACKUP="/backup/mysql_backup"
Full story