include /etc/dhcpcd.conf in backups

Suggest new features here
Post Reply
User avatar
w7efs
Posts: 165
Joined: Sun Apr 22, 2018 4:26 pm

include /etc/dhcpcd.conf in backups

Post by w7efs » Mon Jan 14, 2019 9:31 pm

May I request that /etc/dhcpcd.conf be included in the backup zip files, please. We have customizations for HamWan-assigned static IP addresses, netmasks and routers. Currently the backups don't contain /etc/dhcpcd.conf:

Code: Select all

$ unzip -l Pi-Star_Config_hostname_14-Jan-2019.zip       
Archive:  Pi-Star_Config_hostname_14-Jan-2019.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
      535  2019-01-14 12:42   RSSI.dat
      959  2019-01-14 12:42   config.php
      294  2019-01-14 12:42   dapnetgateway
     1267  2019-01-14 12:42   dmrgateway
       27  2019-01-14 12:42   dstar-radio.mmdvmhost
     2373  2019-01-14 12:42   dstarrepeater
        6  2019-01-14 12:42   hostname
      146  2019-01-14 12:42   hosts
     2956  2019-01-14 12:42   ircddbgateway
      410  2019-01-14 12:42   ircddblocal.php
     2620  2019-01-14 12:42   mmdvmhost
      388  2019-01-14 12:42   p25gateway
      704  2019-01-14 12:42   pistar-remote
     1233  2019-01-14 12:42   starnetserver
      124  2019-01-14 12:42   timeserver
       96  2019-01-14 12:42   wpa_supplicant.conf
      794  2019-01-14 12:42   ysf2dmr
      896  2019-01-14 12:42   ysfgateway
---------                     -------
    15828                     18 files

MW0MWZ
Site Admin
Posts: 628
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: include /etc/dhcpcd.conf in backups

Post by MW0MWZ » Tue Jan 15, 2019 6:19 pm

I have made the backup somewhat intelligent, it will only add the static info *IF* there is one.
Andy

73 de MW0MWZ
http://pistar.uk

User avatar
w7efs
Posts: 165
Joined: Sun Apr 22, 2018 4:26 pm

Re: include /etc/dhcpcd.conf in backups

Post by w7efs » Tue Jan 15, 2019 7:10 pm

I'm curious as to why our /etc/dhcpcd.conf isn't included in our backups? Thank you.

MW0MWZ
Site Admin
Posts: 628
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: include /etc/dhcpcd.conf in backups

Post by MW0MWZ » Tue Jan 15, 2019 7:40 pm

make sure you update, reload the backup page if it was already open, and backup the config, then see if its in there.

If you have a static IP configured - it should be included in the backup.
Andy

73 de MW0MWZ
http://pistar.uk

User avatar
w7efs
Posts: 165
Joined: Sun Apr 22, 2018 4:26 pm

Re: include /etc/dhcpcd.conf in backups

Post by w7efs » Fri Jan 18, 2019 12:02 am

Thank you Andy, the file is now included in the backup.

Post Reply