The short answer
To get your website files from your hosting company, log in to the control panel and run a full account backup, which packs your files, databases and DNS records into one download. With no control panel, copy the files over SFTP and export the database separately. Wix, Squarespace and Shopify never hand over a working copy of the site, only exports of some content.
Take the copy while the account is still active and paid. Hosting terms put the job of keeping a backup on you, and once an account is terminated the data is deleted from the server, so a helpful support agent has nothing left to send.
A website is four pieces, and you want all of them
- The files. Pages, images and the software itself, in a folder called public_html on most hosts.
- The database. On WordPress and most other systems, your text, settings, users and menus live here. Files without it are a shell.
- Email. Mailboxes on the same account, with their forwarders and filters.
- The DNS records. The settings that say where your site and your mail live.
On cPanel, one backup takes the whole account
If your control panel is a grid of icons with names like File Manager, phpMyAdmin and Backup, it is cPanel, which many shared hosts use. The Backup tool is the one that matters.
- 1
Open Backup and click Download a Full Account Backup
Choose Home Directory as the destination and click Generate Backup. cPanel builds the archive in the background.
- 2
Come back and download the file
The finished backup appears under Backups Available for Download as a .tar.gz file.
- 3
Know what is inside
cPanel's documentation lists the home directory, MySQL database dumps, DNS zone files, SSL certificates and keys, email autoresponders and filters, and cron jobs.
- 4
If the full backup fails, take the partial ones
The same screen offers the home directory, each database, and your email forwarders and filters as separate downloads.
Hosts with their own panel have a backup screen that does the same job under a different name. If you cannot log in at all, start with how to get back into your own website.
With file transfer only, the database is a separate job
Some hosts give you only FTP or SFTP. Ask support for the server address, username and password, and use SFTP if it is offered, since it sends your password over an encrypted connection. Connect with a free client such as FileZilla, find the public_html or www folder, and drag the whole thing to your computer. A large site can take hours.
File transfer never includes the database. Ask the host for a .sql export of each database, or export it yourself from phpMyAdmin if the host provides it. This is the most technical route here, and it is reasonable to hand it to a developer.
The WordPress export tool is not a backup
Owners run Tools, then Export, get a file, and believe they have their website. WordPress documents what that XML file holds: posts, pages, comments, custom fields, categories, tags and users. It does not hold the theme, the plugins or the image files in your uploads folder.
For a full copy you need three things: that export, the wp-content folder (theme, plugins and uploads), and a dump of the database. A backup plugin collects all three in one go, and how to back up a WordPress website yourself walks through it, including the restore test.
Wix, Squarespace and Shopify keep the design
On a website builder you rent a system, and there is no folder of files to download. You get an export of some content, and the layout stays behind. This is what each company's help pages say today:
| Platform | What you can take | What stays behind |
|---|---|---|
| Wix | Contacts as CSV, up to 50,000 per export. Images and videos you uploaded yourself. | The site itself: Wix says a site must be hosted on Wix's servers. Blog post export is still listed as a feature request. Free Wix and Shutterstock media. |
| Squarespace | An .xml file with layout pages, one blog page and its posts, text blocks and image blocks. Products and contacts as .csv. | Album, cover, index, portfolio and store pages. Audio, video and product blocks. Drafts, style settings, custom CSS and any second blog page. |
| Shopify | The theme as a .zip, emailed to your staff login address. Products, customers, orders and discount codes as CSV. | The theme file leaves out products, collections, menus, pages, blog posts and images. For blog posts and pages, Shopify's own guide says to copy and paste. |
So on a builder, plan for a rebuild. What you are rescuing is your words, pictures, contacts and product data, which is the part that took years. If you do not know which system you are on, here is how to check what your website is built with.
If the panel is closed to you, ask in writing
When the account is suspended or you cannot find the backup tool, open a ticket so there is a record, and ask for specific things by name:
- 01A full account backup, including the home directory and all databases, as a download link.
- 02A copy of the DNS zone for each domain, including all MX and TXT records.
- 03A list of every email account and forwarder, and whether mailbox contents can be exported.
- 04The date the account is scheduled to be deleted.
If the login belongs to a developer who has stopped answering, the route is different: what to do when your web developer disappears.
Mail is the piece people forget. If the mailboxes are on the host, set up the new ones before you cancel, in the order shown in how to switch hosting without losing your email.
Once you have the copy, store it somewhere that is not the host, name the folder with the domain and the date, and have someone restore it to a test site once. That test is how you find out the database was never in there. If you would rather this was somebody's job, daily off-site backups are part of our maintenance plans.
Get help from Venbit
More website guides
Every question in this series, from Fix website problems.
Symptoms & emergencies17
- What Size Should Images Be for a Website?
- Why Is My Logo Blurry on My Website?
- Why Are Images Not Loading on My Website?
- Why Is My Website Down Right Now? How to Fix It
- Why Does My Website Say "This Account Has Been Suspended"?
- Why Is My Contact Form Not Sending Emails?
- There Has Been a Critical Error on This Website: How to Fix It
- Why Is My Website Showing "Not Secure" in Chrome?
- Why Is My Squarespace Site Not Showing Up on Google?
- Why Did Google Remove My Website From Search Results?
- Why Did My Website Traffic Suddenly Drop? Top Causes
- Why Is My Website Slow on Mobile but Fast on Desktop?
- Why Does My Website Look Broken on My Phone?
- Why Do My Website Images Look Blurry?
- How to Tell If Your Website Has Been Hacked
- Why Google Shows "This Site May Be Hacked" and How to Clear It
- How to Fix the "Deceptive Site Ahead" Warning
What happens if...11
- What to Do When Your Hosting Company Shuts Down
- How to Get Your Website Files From Your Hosting Company (you are here)
- Hosting Expired and Your Website Is Down? How to Get It Back
- How to Recover a Deleted Website
- How to Move a Website to a New Host Without Downtime
- Is My Web Host Going Out of Business?
- What Happens If My SSL Certificate Expires?
- What Happens If My Domain Name Expires?
- What Happens If Your Web Host Goes Out of Business?
- What Happens If You Stop Paying Your Web Developer?
- Why Are My Business Emails Going to Spam?
Plans & hiring1
Ownership & switching11
- How to Find Out Who Built Your Website
- How to Find Out Who Owns a Domain Name
- Locked Out of Your Own Website? How to Get Access Back
- How to Transfer a Website to a New Developer
- Website Ownership Checklist for a Small Business
- What Is My Website Built With?
- Who Hosts My Website and Domain?
- What to Do When Your Web Developer Disappears
- How to Switch Web Hosting Without Losing Your Email
- Who Is My Email Provider?
- How to Back Up a WordPress Website Yourself
Platform-specific3
Seattle & local1
The Venbit Team
Web design & SEO, Mill Creek, WA
Venbit is a web design, SEO, and digital marketing studio in Mill Creek, Washington. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.
Sources
- cPanel documentation: Backup for cPanel
- cPanel documentation: Backup Tarball Contents
- cPanel documentation: Account suspension versus account termination
- cPanel documentation: FTP Accounts (use SFTP on the primary account)
- WordPress.org documentation: Tools Export screen
- WordPress developer docs: Migrating WordPress
- Squarespace Help: Exporting your site
- Squarespace Help: Import to and export from your site
- Wix Help: Exporting or embedding your Wix site elsewhere
- Wix Help: Exporting blog posts to other platforms (feature request)
- Wix Help: Exporting your contacts
- Wix Help: Downloading files from the Media Manager
- Shopify Help: Downloading themes
- Shopify Help: Backups and duplication
- Bluehost User Agreement
- HostGator Terms of Service

