# Restore backup from 3.3.1 into new appliance 5.4.1

**URL:** <https://community.ciphermail.com/t/restore-backup-from-3-3-1-into-new-appliance-5-4-1/800>\
**Category:** Gateway\
**Created:** [December 20, 2022, 8:58am UTC](https://community.ciphermail.com/t/restore-backup-from-3-3-1-into-new-appliance-5-4-1/800 "2022-12-20T08:58:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lfarndt](https://avatars.discourse-cdn.com/v4/letter/l/f04885/32.png) [@lfarndt](https://community.ciphermail.com/u/lfarndt)\
**Post date:** [December 20, 2022, 8:58am UTC](https://community.ciphermail.com/t/restore-backup-from-3-3-1-into-new-appliance-5-4-1/800/1 "2022-12-20T08:58:50Z")

</div>

Hi,  
i have been using ciphermail for a while and now i want to do some reworking.  
I use ciphermail 3.3.1 an have a lot of users an certificates in that version. I created a backup with that old machine.

The import of that backup on the new installed virtual appliance seems to run without errors. Only the hint to reboot comes up. After reboot i can login into the machine, but there are no users, certificates domains. Only the configuration of the mta seems to be imported.

Is there a way to import old backups?

Thx Wolfgang

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [December 21, 2022, 9:23am UTC](https://community.ciphermail.com/t/restore-backup-from-3-3-1-into-new-appliance-5-4-1/800/2 "2022-12-21T09:23:26Z")

</div>

The database used by the Virtual Appliance changed from Postgres to MariaDB in version 4.1.0

See [Email Encryption Gateway release notes - CipherMail Email Encryption](https://www.ciphermail.com/gateway-release-notes.html)

> The CipherMail Gateway virtual appliance is now based on CentOS 7 instead of Ubuntu and runs MariaDB instead of PostgreSQL. Unfortunately this means that backups of previous virtual appliances cannot be imported directly in CipherMail Gateway 4.1.0+. Users with a support contract can contact us for help with migrating the database to the new version. Note: this change only impacts customers who wish to upgrade to the new CentOS-based virtual appliance.

One option is to export all certificates, as a p7b file, and then import them into the new appliance.
