Difference between revisions of "Backup Your Node"
Jump to navigation
Jump to search
Tag: visualeditor |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:How to]] | |
+ | [[Category:Node Configuration]] | ||
+ | [[Category:Administration]] | ||
+ | PTTLink has a built-in backup feature that is often overlooked. Backups are easy to create and are stored on our [http://backup.pttlink.org Backup server]. | ||
=Backup Settings= | =Backup Settings= | ||
Line 6: | Line 9: | ||
Sample: savenode.conf | Sample: savenode.conf | ||
<pre> | <pre> | ||
− | NODE=1999 ; replace with your node | + | NODE=1999 ; replace with your node number |
PASSWORD=123456 ; replace with your password | PASSWORD=123456 ; replace with your password | ||
ENABLE=1 | ENABLE=1 | ||
Line 14: | Line 17: | ||
To create a backup type:<br /> | To create a backup type:<br /> | ||
<code>savenode.sh</code> on DIAL and prior.<br /> | <code>savenode.sh</code> on DIAL and prior.<br /> | ||
− | or <code>save-node</code> on | + | or <code>save-node</code> on PTTLink. <br /> |
All nodes on your server will be backed up. | All nodes on your server will be backed up. | ||
=Restore= | =Restore= | ||
− | * Point your browser at [[http://backup. | + | * Point your browser at [[http://backup.pttlink.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. | * 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. | * With your favorite file transfer program upload the file to your user home 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. | * 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. | ||
− | = | + | = PTTLink Backup and Restore Menu = |
* Login is as root. | * Login is as root. | ||
− | * Start the | + | * Start the PTTLink Menu by typing ptt-menu at the Linux prompt if not already showing. |
− | * Select "6 | + | * Select "6 PTTLink Configuration Edit Menu" |
* Select "A Backup Restore Menu" | * Select "A Backup Restore Menu" | ||
* Choose the Backup or Restore function desired | * Choose the Backup or Restore function desired | ||
− | |||
− | |||
− |
Latest revision as of 05:32, 13 March 2021
PTTLink 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 number PASSWORD=123456 ; replace with your password ENABLE=1
Backup
To create a backup type:
savenode.sh
on DIAL and prior.
or save-node
on PTTLink.
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
andcp
all or some of the files to the /etc/asterisk directory.
PTTLink Backup and Restore Menu
- Login is as root.
- Start the PTTLink Menu by typing ptt-menu at the Linux prompt if not already showing.
- Select "6 PTTLink Configuration Edit Menu"
- Select "A Backup Restore Menu"
- Choose the Backup or Restore function desired