Backup Your Node: Difference between revisions

From AllStarLink Wiki
Jump to navigation Jump to search
imported>Wd6awp
No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
AllStarLink has a built-in back feature that is often overlooked. Backups are very easy to create and restore. Backups are stored on our [http://backup.allstarlink.org Backup server].  
{{Warning|user-guide/menu/#backup-and-restore}}
{{ Note|'''This only works for ASL distributions and may not exist on others. Use at your own risk.''' }}
AllStarLink has a built-in backup feature that is often overlooked. Backups are easy to create and are stored on our [http://backup.allstarlink.org Backup server].  


=Backup=
=Backup Settings=
To enable backups you'll need to set up the savenode.conf file as shown. Replace the node number and password with any one of the node's info on your server. The backup filename will be the chosen node number.  
To enable backups you'll need to set up the /etc/asterisk/savenode.conf file as shown. Replace the node number and password with any one of the node's info on your server. The backup filename will be the chosen node number.  


Sample: savenode.conf
Sample: savenode.conf
<pre>
<pre>
NODE=1999     ; replace with your node numner
NODE=1999         ; replace with your node numner
PASSWORD=123456  ; replace with your password
PASSWORD=123456  ; replace with your password
ENABLE=1
ENABLE=1
</pre>
</pre>


Then to create a backup type:
=Backup=
<code>*CLI> savenode.sh</code> All nodes on your server will be backed up.
To create a backup type:<br />
<code>savenode.sh</code> on DIAL and prior.<br />
or <code>save-node</code> on ASL. <br />
All nodes on your server will be backed up.  


=Restore=
=Restore=
Line 21: Line 26:
* Then <code>*CLI> tar -xzvf ''fliename''.tgz; cd etc/asterisk</code> and <code>cp</code> all or some of the files to the /etc/asterisk directory.  
* Then <code>*CLI> tar -xzvf ''fliename''.tgz; cd etc/asterisk</code> and <code>cp</code> all or some of the files to the /etc/asterisk directory.  


=ASL Backup and Restore Menu=
* Login is as root.
* Start the ASL Menu by typing asl-menu at the Linux prompt if not already showing.
* Select "6 ASL Configuration Edit Menu"
* Select "A Backup Restore Menu"
* Choose the Backup or Restore function desired
[[Category:How to]]
[[Category:How to]]
[[Category:Node Configuration]]

Latest revision as of 16:35, 18 October 2024

Legacy Version - This page is about a legacy version of AllStarLink. See https://allstarlink.github.io/user-guide/menu/#backup-and-restore
This only works for ASL distributions and may not exist on others. Use at your own risk.

AllStarLink has a built-in backup feature that is often overlooked. Backups are easy to create and are stored on our Backup server.

Backup Settings

To enable backups you'll need to set up the /etc/asterisk/savenode.conf file as shown. Replace the node number and password with any one of the node's info on your server. The backup filename will be the chosen node number.

Sample: savenode.conf

NODE=1999         ; replace with your node numner
PASSWORD=123456   ; replace with your password
ENABLE=1

Backup

To create a backup type:
savenode.sh on DIAL and prior.
or save-node on ASL.
All nodes on your server will be backed up.

Restore

  • Point your browser at [Backup server] and enter your node number and it's password.
  • You will see your last four backups in tgz format. Click the one you want to download it.
  • With your favorite file transfer program upload the file to your user home directory.
  • Then *CLI> tar -xzvf fliename.tgz; cd etc/asterisk and cp all or some of the files to the /etc/asterisk directory.

ASL Backup and Restore Menu

  • Login is as root.
  • Start the ASL Menu by typing asl-menu at the Linux prompt if not already showing.
  • Select "6 ASL Configuration Edit Menu"
  • Select "A Backup Restore Menu"
  • Choose the Backup or Restore function desired