Web Applications
- Web Application Planning
- PHP vs ASP.net Comparison
- Web Application Development Process
- Guide to Web Application Development
- Internet Database Development
- PHP & MySQL Development
CMS Applications
- What is Content Management System (CMS)
- Drupal vs Joomla vs WordPress CMS Comparison
- Enterprise CMS Comparison - Summary
- Enterprise Content Management System vs Open Source CMS - Detailed Guide, Security, Performance Statistics
- Pros and Cons of Wordpress, Joomla, Drupal
eCommerce Applications
- Enterprise eCommerce Platform Comparison
- Magento vs OScommerce vs Zen Cart Comparison
- Best eCommerce Software
- eCommerce SEO
Business Planning for Web Projects
- Internet / Online Business Ideas and Strategies for Entrepreneurs
- Web Development Cost Comparison
- Hiring a Web Application Company Considerations
- How to Hire a Good Web Application Development Company
- Challanges for hiring Offshore Web Development Company
- Guide to Merchant Account Payment Gateways
- e-Business Strategy and Process
Server Management and Hosting
- Dedicated / Managed Hosting Comparison
- Shared Hosting vs Managed Hosting
- Domains, DNS, Web Hosting, Email
- Domain Name System and DNS Servers
- All About Domain Name Registration
Backing up with rsync & crontab
Open terminal and type:
sudo tcsh
nano ~/backupscript
Type the below script. This checks to see if there is a backup drive: "/Volumes/backup" connected
#!/bin/bash
if [ -d /Volumes/usb-backup/backup ]
then
rsync -a /Users/robert /Volumes/usb-backup/backup/robert
exit 0
else
exit 0
fi
More rsync examples:
rsync -a root@host.comentum.com:/home/ /Users/serverbackup/
rsync -a :/home/ /backup/serverhome/
chmod +x ~/backupscript
nano /etc/crontab
And add one of the following lines depending on your situation. This schedule the backup on 1am every day.
Remote Host backup with linked PATH to mysqldump:
0 1 * * * mysqldump -h mysql.host.com -uusername -ppassword --opt database > /path/to/directory/filename.sql
Remote Host backup:
0 1 * * * /usr/local/mysql/bin/mysqldump -h mysql.host.com -uusername -ppassword --opt database > /path/to/directory/filename.sql
Local Host mysql backup:
0 1 * * * /usr/local/mysql/bin/mysqldump -uroot -ppassword --opt database > /path/to/directory/filename.sql
(There is no space between the -p and password or -u and username - replace root with a correct database username.)
Backing up MySQL Database using mysqldump & crontab
Open terminal and type:
sudo tcsh
pico /etc/crontab
or
nano /etc/crontab
And add one of the following lines depending on your situation. This schedule the backup on 1am every day.
Remote Host backup with linked PATH to mysqldump:
0 1 * * * mysqldump -h mysql.host.com -uusername -ppassword --opt database > /path/to/directory/filename.sql
Remote Host backup:
0 1 * * * /usr/local/mysql/bin/mysqldump -h mysql.host.com -uusername -ppassword --opt database > /path/to/directory/filename.sql
Local Host mysql backup:
0 1 * * * /usr/local/mysql/bin/mysqldump -uroot -ppassword --opt database > /path/to/directory/filename.sql
(There is no space between the -p and password or -u and username - replace root with a correct database username.)
Comentum Corp
6222 Ferris Sq.
San Diego, CA 92121
Phone: 619-990-1212
Hours: Mon. - Fri., 9 a.m. - 5 p.m. PST
Contact Us »
Mobile App Development
iPhone, Google Android, BlackBerry, Windows Mobile
In-house development team.
San Diego, CA, USA.
Web App Estimator
Select and unselect modules such CMS or eCommerce for your web application and watch the cost update in real time.
Try It »