---
title: "How to Create a Backup Using FTP"
description: "Backing up your website is a necessary step for all users. When you use an FTP client to backup your files to a local folder on your computer, you can summarize the process in three basic steps:..."
url: https://www.inmotionhosting.com/support/website/create-backup-using-ftp/
date: 2011-08-24
modified: 2023-01-27
author: "InMotion Hosting Contributor"
categories: ["Backups and Restorations", "Website"]
type: post
lang: en
---

# How to Create a Backup Using FTP

![How to Create a Backup using FTP - header image](https://www.inmotionhosting.com/support/wp-content/uploads/2023/01/ftp-backup-1024x538.jpg)

**Backing up your website** is a necessary step for all users.

When you use an FTP client to backup your files to a local folder on your computer, you can summarize the process in three basic steps: access and select your files with FTP, create or find a directory for your backup, download your website files to the directory you have created or selected.

You can also use FTP to backup your mail or database files. This tutorial is based on using cPanel for hosting the website. Access to the files using the cPanel user for your account is required.

- [Use FTP to Access Your Website Files](#ftp-access)
- [Create a Directory for Your Backup](#directory)
- [Download Your Website Files](http://download)
- [Other Website Files](#other)

## Use FTP to Access Your Website files

cPanel includes an easy feature to back up your website; however, if your site is very large, you’ll want to use an FTP client to download your website files. The process is quite easy, and in this article, we’ll show you how to back up your files using the Filezilla FTP client.

1. Download and install [**Filezilla**](https://filezilla-project.org). Check out our guide on [using Filezilla](https://www.inmotionhosting.com/support/website/ftp/getting-started-guide/) for assistance.
2. For the **host** value, enter example.com. For example, if your domain name is *domain-abc-123.com*, enter *domain-abc-123.com*
3. Enter your **cPanel username**.
4. Enter your **cPanel password**.
5. Type in the **Port number**. The default port number is 21, but you can leave the port blank here.
6. Click on the **Quickconnect** button to log in to your FTP account.![login section for FTP](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/1filezilla-top.jpg)
7. Once you log in to the FTP account, select your website folder and select your files. If you need help finding the location of your files, please see [Find the Document Root of your Website](https://www.inmotionhosting.com/support/website/where-to-upload-files/). The default location for a primary website account with an InMotion Hosting account using cPanel is the **public_html** directory.![Navigate to your website files](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/7Filezilla-select-server-files.jpg)

The top right window of Filezilla will display the folders on your server. The bottom right window will display the contents of a selected folder – not just the folders.

## Create a Directory for Your Backup

You can use the FTP client to create a directory to serve as the destination for your website files. You can also use a pre-existing directory and select it with FTP.

1. Use Filezilla to access your desktop.![Select your desktop](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/3filezilla-desktop.jpg)
2. Right-click on the folder at the top of the list in the lower left, then select **Create Directory**.![Create a new directory](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/4filezilla-directory.jpg)
3. Name the folder that is created on your desktop. I have named it “Website Backup-011823” below.![Create and name the directory on your desktop](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/5filezilla-name-dir.jpg)

Once the directory is created, you must select your website files. FTP clients allow you to choose files from a location (the source) and then move or copy them to a destination.

## Download Your Website Files

The final set of steps requires that you select your files (the source) and then copy them to the directory (the destination) you created previously.

1. Select your website files in the top right section. Note that this section of the FTP site is labeled “Remote site.” This ![navigate to your website files](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/7Filezilla-select-server-files-1.jpg)
2. Click** CTRL + A** to select all files.This will select all the files in that window. If you wish to select specific files (instead of all of them), then hold your **CTRL key** and then left-click on the files you wish to select.![Select the files to download to your local computer](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/8Filezilla-select-backup-dir.jpg)
3. Double-check to make sure that you have selected the directory you created earlier.
4. **Right-click** with your mouse on the selected files. Select **download** from the pop-up menu![Select Download to copy the files over](https://www.inmotionhosting.com/support/wp-content/uploads/2011/08/9Filezilla-select-download.jpg)

Your files will be copied to your local computer using Filezilla when the download is complete.

## Other Website-Related Files

### **Email**

You may also want to download your email. If that is the case, then you would need to find the Mail directory. Then you can download those files. The following instructions are based on cPanel-based accounts from InMotion Hosting.

1. **[Log in to your cPanel](https://www.inmotionhosting.com/support/edu/cpanel/how-to-log-into-cpanel/)**.
2. Go to **File Manager**.
3. Find the **mail** folder. It will be under the root of the user account. The user account below is “user5.” Click on the folder to see its contents.![Location of mail directory in a typical cPanel account](https://www.inmotionhosting.com/support/wp-content/uploads/2023/01/mail-directory.jpg)
4. Download the mail folder contents to back it up. You can use File Manager or an FTP client to download these files.

Note that the mail folder is not in the same location for all hosting services. Speak with your respective technical support team for further assistance.

### **Databases**

Your databases are not stored in the same directory as your hosting account. If you would like to download a backup of your databases separately, please see the following link: [Backup your database in cPanel](https://www.inmotionhosting.com/support/edu/cpanel/cpanel-backups/)

Remember that there are many files that make up your website, database, and email for your account. The time it takes to complete the backup with FTP will depend on the number and size of these files.

If you don’t have a backup of your site, you can try [restoring your content from the Wayback Machine](https://www.inmotionhosting.com/support/website/backup-and-restore/how-to-recover-your-content-from-wayback-machine-internet-archive/).

---

You can now backup your site using the Filezilla FTP client. Make sure to regularly backup your website files to help keep your backups current and relevant.
