From a9428ece7762fa811fbb9cc849609e1b124b9694 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 3 Aug 2022 10:45:44 +0200 Subject: [PATCH] docs: use dedicated backup procedure for airtime --- .../setup/migrate-from-airtime.md | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/admin-manual/setup/migrate-from-airtime.md b/docs/admin-manual/setup/migrate-from-airtime.md index 9361092af..2b3fd949b 100644 --- a/docs/admin-manual/setup/migrate-from-airtime.md +++ b/docs/admin-manual/setup/migrate-from-airtime.md @@ -15,9 +15,27 @@ LibreTime dropped support for Ubuntu 16.04, which is the last supported version ## Make a backup - +### Backup the configuration -Follow [the backup guide](../backup.md) to make a backup of your current Airtime installation. +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