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

Drupal: How to Create Backup of Site Files

Submitted by on July 16, 2010 – 9:04 amNo Comment

This article would tell you how to create backup of your Drupal-based site in different ways:

  • Using Unix command (you will need SSH-access for this)
  • Through site control panel
  • Downloading files by FTP from server

Using Unix command

  • Connect to server
  • Create compressed gz file: $ tar -zcvf project.tar.gz project (This will create compressed file `project.tar.gz’ of `project’ folder content)

Through site control panel

Hoster can provide tools for creating back up site copies.

Download files by FTP from server

If you couldn’t pack files on server, then you will need to download files as they are. This will take you long time!..

You will need to use FTP-client. In the application, you should select folders & files you wish to copy on your PC.

Note:
Database is changed more often than site files. So you can use synchronization method for making backup copy.

Files Synchronization

The point is that files are stored on local PC and server and all changes re made both on PC & Server at the same time.

Site files are changed not so often as database so admin should make changes both on local copy and on server. Then it is necessary to archive local copy with the latest changes and store it with other backup copies.

Here are files which are often changed on server:

  • files in /files (Drupal 5) folder and /sites/default/files (Drupal 6)

Changes Control

It is a good idea to track changes. For example, log all file changes in text file. You can also  use some version control system such as CVS, SVN etc.

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.