Pi-Star 4.1 RC# Backup Restore

General support for the Pi-Star System
Post Reply
N4NQY
Posts: 77
Joined: Thu Apr 12, 2018 5:47 pm

Pi-Star 4.1 RC# Backup Restore

Post by N4NQY »

Is anyone else seeing issues of fields not being backed up or restored on RC3?

jb N4NQY
User avatar
w7efs
Posts: 335
Joined: Sun Apr 22, 2018 4:26 pm

Re: Pi-Star 4.1 RC# Backup Restore

Post by w7efs »

What do you mean by "fields", please? A backup is a zip of several configuration files. Are you missing some of them? This is from v4.1rc3 today:

Code: Select all

$ unzip -l Pi-Star_Config_w7efs_23-Jul-2019.zip
Archive:  Pi-Star_Config_w7efs_23-Jul-2019.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
      535  2019-07-23 15:51   RSSI.dat
      961  2019-07-23 15:51   config.php
      294  2019-07-23 15:51   dapnetgateway
     1209  2019-07-23 15:51   dmrgateway
       25  2019-07-23 15:51   dstar-radio.mmdvmhost
     2450  2019-07-23 15:51   dstarrepeater
        6  2019-07-23 15:51   hostname
      125  2019-07-23 15:51   hosts
     3303  2019-07-23 15:51   ircddbgateway
      410  2019-07-23 15:51   ircddblocal.php
     2760  2019-07-23 15:51   mmdvmhost
      778  2019-07-23 15:51   nxdngateway
      458  2019-07-23 15:51   p25gateway
      799  2019-07-23 15:51   pistar-remote
     1233  2019-07-23 15:51   starnetserver
      124  2019-07-23 15:51   timeserver
      445  2019-07-23 15:50   wpa_supplicant.conf
      758  2019-07-23 15:51   ysf2dmr
      915  2019-07-23 15:51   ysfgateway
---------                     -------
    17588                     19 files
AF4FA
Posts: 47
Joined: Wed Jan 23, 2019 6:20 pm

Re: Pi-Star 4.1 RC# Backup Restore

Post by AF4FA »

There are certain fields such as the login password that are not backed up.
W2XQ
Posts: 22
Joined: Thu Jun 21, 2018 6:23 pm
Location: Vincentown, NJ, USA
Contact:

Re: Pi-Star 4.1 RC# Backup Restore

Post by W2XQ »

If you made color changes to the Pi-Star pages (using CSS Tools) those changes are not saved in a backup. I keep a text file handy to copy/paste the values, rather than repeatedly comb through a color chart.
Tom - W2XQ - w2xq.com
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Pi-Star 4.1 RC# Backup Restore

Post by KE0FHS »

AF4FA wrote: Wed Jul 24, 2019 1:16 pm There are certain fields such as the login password that are not backed up.
That's intentional. Some settings are not backed up, so if you changed them to something other than their default, you'll find that they are set back to their default after you run a restore, for example:
  • General Configuration:
    • System Time Zone (default Europe/London)
    • Dashboard language (default English_uk)
  • D-Star Configuration – Time Announcements (default: On) and Use DPlus for XRF (default: Off). If you change the Use DPlus for XRF setting, you must run a Pi-Star Update to put the new setting into effect.
  • Firewall Configuration – Auto AP (default: On)
  • Remote Access Password – Since Pi-Star backup does not back up this password, if you want to use your own password, which is a good idea, you'll need to enter your own password.
  • Expert Editor > CSS Tool – Custom CSS settings aren't backed up. If you change CSS settings, write them down so you can manually restore them. (This is what Tom, W2XQ, is referring to in his previous post ... I learned this from him.)
  • SSH Public Key Authentication (PKA) – This is a bit of an edge case, but if you are using PKA to access Pi-Star via SSH, Pi-Star doesn't back up the custom settings (public key stored in an authorized_keys file in a custom folder named .ssh in the user's home directory). So if you do this (as an alternative to logging into Pi-Star via SSH using your Remote Access Password), you'll need to configure this again after booting up your fresh install.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
W1KFR
Posts: 6
Joined: Sun May 06, 2018 2:49 am

Re: Pi-Star 4.1 RC# Backup Restore

Post by W1KFR »

I would like to clarify something here. If I save my configs from 4.0.0 RC4 and build an image with 4.1 RC3 can I import the configurations by using the restore function? I have 2 hotspots running the 4.1 RC3 and so far it works very well. I even built on Pi Star image for a DVAP that works amazingly well.

thank you,

73 de Bill W1KFR
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Pi-Star 4.1 RC# Backup Restore

Post by KE0FHS »

Yes. You have two choices:
  • Flash a microSD card with a 4.1.x image, use it to boot up your Raspberry Pi, and then restore your backed up configuration (from 4.0.x or 3.4.x).
  • Flash a microSD card with a 4.1.x image, eject it from the computer you're using to flash the image, then re-insert it, copy the backup zip file to the root folder, and then use it to boot up your Raspberry Pi. Your backed up configuration will be restored as part of that initial boot up process (the initial boot up will take a bit longer).
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
W1KFR
Posts: 6
Joined: Sun May 06, 2018 2:49 am

Re: Pi-Star 4.1 RC# Backup Restore

Post by W1KFR »

Thats what I needed!

Thank you!

73 de W1KFR
Post Reply