Backup Your Node: Difference between revisions

From AllStarLink Wiki
Jump to navigation Jump to search
imported>Wd6awp
imported>Wd6awp
Line 18: Line 18:


=Restore=
=Restore=
Point your browser at [[http://backup.allstarlink.org 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. Then (with your favorite file transfer program) put the file on your server.
Point your browser at [[http://backup.allstarlink.org 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. Then (with your favorite file transfer program) put the file on your server in a directory, preferably your home directory. Then cp all or some of the files to the /etc/asterisk directory.  


[[Category:How to]]
[[Category:How to]]

Revision as of 22:26, 16 October 2017

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

Backup

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.

Sample: /etc/asterisk/savenode.conf

NODE=1999
PASSWORD=123456
ENABLE=1

Then to create a backup type:

*CLI> savenode.sh

All nodes on this node's 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. Then (with your favorite file transfer program) put the file on your server in a directory, preferably your home directory. Then cp all or some of the files to the /etc/asterisk directory.