• No results found

This section deals with the interface management of the printers intended to be available in the network. When you define a printer you are asked to define that fields (Figure3.53):

1. Name: Printer name;

2. Description: Simple description about the printer. This field is not manda-tory;

3. Location: Physical location in the company. This field is not mandatory;

4. Interface: Interface type used between the printer and the server. There are 4 options:

• Parallel port;

• Serial port;

• USB port;

• Network printer: Connected to a LAN switch.

5. Device: Used by the printer. This is directly related to the interface. (This option is only available for interfaces with parallel port, series port and USB port) (e.g. Interface–>Parallel Port, Hardware ->Parallel Port 1)

3.8 Print Server 63

Figure 3.51: E-Mail - Kasp. Anti-Spam - Rules

6. In case of a network printer, the following information is necessary:

• Address: Network printer address. (this option is only available for network printers) (e.g. 192.168.1.1)

• Port: Used by the network printer. This field is not obligatory. (This option is only available for network printers) (e.g. for a HP printer:

9100)

After inserting a printer IPBrick has to put the drivers available for the client stations in order to finish the configuration. Therefore the printer drivers have to be transferred to the server:

1. Log on in a Windows station with a user of the Administrators group (the workstation has to be already registered in the IPBrick domain);

2. Press the keys [Win]+[R] at the same time and type \\ipbrick;

3. Select Printers and Faxes

Verify if the added printer to the IPBrick Web interface is shown.

4. Right click inside the window Printers and Faxes and select Server Properties;

5. Select the Drivers option in the presented window.

6. Choose ”Add”, set the manufacturer and the printer model and click Next;

Figure 3.52: E-Mail - Kasp. Anti-Spam - Statistics

7. Select the Windows version which the drivers have to correspond with.

8. Click Finish

Now the printer’s drivers are transferred to IPBrick.

9. At share named Printers and Faxes on IPBrick, right click at the printer and choose Printer Properties. You’ll be prompted with a message like the one in Figure3.54. Choose ”No”.

10. Enter in ”Advanced”, select the new driver just added and click ”Apply”.

To configure the printer on the client side, you must:

• Press the keys [Win]+[R] at the same time;

• Type \\ipbrick at the new window;

• Right click on the printer and choose ”Connect”.

Now the printer is listed at ”Printers and fax’s” on the client side.

3.9 Backup 65

Figure 3.53: Print Server - Inserting a network printer at IPBrick

Figure 3.54: Print Server - Printer configurations

3.9 Backup

Backup consists of copying data from one device to another with the aim of preserving the data in case of future problems. Usually this copy is made from the hard disk to tapes, DVD or other disks. Nowadays paper is increasingly replaced by digital files, bringing companies to the importance of having a reliable backup system.

3.9.1 Bacula

In IPBrick 5.0 we include Bacula that is a complete network backup solution.

Link: http://www.bacula.org.

3.9.2 Remote

This option enables the possibility of configuring scheduled backups to a NAS5 device or to a rsync server. Rsync is a powerful backup tool included in IPBrick, that does incremental copies of files/directories to another rsync server.

To add a backup task you must click Insert (Figure 3.55). You will have the following fields:

Backup definitions:

• Backup Name: It’s the backup name.

• Notification E-mail: Recipient that will receive all the backup notifications;

• Job to do: There are two options:

– Copy: It will copy all work areas to the backup device(/home1, /home2, /home3...);

– Restore: It will restore all work areas from the backup device;

• Periodicity: The backup will be allways daily;

• Time to start: Time when the copy will start;

Destination Data Definitions:

• Data Location: The only option is remote. It will always be a remote ma-chine.

• Backup Device

– NAS (SMB): The backup device is a NAS6 with a SMB share created.

The backup method is done using the archiving utility tar. Options available:

∗ IP address: Backup device’s IP address;

∗ Login: Username that has access to the share;

∗ Password: Share password;

∗ Share Name: Name of the share created in the NAS.

– NAS (NFS): The backup device is a NAS7 with a NFS share created.

The backup method is done using the incremental backup utility rsync.

Options available:

5Network Attached Storage

6Network-attached Storage

7Network-attached Storage

3.9 Backup 67

Figure 3.55: Backup - Task insertion

∗ IP address: Backup device’s IP address:

∗ Share Name: Name of the share created in the NAS.

– Rsync Server: The backup device is a machine running a rsync server.

You can see an example of a rsync server configuration in the next section;

∗ IP address: The rsync server’s IP address.

When a backup task is inserted, we have a Backups List with the following options (Figure 3.56):

• Name: Clicking in the Backup Name you will have access to these options:

– Back: Go to backups list;

– Modify: Modify the current backup task definitions;

– Delete: Delete the current backup task;

• Start copy: Starts the backup immediately;

• Statistics: Backup statistics;

• LOG: Backup log messages.

Figure 3.56: Backup - Task list

Rsync server configuration

If the backup device is another IPBrick, the server must be prepared to act as a rsync server. First let’s suppose that the client IPBrick machine has that configurations:

• IP: 192.168.69.199;

• FQDN: ipbrick.domain.com;

At IPBrick rsync server we need to:

1. Create a group workarea (share) using the Workarea 1, with the FQDN as the share name: ipbrick.domain.com;

2. Connect by SSH to the IPBrick server and type the following command in order to put rsync allways running when the server reboots:

update-rc.d rsync defaults 20

3. Create the configuration file for rsync by typing: nano /etc/rsyncd.conf 4. Fill the following content: