Drupal: How To Create A Backup Copy Of Your Site Files
As it follows from the title of this article, I would tell you how to create a backup copy of files of your Drupal-based site. I will tell three different methods to do that.
Making backup copy using Linux (SSH-access required)
- Connect to your server
- Create a compressed file:
$ tar -zcvf project.tar.gz project
(A compressed file `project.tar.gz’ with content of the `project’ folder will be created)
Making backup copy via site control panel
A hoster of your site could provided tools for creating site backup copies. Ask them.
Downloading files from your server via FTP
If you couldn’t compress the files on the server for some reason, you should to download the files as they are. This is a long story, please have patience to do that.
You will need an FTP client. Open it and choose what exactly folders and files you do want to copy to your PC.
Tip: Files on a site almost aren’t changed comparing to the database. Therefore you can use synchronization method for creating backup copies.