Adding backup instructions from #190
This commit is contained in:
parent
ad413338e1
commit
48587d498e
|
@ -7,6 +7,7 @@ category: admin
|
||||||
## Backup
|
## Backup
|
||||||
|
|
||||||
A backup script is supplied for your convenience in the *utils/* folder of the Libretime repo.
|
A backup script is supplied for your convenience in the *utils/* folder of the Libretime repo.
|
||||||
|
Run it using:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo bash libretime-backup.sh # backs up to user's home folder
|
sudo bash libretime-backup.sh # backs up to user's home folder
|
||||||
|
@ -14,6 +15,15 @@ sudo bash libretime-backup.sh # backs up to user's home folder
|
||||||
sudo bash libretime-backup.sh /backupdir/
|
sudo bash libretime-backup.sh /backupdir/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The backup process can be automated with Cron. Simply add the following to the root user's
|
||||||
|
crontab with *sudo crontab -e*:
|
||||||
|
|
||||||
|
```
|
||||||
|
0 0 1 * * root /locationoflibretimerepo/libretime/backup.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
> For more information on how Cron works, check out [this Redhat guide](https://www.redhat.com/sysadmin/automate-linux-tasks-cron).
|
||||||
|
|
||||||
### Backup Methods
|
### Backup Methods
|
||||||
|
|
||||||
You can dump the entire *PostgreSQL* database to a zipped file with the combination of the
|
You can dump the entire *PostgreSQL* database to a zipped file with the combination of the
|
||||||
|
|
|
@ -27,8 +27,7 @@ The IP address of your new VM can be found by running `multipass list`. Copy and
|
||||||
You can stop the VM with `multipass stop ltTEST` and restart with `multipass start ltTEST`.
|
You can stop the VM with `multipass stop ltTEST` and restart with `multipass start ltTEST`.
|
||||||
If you want to delete the image and start again, run `multipass delete ltTEST && multipass purge`.
|
If you want to delete the image and start again, run `multipass delete ltTEST && multipass purge`.
|
||||||
|
|
||||||
---
|
### Cloud-init options in cloud-init.yaml
|
||||||
### Cloud-init options in libretimeTest.yaml
|
|
||||||
|
|
||||||
You may wish to change the below fields as per your location.
|
You may wish to change the below fields as per your location.
|
||||||
```
|
```
|
||||||
|
|
|
@ -14,7 +14,6 @@ The podcast interfaces provides you with the ability to generate [Smartblocks](/
|
||||||
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/g-4UcD8qvR8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/g-4UcD8qvR8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<br>
|
|
||||||
### Podcasts Dashboard
|
### Podcasts Dashboard
|
||||||
|
|
||||||

|

|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
---
|
|
||||||
layout: article
|
|
||||||
title: Libretime for Terrestrial Broadcasters
|
|
||||||
category: manager
|
|
||||||
---
|
|
||||||
|
|
||||||
## How to
|
|
||||||
|
|
||||||
### 1. Prepare your studio
|
|
||||||
|
|
||||||
The server or desktop you plan to run Libretime on should have a built-in soundcard
|
|
||||||
and ethernet port. A wired approach is strongly recommended over a wireless one.
|
|
||||||
|
|
||||||
### 2. Install Ubuntu Server 18.04 LTS
|
|
||||||
|
|
||||||
Download Ubuntu Server [here](https://ubuntu.com/download/server).
|
|
||||||
A standard install is recommended, on a RAID 1 array if possible (not required, but recommended).
|
|
||||||
|
|
||||||
Installation checklist:
|
|
||||||
|
|
||||||
- Set correct timezone
|
|
||||||
- Sync system with national time servers
|
|
||||||
- Open firewall ports 80 and 8000
|
|
||||||
- Enable the SSH server for easier remote access (optional)
|
|
||||||
|
|
||||||
### 3. Install Libretime
|
|
||||||
|
|
||||||
See the [install page](/install).
|
|
||||||
|
|
||||||
### 4. Configure soundcard
|
|
||||||
|
|
||||||
### 5. Set up SSH tunneling (optional)
|
|
||||||
|
|
||||||
SSH tunneling is similar to using a VPN but with the need to manually connect to individual computers
|
|
||||||
and ports instead of gaining access to the entire network.
|
|
|
@ -54,10 +54,10 @@ title: Docs
|
||||||
|
|
||||||
<div class="col-md-4 mb-5">
|
<div class="col-md-4 mb-5">
|
||||||
<div class="card p-3 border-0 shadow">
|
<div class="card p-3 border-0 shadow">
|
||||||
<div class="card-header border-0"><i class="fas fa-broadcast-tower fa-3x text-dark"></i></div>
|
<div class="card-header border-0"><i class="fas fa-people-carry fa-3x text-dark"></i></div>
|
||||||
<div class="card-body pt-0">
|
<div class="card-body pt-0">
|
||||||
<h4 class="h5 mb-2"><a class="link-dark" href="/docs/station-setup">Libretime for AM/FM Radio</a></h4>
|
<h4 class="h5 mb-2"><a class="link-dark" href="/contribute">Contribute to Libretime</a></h4>
|
||||||
<p class="card-text mb-4">Libretime isn't just for internet radio; use it to supercharge your terrestrial radio station too!</p>
|
<p class="card-text mb-4">Love what we do? Help us out!</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
# Maintainer: Zachary Klosko (kloskoz@vcu.edu)
|
|
||||||
|
|
||||||
hostname: libretimeTest
|
|
||||||
timezone: America/New York # change as needed
|
|
||||||
ntp:
|
|
||||||
pools: ['north-america.pool.ntp.org']
|
|
||||||
servers: ['0.north-america.pool.ntp.org', '0.pool.ntp.org']
|
|
||||||
|
|
||||||
password: hackme
|
|
||||||
chpasswd: { expire: False }
|
|
||||||
|
|
||||||
packages:
|
|
||||||
- git
|
|
||||||
apt_update: true
|
|
||||||
apt_upgrade: true
|
|
||||||
|
|
||||||
# Clone repo on init (Change repo url if needed)
|
|
||||||
# If you need to clone a branch, use git clone --branch branchname repourl
|
|
||||||
runcmd:
|
|
||||||
- git clone https://github.com/LibreTime/libretime.git
|
|
Loading…
Reference in New Issue