Drupal: .htaccess Access Deny
August 21, 2014 – 7:59 am | No Comment

In this article I will tell how to forbid access to certain resources for some clients. The instructions will include descriptions of different directives.

Read the full story »
CSS Templates

Contain reviews and news about CSS Templates.

Freebies

Contain freebies such as icons, graphics, headers and images for your websites.

Fun Stuff

Contains other fun stuff for entertainment or interesting site showcase.

How-To

Contain technical elaborations on some specific workarounds or common tweak.

Joomla Templates

Contains reviews and news about Joomla templates.

Home » How-To

How to Create Back Up Copy of Your Site Regularly

Submitted by on April 7, 2011 – 4:40 pmNo Comment

In this article, I would tell you in short how to regularly create a back up copy of the whole site.

Solution:

You can create back up copy of the database only or back up copy of database and files.

Database backup copy

mysqldump –quick -uUSER -hHOST -p’PASSWORD’ DATABASE | gzip -c > /FULL PATH TO FILE /SITENAME_sql.gz >/dev/null 2>&1

Files backup copy

tar -czvf /FULL PATH TO FILE/SITENAME_files.tar.gz /FULL PATH TO WEB SERVER ROOT/public_html/* >/dev/null 2>&1

Cancel output of information about execution and sending email

If you add ">/dev/null 2>&1" to the end of the command, you will cancel output of information in the time of execution and sending email with a completion report to the main domain address.

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.