Start for free – your first 3 months are freeSee the offer

Databases and PHP

Export or make a copy of your database

Download a copy of your database as an SQL file in Database tool, or use the automatic daily backups, which are kept for 30 days.

3 min readUpdated

On this page
  1. Download a copy as a file
  2. Use the automatic backups
  3. Frequently asked questions
  4. Can I download one of the automatic backups?
  5. How often should I export myself?
  6. My export is very large. Is that a problem?
  7. Can I export to Excel?

It's a good idea to make a copy of the database before you update WordPress, change theme or edit data directly. At Sitewig you have two options: a manual copy that you download as a file yourself, and the automatic backups we take every day.

Two routes: manual export in Database tool and automatic daily backup for 30 days
A manual copy to your computer, or an automatic backup with Sitewig
ComparisonManual copy (Export)Automatic backup
WhenWhenever you wantEvery day, without you doing anything
Where it is keptOn your own computerWith Sitewig for 30 days
Can be downloaded as a fileYesNo – it is restored from the control panel
Best forBefore a big change, or when you're movingWhen something has gone wrong and you want to go back

Download a copy as a file

  1. Step 1: Open Database tool

    Go to Database tool (shortcut on the front page of the control panel), click Open next to the database, enter the password and click Login.

  2. Step 2: Choose Export

    Click Export in the menu. All tables are selected in advance.

  3. Step 3: Choose format and compression

    Set Output to gzip and Format to SQL. That gives you a single compressed file that is easy to store and quick to import again.

  4. Step 4: Start the export

    Click Export. The browser saves a file such as u12345_wp.sql.gz in your downloads folder.

  5. Step 5: Keep the file somewhere safe

    Store the file somewhere outside the web hosting, e.g. in your own cloud storage. The file contains all the data from your website, including users and orders, so don't share it with others.

Use the automatic backups

Every day Sitewig takes a backup of your files and databases and keeps it for 30 days. You'll find them under Web hosting → Backup on the Database tab. The list shows the time and contents of each backup, and with Restore you can put an older version back yourself – see Restore a database from a backup.

Frequently asked questions

Can I download one of the automatic backups?

Not from the control panel. The automatic backups are meant to be restored with Restore. If you want a file on your own computer, use Export in Database tool.

How often should I export myself?

Before every major change, e.g. updating WordPress, changing theme or importing data. For day-to-day protection, the automatic backups have you covered.

My export is very large. Is that a problem?

No, but compress it with gzip, so that both the download and a later import are quicker. If the file needs to be imported again, it can be at most 128 MB per upload.

Can I export to Excel?

Yes. Choose CSV as the format instead of SQL and open the file in a spreadsheet. For backups, always use SQL.

Read about web hosting

Didn't find the answer?

Reply within 1 working day · Mon–Fri 8:00–17:00 CET