59 lines
1.7 KiB
Markdown
59 lines
1.7 KiB
Markdown
---
|
|
title: Migrate from Airtime
|
|
sidebar_position: 90
|
|
---
|
|
|
|
This guide walk you though the steps required to migrate your data from Airtime to LibreTime.
|
|
|
|
:::info
|
|
|
|
Airtime **linked files** and **watched folders** features are either deprecated or not working in LibreTime.
|
|
|
|
:::
|
|
|
|
LibreTime dropped support for Ubuntu 16.04, which is the last supported version of Ubuntu that Airtime supports.
|
|
|
|
## Make a backup
|
|
|
|
### Backup the configuration
|
|
|
|
On common setups, you need to backup the entire `/etc/airtime` folder.
|
|
|
|
### Backup the database
|
|
|
|
You need to backup the PostgreSQL database, which holds the entire data of your installation.
|
|
|
|
Here is an example to dump your PostgreSQL database:
|
|
|
|
```bash
|
|
sudo -u postgres pg_dump --file=airtime.sql airtime
|
|
```
|
|
|
|
Please read the `pg_dump` usage for additional details.
|
|
|
|
### Backup the storage
|
|
|
|
You need to backup the entire file storage, which holds all the files of your installation.
|
|
|
|
The path to your storage was defined during the installation process, the default storage path is `/srv/airtime/stor`.
|
|
|
|
## Install
|
|
|
|
Install LibreTime on a new system by [running the installer](./install.md#run-the-installer), and **don't run the setup tasks**.
|
|
|
|
## Restore the backup
|
|
|
|
Restore [the Airtime backup](../backup.md#restore) on the newly installed LibreTime server.
|
|
|
|
You have to restore the **database**, the **files storage** and the **configuration files**.
|
|
|
|
## Update the configuration files
|
|
|
|
Update the configuration file to match the new configuration schema and update any changed values. See the [configuration](./configuration.md) documentation for more details.
|
|
|
|
Edit the Icecast password in `/etc/icecast2/icecast.xml` to reflect the password used in Airtime.
|
|
|
|
## Finish
|
|
|
|
Restart the LibreTime services and navigate to the LibreTime web-page.
|