User Tools

Site Tools


public:feature:filter-linux

Managing filter for Linux/ FreeBSD OS

1. Create a backup set with filter

1.1. Login to AhsayCBS Web Console using valid credentials.

1.2. On the main screen, under Backup / Restore, go to User.

1.3. Select Backup Set located on the left side of the screen then click the plus sign (+) to add a new backup set.

1.4. Enter the name of the new backup set and select the backup set type from the dropdown box then click the next icon located at the bottom right corner of the screen to continue.

1.5. Specify the backup source for the new backup set.

1.6. Go to the Apply filters to the backup source. To apply a filter, by default it is not enabled. Slide the lever to the right side to enable it.

1.7. To add a filter to the backup set, click the [+] button. You can add as many as you want just make sure it won’t conflict with the other backup sets that already has an existing filter configuration.

1.8. Specify the filter name. Ensure that the filter name will correspond to the filter configuration you want to achieve so that .you won’t be having a hard time amending the backup set from time to time.

1.9. To add pattern to your filter, click the [+] button. You can add various patterns that depends on your desired filter result.

These are some examples of matching patterns:

· Pattern No. 1: “A”

· Pattern No. 2: “b”

· Pattern No. 3: “.docx”

· Pattern No. 4: “Backup”

Note: The matching patterns above are just examples.

1.10. After specifying matching patterns, choose if the files/folders will be included or excluded in the backup.

1.11. You also have the option to include or exclude all the unmatched files/folders by checking /unchecking the checkbox.

1.12. For the matching pattern specified above, select which comparison will be used. Either Simple Comparison that has three (3) options namely, Starts With, Ends With, and Contains or Regular Expression (UNIX-Style).

1.13. To apply this filter on a specific directory or folder, choose from the radio button, All hard disk drives or This folder only.

If All hard disk drives is selected, then the filter will be applied to all available hard disk drives in your computer.

If This folder only is selected, then the filter will only be applied to a specific directory.

Check or uncheck the File or Folder checkbox to apply the specified filter to all files and/or folders or you can check both of it. Click Next to proceed.

1.14. By default the Run scheduled backup for this backup set option is disabled. To create a backup schedule, slide the lever to the right to enable it.

1.15. To add a backup schedule, click the [+] button. Enter the information of the new backup schedule you want to add. Click the plus (+) sign at the bottom right corner of the screen to continue.

1.16. Add a new backup destination for this backup set.

From the Backup Mode dropdown box, select either Sequential or Concurrent. In our example, we selected Sequential.

Add a Destination by your backup service provider by clicking (+) in the middle of the screen

Select the destination and click the plus (+) sign at the bottom right corner of the screen to continue.

1.17. Uncheck the box to disable OpenDirect as this is not supported in Linux.

1.18. Leave the Domain Name / Host Name and User name fields blank since Windows User Authentication is not supported in Linux. Click Save to create the Backup Set.

1.19. This is the newly created backup set.

2. Edit an existing backup set to add filter

2.1. Login using a valid credentials.

2.2. On the main screen, under Backup / Restore, go to User.

2.3. Click the Backup Set located on the left side of the screen.

2.4. Select and manage one of the created backup sets by double clicking the desired item.

2.5. Follow steps 6 to 13 which are discussed in Ch 5.1 Create a backup set with filter, pages 21 to 23.

3. Verify the backup report and logs

There are two (2) ways to check the report. First, by checking the report file on the AhsayCBS Web Console and the second way is via Command Line Interface (CLI).

Backup Report via Web Console

Access the report via the web console by going to Backup/Restore> User> Report. Select the report that you wanted to check and download the PDF. Note that the PDF will only be available 15 minutes after the completion of backup.

Backup Logs via Command Line Interface (CLI)

Access the log file via the CLI by going to this directory, #cd /root/.obm/log. The logs in the .obm directory is where all the backup logs are located. Select the backup report you wanted to check. Unlike in the AhsayCBS Web Console, the log files are available right after the completion of backup.

For additional reference on the location of the application logs, access the link below:

FAQ: Where are the backup client application logs stored at?

http://wiki.ahsay.com/doku.php?id=public:5057_faq:where_are_the_backup_client_application_logs_stored_at

public/feature/filter-linux.txt · Last modified: 2021/06/28 15:22 by ronnie.chan