cPanel
Learn how to use cPanel with Filebase.

What is cPanel?

cPanel is a site and server management platform. cPanel provides the tools needed to create and automate all server management tasks.
cPanel is certified for use with Filebase. Read below to learn how to configure cPanel to be used with Filebase.

Prerequisites:

  • Download and install cPanel on your server.
  • Have your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase Bucket. Learn how to create a bucket here.

1. After installing cPanel, open the S3.pm file located at a file path similar or identical to:

/usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Amazon/S3.pm

2. Change the following line to reflect s3.filebase.com instead of s3.amazonaws.com:

$self->host('s3.amazonaws.com') if not defined $self->host;

3. Change the following line to reflect s3.filebase.com instead of 's3-' . $error_hash->{'Region'} . '.amazonaws.com':

$self->host( 's3-' . $error_hash->{'Region'} . '.amazonaws.com' ) unless $called_from_redirect;

4. Open the cPanel web interface on your server at http://[ip-address]:2087 and log in with your cPanel credentials to activate your license.

5. Activate your license and complete the configuration prompts before arriving at the admin dashboard.

6. Expand the navigation menu and scroll down to the ‘Backup’ category, then select ‘Backup Configuration’.

7. Select the ‘Additional Destinations’ tab and select ‘S3 Compatible’ from the drop down menu for ‘Destination Type’. Then select ‘Create New Destination’.

8. Configure the following information:

  • Name: Filebase
  • Folder Name: Optional location for system backups
  • S3 Endpoint: s3.filebase.com
  • Bucket: Your Filebase Bucket
  • Access Key ID: Your Filebase Access Key
  • Secret Access Key: Your Filebase Secret Key

9. Validate your configuration.

You will now see Filebase listed as a Destination.

10. Select the ‘Backup Settings’ tab, then select ‘Enable Backups’ and configure any desired options.

11. Save your configuration. cPanel is now configured to back up to Filebase.

If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 25d ago