# System overwritten by IRLP - how to go back?

**URL:** <https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641>\
**Category:** AllStarLink\
**Created:** [October 22, 2019, 11:18pm UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641 "2019-10-22T23:18:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![VE7NZ](https://community.allstarlink.org/user_avatar/community.allstarlink.org/ve7nz/32/598_2.png) [@VE7NZ](https://community.allstarlink.org/u/VE7NZ)\
**Post date:** [October 22, 2019, 11:18pm UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641/1 "2019-10-22T23:18:17Z")

</div>

I have was setting up an IRLP node, unrelated to Allstar, on another machine on my LAN. Because I used the same root password on both machines and because I didn’t route port 22 properly, the IRLP remote installer installed IRLP over my Allstar Raspbery Pi. I see the Allstar files are still there, but the boot sequence doesn’t now startup Allstar.

What is the best way to get my machine back to normal? Should I make a copy of certain config files (please let me know which so I don’t miss one) and reinstall and then replace the default config files with mine? Or is there a standard startup file I can load or reconfigure to make it work again? (I am not well versed in Linux - I can make my way around the file system and edit config files, but I am still learning beyond than).

Thanks in advance.

73 Adrian VE7NZ

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [October 23, 2019, 9:33pm UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641/2 "2019-10-23T21:33:06Z")

</div>

For a single node with very little customization I would just reimagined the SD card and work through the first time setup again.

For a server with a lot of nodes or hand customization the procedure is more complex.

- Make a backup, if you can still login. See below
- Re-image the SD card.
- Boot the new image and set up networking, user ID, etc

**Backup:**  
Everything AllStar related is in `/etc/asterisk`. Make a copy of that directory and you have a complete backup of your node. Lot’s of folks like winSCP for that.

Another way to make a backup is to use our backup site. First configure `/etc/asterisk/savenode.conf` like so:

```auto
# config file for /usr/local/bin/savenode
NODE=<your node number>
PASSWORD=<your node password>
ENABLE=1

```

Then type `save-node` at the Linux CLI.

That will compress and copy your `/etc/asterisk` files to [http://backup.allstarlink.org](http://backup.allstarlink.org).

**Restore:**  
To restore you files login to [http://backup.allstarlink.org](http://backup.allstarlink.org) with your node number and your node password. You will see your last 4 backups. Download the latest, unarchive it and copy to /etc/asterisk.

When I start a new node I like to save the default asterisk directory and start fresh. With a good backup, I would rename the /etc/asterisk directory, then create a new /etc/asterisk directory (which is now empty), and then copy my restored backup files into empty /etc/asterisk.

---

<div class="post-metadata">

**Author:** ![VE7NZ](https://community.allstarlink.org/user_avatar/community.allstarlink.org/ve7nz/32/598_2.png) [@VE7NZ](https://community.allstarlink.org/u/VE7NZ)\
**Post date:** [October 23, 2019, 9:57pm UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641/3 "2019-10-23T21:57:25Z")

</div>

Thanks. So should I then do a fresh install on the Raspberry Pi then restore the asterisk files from backup? Or is there a way to fix the startup so that it starts AllStar and not IRLP? 73.

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [October 23, 2019, 9:59pm UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641/4 "2019-10-23T21:59:47Z")

</div>

> [@VE7NZ](#):
>
> Or is there a way to fix the startup so that it starts AllStar and not IRLP? 73.

Probably is, but I can give you instructions from memory. But don’t you want to get IRLP off of your AllStar node?

---

<div class="post-metadata">

**Author:** ![ka4eps](https://community.allstarlink.org/user_avatar/community.allstarlink.org/ka4eps/32/1601_2.png) [@ka4eps](https://community.allstarlink.org/u/ka4eps)\
**Post date:** [October 24, 2019, 12:31pm UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641/5 "2019-10-24T12:31:25Z")

</div>

Re-imaging your SD card will essentially wipe out your IRLP. That is a good thing.

---

<div class="post-metadata">

**Author:** ![ve3gob](https://community.allstarlink.org/user_avatar/community.allstarlink.org/ve3gob/32/778_2.png) [@ve3gob](https://community.allstarlink.org/u/ve3gob)\
**Post date:** [November 23, 2019, 5:36am UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641/6 "2019-11-23T05:36:19Z")

</div>

You just wanna know how to start the service on system boot?  
Easy just place ‘service asterisk start’ in your root cron and set to start at boot without the quotes.

---

<div class="post-metadata">

**Author:** ![KK6QMS](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kk6qms/32/1356_2.png) [@KK6QMS](https://community.allstarlink.org/u/KK6QMS)\
**Post date:** [June 19, 2020, 4:15am UTC](https://community.allstarlink.org/t/system-overwritten-by-irlp-how-to-go-back/15641/7 "2020-06-19T04:15:28Z")

</div>

Just learned of this backup option and configured for first time. Amazing! I was wondering what the savenode options were in the asl-menu and found this post. What a great resource to have online backup built into the node. Thanks!
