Difference between revisions of "Backup"

From Mupssoft Wiki
Jump to navigation Jump to search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<h1>'''Backup Module'''</h1>
 
<h1>'''Backup Module'''</h1>
 
<h2>'''How to'''</h2>
 
<h2>'''How to'''</h2>
<p>The module allows making tasks on the backup groups of RouterOS devices with the set parameters.
+
<p>The module allows making tasks on the backup groups of devices (Cisco, HP, Huawei, MikroTik and e.t.c) with the set parameters.
In order for the module to work it is necessary to make sure that it is [[Install_and_Basic_Configuration#Install_and_Start_services|installed and running in Settings]]:</p>
+
In order for the module to work it is necessary to make sure that it is [[Install_and_Basic_Configuration#Install_and_Start_services|installed and running in Settings]]</p>
<h2>'''Jobs'''</h2>
+
{| class="wikitable"
<p>When you click on the Jobs tab, you will see the following window:</p>
+
|+
 +
!Vendor
 +
!
 +
!MUPSBOX management via
 +
!
 +
! colspan="7" |Backup - send from Device to
 +
!
 +
! colspan="5" |Backup - get from Device via
 +
|-
 +
|
 +
|
 +
|'''Telnet / SSH / API / Rest-API'''
 +
|
 +
|'''SNMP Mng'''
 +
|'''TFTP / Diff'''
 +
|'''TFTP(MB) / Diff'''
 +
|'''FTP / Diff'''
 +
|'''SCP / Diff'''
 +
|'''SCP(MB) / Diff'''
 +
|'''SFTP / Diff'''
 +
|
 +
|'''CLI Capture / Diff / Resend (ftp/sftp)'''
 +
|'''TFTP / Diff / Resend'''
 +
|'''FTP / Diff / Resend'''
 +
|'''SCP / Diff / Resend'''
 +
|'''SFTP / Diff / Resend'''
 +
|-
 +
|'''Cisco IOS'''
 +
|
 +
|Yes /  Yes  /    -    / -
 +
|
 +
| - / -
 +
|Yes / -
 +
|Yes / Yes
 +
|Yes / Yes
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|
 +
| - / - / -
 +
| - / - / -
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|-
 +
|'''Cisco ASA'''
 +
|
 +
|Yes /  Yes  /    -    / -
 +
|
 +
| - / -
 +
|Yes / -
 +
|Yes / Yes
 +
|Yes / Yes
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|
 +
| - / - / -
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|-
 +
|'''MikroTik ROSv6'''
 +
|
 +
|Yes* /  Yes*  /  Yes /  -
 +
|
 +
| - / -
 +
|  - / -
 +
|<nowiki>- / -</nowiki>
 +
|Yes / Yes
 +
| - / -
 +
| - / -
 +
|Yes / Yes
 +
|
 +
| - / - / -
 +
|  - / - / -
 +
|Yes / Yes / -
 +
|  - / - / -
 +
|Yes / Yes / Yes
 +
|-
 +
|'''MikroTik ROSv7'''
 +
|
 +
|Yes* /  Yes*  /  Yes / no
 +
|
 +
| - / -
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>-  / -</nowiki>
 +
|Yes / Yes
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|Yes / Yes
 +
|
 +
| - / - / -
 +
|<nowiki>- / - / -</nowiki>
 +
|Yes / Yes / -
 +
|<nowiki>- / - / - </nowiki>
 +
|Yes / Yes / Yes
 +
|-
 +
|'''Juniper'''
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|'''Eltex'''
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|'''D-Link DES/DGS'''
 +
|
 +
|Yes /  Yes  /    -    / -
 +
|
 +
| - / -
 +
|Yes / -
 +
|Yes / ?
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|<nowiki>- / -</nowiki>
 +
|
 +
| - / - / -
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|<nowiki>- / - / -</nowiki>
 +
|}
 +
 
 +
* * mupsbox services interacting with mikrotik ros do not use telnet or ssh; in the current version the service with mikrotik ros uses only api
 +
 
 +
<h2>'''Mikrotik jobs'''</h2>
 +
<p>When you click on the Mikrotik jobs tab, you will see the following window:</p>
 
[[File:Backup-jobs.png|Backup jobs]]
 
[[File:Backup-jobs.png|Backup jobs]]
 
<p>There are 8 buttons on the Jobs tab:</p>
 
<p>There are 8 buttons on the Jobs tab:</p>
Line 107: Line 264:
 
<li>Description - Comment for current backup sync job.<br></li>
 
<li>Description - Comment for current backup sync job.<br></li>
 
</ul></p>
 
</ul></p>
 +
 +
<h2>'''Nix backup jobs'''</h2>
 +
<p>When you click on the Nix backup jobs tab, you will see the following window:</p>
 +
[[File:Nix-backup-job.png|Nix backup jobs]]
 +
<p>There are 6 buttons on the Jobs tab:</p>
 +
<p><ul>
 +
<li>[[File:add.png|Add backup job]] - Add backup job<br></li>
 +
<li>[[File:remove.png|Delete backup job]] - Delete backup job<br></li>
 +
<li>[[File:enable.png|Enable backup job]] - Enable backup job<br></li>
 +
<li>[[File:disable.png|Disable backup job]] - Disable backup job<br></li>
 +
<li>[[File:run.png|Manual start backup job immediately]] - Manual start backup job immediately<br></li>
 +
<li>[[File:refresh.png|Refresh list of backup jobs]] - Refresh list of backup jobs<br></li>
 +
</ul></p>
 +
<p>The filter box is available for find appropriate nix backup job:</p>
 +
[[File:Filter.PNG|Filter box]]
 +
 +
<h3>'''Add Nix backup job'''</h3>
 +
<p>In order for the program create backup on your nix dervices, you must click on the [[File:add.png|Add Nix backup job]], then the Edit job window will open:</p>
 +
[[File:Nix-job-add.png|Add Nix backup job]]
 +
<p><ul>
 +
<li>Job name - name of the job<br></li>
 +
<li>Host - your Nix device<br></li>
 +
<li>Path - path to the folder you want to backup, starting with the root directory<br></li>
 +
<li>Destination - local or network place where backup copies will collected. First time Destination should be configured on Destination Tab<br></li>
 +
<li>Period type - there are four types: manual, daily, monthly,Hours/minutes<br></li>
 +
<li>Server type - the method by which you will connect and take backup files.<br></li>
 +
<li>Folder type - how to create folders for the backup.<br></li>
 +
<li>Folders level backup - specify the depth of backup folders, 0 does not limit the depth.<br></li>
 +
<li>Diff enable - enable a differential option for a Nix backup job<br></li>
 +
<li>Diff typs - type of files to be compared; empty field means comparison of all files<br></li>
 +
<li>Description - description in free interpretation<br></li>
 +
</ul></p>
 +
 +
 +
<h2>'''Cisco backup jobs'''</h2>
 +
<p>When you click on the Nix backup jobs tab, you will see the following window:</p>
 +
[[File:Nix-backup-job.png|Nix backup jobs]]
 +
<p>There are 6 buttons on the Jobs tab:</p>
 +
<p><ul>
 +
<li>[[File:add.png|Add backup job]] - Add backup job<br></li>
 +
<li>[[File:remove.png|Delete backup job]] - Delete backup job<br></li>
 +
<li>[[File:enable.png|Enable backup job]] - Enable backup job<br></li>
 +
<li>[[File:disable.png|Disable backup job]] - Disable backup job<br></li>
 +
<li>[[File:run.png|Manual start backup job immediately]] - Manual start backup job immediately<br></li>
 +
<li>[[File:refresh.png|Refresh list of backup jobs]] - Refresh list of backup jobs<br></li>
 +
</ul></p>
 +
 +
<br>
 +
<div id="shbox" style=" border-width:1px; border-color:lightgrey; padding: 2px 5px 2px 10px; min-height:56px; border-style:solid; font-size: 0.9em;">[[File:Icon-warn.png|left|56px|56px]]
 +
<p style="margin-top:10px; margin-left: 56px;"><b style="color:green;">Notice:</b> <b>IOS 12.1 and below</b> - can backup to ftp only if you use the standard port (21) in mupsbox settings.</p></div>
 +
<br />
 +
 +
 +
<p>The filter box is available for find appropriate nix backup job:</p>
 +
[[File:Filter.PNG|Filter box]]
 +
 +
<h3>'''Add Cisco backup job'''</h3>
 +
<p>In order for the program create backup on your nix dervices, you must click on the [[File:add.png|Add Nix backup job]], then the Edit job window will open:</p>
 +
[[File:Nix-job-add.png|Add Nix backup job]]
 +
<p><ul>
 +
<li>Job name - name of the job<br></li>
 +
<li>Host - your Nix device<br></li>
 +
<li>Path - path to the folder you want to backup, starting with the root directory<br></li>
 +
<li>Destination - local or network place where backup copies will collected. First time Destination should be configured on Destination Tab<br></li>
 +
<li>Period type - there are four types: manual, daily, monthly,Hours/minutes<br></li>
 +
<li>Server type - the method by which you will connect and take backup files.<br></li>
 +
<li>Folder type - how to create folders for the backup.<br></li>
 +
<li>Folders level backup - specify the depth of backup folders, 0 does not limit the depth.<br></li>
 +
<li>Diff enable - enable a differential option for a Nix backup job<br></li>
 +
<li>Diff typs - type of files to be compared; empty field means comparison of all files<br></li>
 +
<li>Description - description in free interpretation<br></li>
 +
</ul></p>
 +
 +
 +
 
<div id="BackToTop"  class="noprint" style="background-color:#DDEFDD; position:fixed;
 
<div id="BackToTop"  class="noprint" style="background-color:#DDEFDD; position:fixed;
 
  bottom:32px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue;
 
  bottom:32px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue;

Latest revision as of 05:27, 3 December 2023

Backup Module

How to

The module allows making tasks on the backup groups of devices (Cisco, HP, Huawei, MikroTik and e.t.c) with the set parameters. In order for the module to work it is necessary to make sure that it is installed and running in Settings

Vendor MUPSBOX management via Backup - send from Device to Backup - get from Device via
Telnet / SSH / API / Rest-API SNMP Mng TFTP / Diff TFTP(MB) / Diff FTP / Diff SCP / Diff SCP(MB) / Diff SFTP / Diff CLI Capture / Diff / Resend (ftp/sftp) TFTP / Diff / Resend FTP / Diff / Resend SCP / Diff / Resend SFTP / Diff / Resend
Cisco IOS Yes / Yes / - / - - / - Yes / - Yes / Yes Yes / Yes - / - - / - - / - - / - / - - / - / - - / - / - - / - / - - / - / -
Cisco ASA Yes / Yes / - / - - / - Yes / - Yes / Yes Yes / Yes - / - - / - - / - - / - / - - / - / - - / - / - - / - / - - / - / -
MikroTik ROSv6 Yes* / Yes* / Yes / - - / - - / - - / - Yes / Yes - / - - / - Yes / Yes - / - / - - / - / - Yes / Yes / - - / - / - Yes / Yes / Yes
MikroTik ROSv7 Yes* / Yes* / Yes / no - / - - / - - / - Yes / Yes - / - - / - Yes / Yes - / - / - - / - / - Yes / Yes / - - / - / - Yes / Yes / Yes
Juniper
Eltex
D-Link DES/DGS Yes / Yes / - / - - / - Yes / - Yes / ? - / - - / - - / - - / - - / - / - - / - / - - / - / - - / - / - - / - / -
  • * mupsbox services interacting with mikrotik ros do not use telnet or ssh; in the current version the service with mikrotik ros uses only api

Mikrotik jobs

When you click on the Mikrotik jobs tab, you will see the following window:

Backup jobs

There are 8 buttons on the Jobs tab:

  • Add backup job - Add backup job
  • Delete backup job - Delete backup job
  • Enable backup job - Enable backup job
  • Disable backup job - Disable backup job
  • Manual start backup job immediately - Manual start backup job immediately
  • Refresh list of backup jobs - Refresh list of backup jobs
  • Settings backup - Save Backup Settings to file
  • Settings restore - Restore Backup Settings from file

The filter box is available for find appropriate backup job:

Filter box

Add backup job

In order for the program create backup on your routers, you must click on the Add backup job, then the Edit job window will open:

Edit job

  • Job name - name of the job
  • Source - select a group of routers from which we want create backup data
  • Destination - local or network place where backup copies will collected. First time Destination should be configured on Destination Tab
  • Backup mode - there are six modes: system backup, export compact, export verbose for ROSv6, Mupsbox settings backup, Dude DB and User Manager DB
  • Schedule - there are three schedule modes: manual, daily, monthly
  • Encryption - ecnryption string what new backup will be encrypted. For system backup only applied.
  • Export path - Export not all backup configuration, only part backup configuration what start header of part backup configuration. For export compact and export verbose only applied.

If daily or monthly schedule mode was chosen backup service will automaticaly start. Backup service should be started.

The Daily backup provides start backup day or days of week:

Backup daily

The Monthly backup provides start backup day of week:

Backup monthly

The backup module can send email notification every time when a backup job was finished. For that action option "send an email notification after backup job" should be marked. If the recipient field will blank, a global notification email will be used instead.

The backup module can show differential information only for export compact and export verbose backup mode by email notification. At the same time, a full backup will save on an appropriate backup destination. Differential information will be marked by different colors. There are the next differential options:

  • Diff enable - enable a differential option for a backup job
  • Previous backup № - backup job compare information between current backup and appropriate № backup. For Example, if Previous backup # chosen 3 for a daily backup job, differential information between current backup and 3 days ago backup will be saved.
  • show all - send HTML file including all backup configuration by email notification.
  • miss first string - same as "show all". The first string will not include in a report.
  • difference - send HTML file differential backup configuration by email notification.
  • miss first string - same as "difference". The first string will not include in a report.

Retention option can be used by the backup module for deletion old backup copies and keep disk space of backup destination on the same level. The number of retention copies provides to save that number on backup destination. Other copies will delete by the next running backup job.

Open ports must be used if access to the router from ftp and sftp ports is prohibited in your firewall


Destination

The location that will keep backup copies should be configured on Destination tab.

Destination

There are 3 buttons on the Jobs tab:

  • Add backup destination - Add backup destination
  • Delete backup destination - Delete backup destination
  • Check connection to FTP destination - Check connection to FTP destination

Add backup destination

For create new backup destination, you must click on the Add backup destination, then the Edit destination window will open:

Add Destination

  • Name - name of the backup destination
  • IP version - There is IP protocol communication to FTP or SFTP server. Be sure that IP V4 or IP V6 addresses applied in Device module.
  • Type of destination - There is destination can be ether to FTP/SFTP server (screenshot above) or to network folder (screenshot below).
  • Destination - local or network place where backup copies will collected. First time Destination should be configured on Destination Tab
  • FTP port - port of FTP server.
  • FTP subfolder - There is destination as subfolder of FTP server.
  • FTP host ip - ip address of FTP server.
  • FTP user - account to access to FTP server.
  • FTP password - password of account to access to FTP server.
  • Method - there is method of transfer protocol ether FTP of SFTP.
  • Port - number of port for FTP/SFTP connection.

Add Destination Folder

There is destination as network folder have next fields:

  • Destination folder - the folder on network folder.
  • Net path - network path to network folder.
  • User - account to access to network folder.
  • Password - password of account to access to network folder.

Diff

For compare different configuration the software has Diff tab. The Diff tab split windows into two parts. There is the next feature:

  • Open backup file - the left file and/or right file.
  • Use the last number of backup - the feature on the left side.
  • Device - create and use to compare the current backup file. The feature on the right side.

Diff

The example of compare two configurations showed below:

Diff

Backup sync

Backup sync provides synchronize parts of configuration from the primary RouterOS device to slave RouterOS device on a regular period of time. This feature can create redundancy solution on RouterOS Devices.

BackupSync

For create new Backup sync, you must click on the Add backup destination, then the Backup sync window will open:

Add Backup Sync

  • Job name - name of the backup sync job
  • Master router - select a RouterOS device that will send part of configuration to MupsBox Application.
  • Slave routers - select group of RouterOS devices that will recieve part of configuration from MupsBox Application.
  • Export path - part of configuration what will syncronyzed from Master to Slave RouterOS Devices via MupsBox Application.
  • FTP/SFTP - transfer protocol that will used for syncronization.
  • Period type - there are three schedule modes: monthly, daily, hours/minutes.
  • Description - Comment for current backup sync job.

Nix backup jobs

When you click on the Nix backup jobs tab, you will see the following window:

Nix backup jobs

There are 6 buttons on the Jobs tab:

  • Add backup job - Add backup job
  • Delete backup job - Delete backup job
  • Enable backup job - Enable backup job
  • Disable backup job - Disable backup job
  • Manual start backup job immediately - Manual start backup job immediately
  • Refresh list of backup jobs - Refresh list of backup jobs

The filter box is available for find appropriate nix backup job:

Filter box

Add Nix backup job

In order for the program create backup on your nix dervices, you must click on the Add Nix backup job, then the Edit job window will open:

Add Nix backup job

  • Job name - name of the job
  • Host - your Nix device
  • Path - path to the folder you want to backup, starting with the root directory
  • Destination - local or network place where backup copies will collected. First time Destination should be configured on Destination Tab
  • Period type - there are four types: manual, daily, monthly,Hours/minutes
  • Server type - the method by which you will connect and take backup files.
  • Folder type - how to create folders for the backup.
  • Folders level backup - specify the depth of backup folders, 0 does not limit the depth.
  • Diff enable - enable a differential option for a Nix backup job
  • Diff typs - type of files to be compared; empty field means comparison of all files
  • Description - description in free interpretation


Cisco backup jobs

When you click on the Nix backup jobs tab, you will see the following window:

Nix backup jobs

There are 6 buttons on the Jobs tab:

  • Add backup job - Add backup job
  • Delete backup job - Delete backup job
  • Enable backup job - Enable backup job
  • Disable backup job - Disable backup job
  • Manual start backup job immediately - Manual start backup job immediately
  • Refresh list of backup jobs - Refresh list of backup jobs


Icon-warn.png

Notice: IOS 12.1 and below - can backup to ftp only if you use the standard port (21) in mupsbox settings.



The filter box is available for find appropriate nix backup job:

Filter box

Add Cisco backup job

In order for the program create backup on your nix dervices, you must click on the Add Nix backup job, then the Edit job window will open:

Add Nix backup job

  • Job name - name of the job
  • Host - your Nix device
  • Path - path to the folder you want to backup, starting with the root directory
  • Destination - local or network place where backup copies will collected. First time Destination should be configured on Destination Tab
  • Period type - there are four types: manual, daily, monthly,Hours/minutes
  • Server type - the method by which you will connect and take backup files.
  • Folder type - how to create folders for the backup.
  • Folders level backup - specify the depth of backup folders, 0 does not limit the depth.
  • Diff enable - enable a differential option for a Nix backup job
  • Diff typs - type of files to be compared; empty field means comparison of all files
  • Description - description in free interpretation