How to Exclude Files from Backup in cPanel

June 15, 2022 / cPanel & WHM

In this article, we have explained how to exclude files from a backup of a cPanel server. Data from all web files on a server is usually saved as part of backups.

You can exclude particular files from the backup if you host on a cPanel server.

Let us follow the steps to eliminate files from a backup of a cPanel:

1. Log in to the cPanel account.

Login

2. Select the “Files” section.

3. Click on the “File Manager” option from the left-hand side of the screen.

File Manager

4. A new interface will open.

5. You can create a new file using the “+file” option from the top left-hand side of the screen.

File

6. Enter the “New File Name” as “cpbackup-exclude.conf”.

7. Enter the path where the new file will be created.

8. Click on the “Create New File” option.

Create New File

9. You will find that the file is created.

10. Select the newly created file, right-click on it and click on the “Edit button”.

Edit button

10. Copy and paste the code into the file.

Copy and paste

11. Click on the “Save Changes” button.

Save Changes

12. The backup system will eliminate these files and directories for all users.

In this way, you can eliminate files from the backup of a cPanel server.

For more information contact our support staff. Don’t miss out to check our latest web hosting plans.

Spread the love