How to Create an FTP Backup in cPanel

Introduction

At Lanetti, we know how critical it is to safeguard your website data. Creating an FTP backup through cPanel is a reliable way to store copies of your files and databases securely. This guide will help you set up and automate FTP backups, ensuring your website data is always protected.

 

What Is an FTP Backup?

An FTP backup involves transferring your website files and databases to a remote server or storage location using the File Transfer Protocol (FTP). This method ensures you have an offsite backup to restore your website if needed.

 

How to Create an FTP Backup in cPanel

Step 1: Log in to cPanel

  1. Open your browser and navigate to your cPanel login page (e.g., https://yourdomain.com/cpanel).
  2. Enter your username and password, then click Log in.

Step 2: Access the Backup Wizard

  1. In the cPanel dashboard, locate the Files section.
  2. Click on Backup Wizard.

Step 3: Start the Backup Process

  1. In the Backup Wizard, click Backup to begin.
  2. Choose the Full Backup option to create a complete backup of your website files, emails, and databases.

Step 4: Configure the FTP Backup Destination

  1. In the Backup Destination dropdown menu, select Remote FTP Server.
  2. Fill in the FTP details for the destination server:
    • Remote Server: Enter the hostname or IP address of the FTP server.
    • Remote User: Enter the FTP username.
    • Remote Password: Enter the FTP password.
    • Port: Use the default FTP port 21.
    • Remote Directory: Specify the folder where the backup will be stored (e.g., /backups/).

Step 5: Start the Backup

  1. Click Generate Backup to initiate the process.
  2. cPanel will compress your files into an archive and transfer them to the specified FTP server.

How to Automate FTP Backups

Step 1: Set Up a Cron Job

  1. In cPanel, go to the Advanced section and click Cron Jobs.
  2. Define the schedule for your backup (e.g., daily, weekly).
  3. Add a command to create and transfer backups automatically. Example:
     

                      /usr/local/cpanel/bin/backup --send-ftp --destination /remote/backup/folder

Auttoiko artikkeli teitä? 0 käyttäjistä hyötyivät artikkelista (0 Äänet)