vendredi 2 mai 2014

Download and version history

Version 1.0: Initial release, download here

Configuration

General informations

Launch ConfigManager program from desktop shortcut.
Into the left list boxes you can add or remove items by clicking on the plus icon. In the same way, click on the minus icon to delete selected items.

Note: You can undo and redo all modifications from the toolbar 
When you have finished modifications, click on the disk icon to save your configuration 
Restart eBackup service with this button 

Tasks and schedules

In the first tab, you configure devices, tasks, schedules ….

First, add new devices into the left list box.

On the right pane, you can modify devices properties

  • Host name:You can enter DNS name, NetBIOS name or IP address.
  • Description: You can add a mean full description
  • Type: At this day, only Cisco devices are implemented. Do not select “Debug device” it is used for debug purpose only.
  • Login and password: Credentials used for authenticate on device (please read security annex)
  • Exec Mode type: Please specify if the specified user needs to use “Enable” command in order to be in privileged execution mode. For example, when using radius, this command is not needed.
  • Enable password: Specify enable password if needed.

On the right pane, add one or more tasks for each device.

You can select one or more task and adjust properties:
  • Name: Please enter a mean full mane
  • Description: Please enter a mean full descriptions
  • Backup location: Where the backup files will be archived. This location can be a network share. You need to ensure that eBackup service has read/write permissions to this folder.
  • Notify on success/failure: Send an email after task completed with success/failure
  • Retention type: For the moment, only Simple retention is implemented. Simple retention will keep a specified number of backups (per task) on the destination folder.

Next, for each task, you can add one or more schedules

You can select one or more schedule and adjust properties:

  • Description: Please enter a mean full descriptions
  • Type: Today only Daily schedule is available
  • Time: Task will launch every day at specified time

Options

On the options tab, you can set up email settings
  • SMTP server: Host name or IP Address of the SMTP server
  • SMTP port: By default SMTP port is 25, but you can change it if needed
  • From address: This adress will appear as the notification sender
  • Recipient address: destination addresses of notifications
  • Need authentication: If your SMTP server needs one
  • Login/Password: If needed SMTP credentials

Annex

Security

Login and password information are not encrypted in the configuration file. Moreover, if somebody has access to the server, he may be able to launch configuration manager, and read all this information.
For security reasons:
  •   DO NOT USE admin user in order to make backups. I recommend creating a backup user with minimal privileges. Configuring users on cisco devices is beyond the scope of this guide.
  •   DO NOT USE global Enable password: Create a specific enable password for backup user.

Cisco privileges

On cisco devices, backup user only needs the following privileges:
  •   Command “Enable”
  •   Command “Terminal length”
  •   Command “show run”



Installation

Prerequisites

In order to run eBackup you need:
  •   Windows 2008 or above
  •   .Net framework 4.5
  •   Administrative rights during installation process
  •   Allow network port 25 on your firewall if you want to receive email notifications

Steps

Installation is very straightforward, you just need to execute setup files, and choose destination folder.

   




Setup program will create a windows service called eBackup. This service launches by default with local service account, and doesn’t need specific rights. Obviously, this program needs read/write authorisation into backup destination folder. If you want to receive email notifications, you may have to allow ebackup service into your antivirus programs or firewall.

Presentation

Recently I had to set up automatic and periodic backups of Cisco devices in my company.
I started to search on internet for backup solutions, but unfortunately, I didn’t manage to find one simple solution, which fit my needs:
  • Some solutions seem very complete but are expensive => I don’t have any budget for this
  • Some solutions are free but very complex to install => I don’t want to dedicate one server just for hosting backup software. Moreover I am not at ease with Linux systems.
  •  Some solutions are just workaround and not very clean to implement => I 
  • don’t want to schedule tasks on every device in my company, I need centralized and secured solution such as email notifications and file retention (maybe file versioning).


Because I didn’t find what I was searching for, I decided to make my own programs, I fixed some specifications:
  • Need to be lightweight. No dedicated server, no painful installation and compilation processes.
  • Need to be simple to configure. Centralized management of backup taks and schedules.
  • Need to notify on success and failures. It is important to know if everything is running correctly.
  • Need to support files retentions. It is important to keep several backups of the same device.
  • Need to be extensible. In the future, I may need to backup devices from different vendors. Moreover I have to be able to improve functionalities over time (for example adding file versioning support).