From 48587d498e64e51d05abfefe3781225a14e816bd Mon Sep 17 00:00:00 2001 From: Zachary Klosko Date: Sat, 21 Nov 2020 22:37:19 -0500 Subject: [PATCH] Adding backup instructions from #190 --- docs/_docs/backing-up-the-server.md | 10 +++++++++ docs/_docs/multipass.md | 3 +-- docs/_docs/podcasts.md | 1 - docs/_docs/station-setup.md | 35 ----------------------------- docs/docs.html | 6 ++--- multipass.yml | 20 ----------------- 6 files changed, 14 insertions(+), 61 deletions(-) delete mode 100644 docs/_docs/station-setup.md delete mode 100644 multipass.yml diff --git a/docs/_docs/backing-up-the-server.md b/docs/_docs/backing-up-the-server.md index 6bbb8c00d..60d4a2bab 100644 --- a/docs/_docs/backing-up-the-server.md +++ b/docs/_docs/backing-up-the-server.md @@ -7,6 +7,7 @@ category: admin ## Backup 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 @@ -14,6 +15,15 @@ sudo bash libretime-backup.sh # backs up to user's home folder 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 You can dump the entire *PostgreSQL* database to a zipped file with the combination of the diff --git a/docs/_docs/multipass.md b/docs/_docs/multipass.md index 9cd9d4525..efd05168b 100644 --- a/docs/_docs/multipass.md +++ b/docs/_docs/multipass.md @@ -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`. If you want to delete the image and start again, run `multipass delete ltTEST && multipass purge`. ---- -### Cloud-init options in libretimeTest.yaml +### Cloud-init options in cloud-init.yaml You may wish to change the below fields as per your location. ``` diff --git a/docs/_docs/podcasts.md b/docs/_docs/podcasts.md index 9cfe8ca8c..80a574ef4 100644 --- a/docs/_docs/podcasts.md +++ b/docs/_docs/podcasts.md @@ -14,7 +14,6 @@ The podcast interfaces provides you with the ability to generate [Smartblocks](/ -
### Podcasts Dashboard ![](/img/Podcasts_Dashboard.png) diff --git a/docs/_docs/station-setup.md b/docs/_docs/station-setup.md deleted file mode 100644 index 660319355..000000000 --- a/docs/_docs/station-setup.md +++ /dev/null @@ -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. \ No newline at end of file diff --git a/docs/docs.html b/docs/docs.html index dc36a0410..c983cd66f 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -54,10 +54,10 @@ title: Docs
-
+
-

Libretime for AM/FM Radio

-

Libretime isn't just for internet radio; use it to supercharge your terrestrial radio station too!

+

Contribute to Libretime

+

Love what we do? Help us out!

diff --git a/multipass.yml b/multipass.yml deleted file mode 100644 index 99286dd35..000000000 --- a/multipass.yml +++ /dev/null @@ -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 \ No newline at end of file