# Cu 163, 164, 165 RC: backupctrl broken

**URL:** <https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467>\
**Category:** Update Trouble\
**Created:** [16 March 2022 19:38 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467 "2022-03-16T19:38:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![manfred\_knick](https://community.ipfire.org/user_avatar/community.ipfire.org/manfred_knick/32/4701_2.png) [@manfred\_knick](https://community.ipfire.org/u/manfred_knick)\
**Post date:** [16 March 2022 19:38 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/1 "2022-03-16T19:38:50Z")

</div>

Using the “Backup Console”, running “backupctrl restore” fails with

backup.pl:  
. . . 145: convert-to-location  
. . . 148: firewallctrl  
. . . 151: convert-ovpn  
. . . 163: convert-dns-settings  
“not found” - although existing.

Temporarily replacing the calls with full path of the files  
circumvented this pothole,  
leading to further errors as follow-ups.

[[wiki.ipfire.org - Using the Backup Console](https://wiki.ipfire.org/configuration/system/backup/backupconsole) ]

---

<div class="post-metadata">

**Author:** ![jon](https://community.ipfire.org/user_avatar/community.ipfire.org/jon/32/15363_2.png) [@jon](https://community.ipfire.org/u/jon)\
**Post date:** [16 March 2022 21:15 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/2 "2022-03-16T21:15:14Z")

</div>

I tried every one and I don’t remember this error.

Please send the entire line you entered and the entire response from the command.

---

<div class="post-metadata">

**Author:** ![manfred\_knick](https://community.ipfire.org/user_avatar/community.ipfire.org/manfred_knick/32/4701_2.png) [@manfred\_knick](https://community.ipfire.org/u/manfred_knick)\
**Post date:** [17 March 2022 08:49 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/3 "2022-03-17T08:49:54Z")

</div>

A)

As required in cited wiki: “backupctrl restore _filename_” -  
in my case:  
. . . . . “backupctrl restore 2022-03-11-09 17.ipf”

B) explicit version:

backup.pl:  
line 145: convert-to-location not found  
line 148: firewallctrl not found  
line 151: convert-ovpn not found  
line 163: convert-dns-settings not found  
…

[my memory - from a box without any working network connection]

---

<div class="post-metadata">

**Author:** ![manfred\_knick](https://community.ipfire.org/user_avatar/community.ipfire.org/manfred_knick/32/4701_2.png) [@manfred\_knick](https://community.ipfire.org/u/manfred_knick)\
**Post date:** [17 March 2022 17:04 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/4 "2022-03-17T17:04:47Z")

</div>

RETRY:  
setting up from nightly → master → x86\_64 → with ipfire-2.27.x86\_64-full-core165.iso  
dated 2022-03-17\_03:43  
running “setup” to configure interfaces  
running “backupctrl restore 2022-03-11-09 17.ipf”:

/var/ipfire/backup/bin/backup.pl:  
line 151: convert-to-location: command not found  
line 154: firewallctrl: command not found  
line 157: convert-ovpn: command not found  
line 175: convert-dns-settings: command not found

“which …” locates them at /user/local/bin

Temporarily replacing the calls with full path of the files circumvented these four errors,  
leading to further message output:  
“Use of uninitialized value $fwoptions {“DROPHOSTFILE”} in string ne at /usr/lib/firewall/rules.pl line 693.”

This message re-appears in following boot processes on the display.

CONFIRMATION:  
At least, in 5.15.23-ipfire, modified “backupctrl restore” succeeds to re-load the basic configs;  
after a reboot and “/etc/init.d/dhcp restart” the external network was available.

hwfan, hwvolt, DynDNS: still missing (see my other posts).

Changing Pakfire to “Testing” repository, refresh works, and hostapd can be installed.

AND: “Talos VRT rules with subscription” is enabled,  
at first sight without creating any obvious problems 🙂  
Cudos to Stefan!

---

<div class="post-metadata">

**Author:** ![jon](https://community.ipfire.org/user_avatar/community.ipfire.org/jon/32/15363_2.png) [@jon](https://community.ipfire.org/u/jon)\
**Post date:** [17 March 2022 19:23 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/5 "2022-03-17T19:23:57Z")

</div>

> [@manfred\_knick](#):
>
> B) explicit version:
> 
> backup.pl:  
> line 145: convert-to-location not found  
> line 148: firewallctrl not found  
> line 151: convert-ovpn not found  
> line 163: convert-dns-settings not found

I can confirm!

```auto
[root@ipfireVMc164t ~]# backupctrl restore /var/ipfire/backup/2022-03-17-14:05.ipf
etc/group
etc/hosts
etc/httpd/server-ecdsa.crt
etc/httpd/server-ecdsa.csr
etc/httpd/server-ecdsa.key
etc/httpd/server.crt
. . .
var/log/rrd/hddshutdown-sda.rrd
var/log/rrd/hddtemp-sda.rrd
var/log/rrd/wio/
var/log/vnstat/
var/log/vnstat/vnstat.db
groupadd: group 'dhcpcd' already exists
useradd: user 'dhcpcd' already exists
/var/ipfire/backup/bin/backup.pl: line 151: convert-to-location: command not found
/var/ipfire/backup/bin/backup.pl: line 154: firewallctrl: command not found
/var/ipfire/backup/bin/backup.pl: line 157: convert-ovpn: command not found
/var/ipfire/backup/bin/backup.pl: line 175: convert-dns-settings: command not found
[root@ipfireVMc164t ~]# 

```

  

Please do a bug report.

#### Information to add a bug report in IPFire Bugzilla:

- Bugzilla info in IPFire Wiki
  - [wiki.ipfire.org - Bugzilla](https://wiki.ipfire.org/devel/bugzilla)

- IPFire Bugzilla
  - [https://bugzilla.ipfire.org](https://bugzilla.ipfire.org)

---

<div class="post-metadata">

**Author:** ![manfred\_knick](https://community.ipfire.org/user_avatar/community.ipfire.org/manfred_knick/32/4701_2.png) [@manfred\_knick](https://community.ipfire.org/u/manfred_knick)\
**Post date:** [21 March 2022 14:40 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/6 "2022-03-21T14:40:55Z")

</div>

[https://bugzilla.ipfire.org/show\_bug.cgi?id=12811](https://bugzilla.ipfire.org/show_bug.cgi?id=12811)

---

<div class="post-metadata">

**Author:** ![jon](https://community.ipfire.org/user_avatar/community.ipfire.org/jon/32/15363_2.png) [@jon](https://community.ipfire.org/u/jon)\
**Post date:** [22 March 2022 02:39 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/7 "2022-03-22T02:39:24Z")

</div>

@manfred_knick - thank you for reporting this!

fix patch here:  
[https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=136d91f3463445c8ee525d98f06f82d5a028784e](https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=136d91f3463445c8ee525d98f06f82d5a028784e)

---

<div class="post-metadata">

**Author:** ![manfred\_knick](https://community.ipfire.org/user_avatar/community.ipfire.org/manfred_knick/32/4701_2.png) [@manfred\_knick](https://community.ipfire.org/u/manfred_knick)\
**Post date:** [22 March 2022 08:29 UTC](https://community.ipfire.org/t/cu-163-164-165-rc-backupctrl-broken/7467/8 "2022-03-22T08:29:11Z")

</div>

My Pleasure!  
Kind regards
