Overview
It's good practice to have a local backup of your site. In order to do this, you'll want to backup your website data using a third-party FTP client or a specialized backup tool. Below you'll find a list of some common applications you can use. This list is not comprehensive; there are other tools available that would work equally well.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
Files
Site files, images, coding, etc can be backed up using FTP. If you'd like information on how to connect to your server using FTP, as well as some popular FTP clients, feel free to check out the links below:
Once you've connected to your domain/server. Navigate to the desired domain and download its /html folder your computer, which will contain the majority of your site files.
The example below is using FileZilla:
UNIX/OS X
Although there are very different ways you can backup your data in a *NIX environment, most choices are based on rsync. The rsync command is a very powerful shell tool that can be coupled with cron to provide an automated backup solution. We suggest looking at the wealth of online resources available for using rsync.
Databases
More and more sites are database-driven these days. If your website relies on a database, then you have more to do than simply backing up your html files. There are several ways to backup a MySQL database; the most common are phpMyAdmin and MySQLDump. For more instruction on either of these methods, we recommend checking out the "export" sections from the article below:
NOTE:
Please do not keep copies of your database in any of your Domains/html directories as that content is accessible to your site visitors.
Comments