Backup Your Node: Difference between revisions

From AllStarLink Wiki
Jump to navigation Jump to search
imported>Wd6awp
No edit summary
imported>N7JCT
Line 2: Line 2:


=Backup Settings=
=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/astrerisk/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

Revision as of 15:06, 8 July 2018

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/astrerisk/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: *CLI> savenode.sh 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.