Skip to main content

Configure backint-related parameters

Before you can start using Backint with your SAP ASE Database you will need to ensure that following configuration options are configured in your server:

Topics


Create a dump configuration

In order to make it easier for backup adminsitrator to launch backups with specific settings, it is a best practice to create dump profiles. We can create as many Dump Profiles as we want, each one with different settings. This can be useful when we want to use, for example, one profile for Full Backups, other for Incremental Backup, another one for logs backups, and so on.


_10
1> use master
_10
2> go
_10
_10
1> sp_config_dump
_10
@config_name = '<profile_name>',
_10
@ext_api = 'emory::compression=<compression_level',
_10
@num_stripes = '<int>',
_10
@blocksize = '16384'
_10
2> go

Use one of the following examples to create your dump configuration file. You can adapt these parameters to any value that better fits your needs:

4 vCPUs with no compression

_10
1> use master
_10
2> go
_10
_10
1> sp_config_dump
_10
@config_name = 'emory_S8',
_10
@ext_api = 'emory::',
_10
@num_stripes = '8',
_10
@blocksize = '16384'
_10
2> go

8 vCPUs with compression

_10
1> use master
_10
2> go
_10
_10
1> sp_config_dump
_10
@config_name = 'emory_S8_C5',
_10
@ext_api = 'emory::compression=5',
_10
@num_stripes = '8',
_10
@blocksize = '16384'
_10
2> go

4 vCPUs with compression

_10
1> use master
_10
2> go
_10
_10
1> sp_config_dump
_10
@config_name = 'emory_S4_C1',
_10
@ext_api = 'emory::compression=1',
_10
@num_stripes = '4',
_10
@blocksize = '16384'
_10
2> go

Ensure that the dump profile has been properly created you can list the existing dump profiles by executing the following command:


_10
1> use master
_10
2> go
_10
1> sp_config_dump
_10
2> go

To view the configuration details of a specific dump profile, execute the following command:


_10
1> use master
_10
2> go
_10
1> sp_config_dump <profile_name>
_10
2> go

::: details Expand to see an output example


_10
optionname optionvalue
_10
----------------- ---------------------
_10
ext_api emory::compression=5
_10
num_stripes 8
_10
blocksize 65536

:::


Configure database specific options

In this section you will find the specific configuration settings modifiable for ASE.

All the modifiable values will be listed in the Specific Database configuration for ASE database section in Backint menu:


_10
? Backint: [Use arrows to move, enter to select, type to filter]
_10
Storage Providers profiles
_10
Data storage providers for backups & restores
_10
> Specific Database configuration for ASE database
_10
License Software
_10
Logging settings
_10
Syntax Backups Dashboard
_10
Backups Lifecycle
_10
Debug traces
_10
Exit

Sybase IO Block Size

By default, the value of block size is set at 16 KB. You can keep increasing the value of block size by multiple of 2 KB till you get a higher I/O during dump and load operations.

tip

It is a best practice to set the block size as 16 KB.

If you need to change this value, follow these steps:

  • Enter the proper section from the menu:


    _10
    ? Select action to perfom: [Use arrows to move, enter to select, type to filter]
    _10
    > Sybase IO Block Size
    _10
    Return

  • Select the desired IO Block Size:


    _10
    ? Select action to perfom: Sybase IO Block Size
    _10
    ? Select Sybase IO Block Size (change only under supervision): [Use arrows to move, enter to select, type to filter]
    _10
    4096 bytes
    _10
    8192 bytes
    _10
    > 16384 bytes
    _10
    32768 bytes

  • You can now select Return and Exit to save the configuration if no other action should be taken.

The following settings should be applied to your SAP ASE Database:

tip

To perform all the following actions your will need to connect to your SAP ASE database ISQL command line tool.


_10
isql -U sapsa -P <your password> -S <SAP SID> -X

  • Check Database Page Size. The recommended value for creating dump configuration settings should be 16384


    _10
    1> select @@maxpagesize
    _10
    2> go
    _10
    _10
    -----------
    _10
    16384

  • Activate Database Logging. In order to be able to recover a database with Point In Time options, yu must activate database logging.


    _10
    1> exec master..sp_dboption D04, 'trunc log on chkpt', false
    _10
    2> go

  • Enable Dumphistory File. To enable the dump history file, execute the following commands:


    _10
    1> use master
    _10
    2> go
    _10
    1> sp_configure 'enable dump history', 1
    _10
    2> go
    _10
    1> sp_configure 'dump history filename', 1, 'dumphist'
    _10
    2> go

    tip

    To ensure that the proper parameters have been activated you can list the current configuration by executing the following commands.


    _11
    1> sp_configure 'dump history filename'
    _11
    2> go
    _11
    Parameter Name Default Memory Used Config Value Run Value Unit Type
    _11
    --------------------- ----------- ----------- ------------ ------------ -------------------- --------------------
    _11
    dump history filename dumphist 0 dumphist dumphist name dynamic
    _11
    _11
    1> sp_configure 'enable dump history'
    _11
    2> go
    _11
    Parameter Name Default Memory Used Config Value Run Value Unit Type
    _11
    --------------------- ----------- ----------- ------------ ------------ -------------------- --------------------
    _11
    enable dump history 0 0 1 1 switch dynamic

  • List Dumphistory File contents. To list the current dump history file contents, you can execute the following commands:


    _10
    1> sp_dump_history
    _10
    2> go

  • Result:


    _24
    DUMP
    _24
    ----
    _24
    Dump_Type Dbid Database_name Stripes Dump_instant File Server_name Compression_lvl Password Status Label Dump_date
    _24
    ----------- ------ -------------- ------- --------------------------- ------------------------------------------------- ----------- --------------- -------- -------- ----- --------------------------
    _24
    DATABASE 4 D04 4 May 22 2020 9:41:29:070AM emory::compression=-2::D04.DB.20200522.093515.000 * 0 no Success * May 22 2020 9:41:33:096AM
    _24
    DATABASE 4 D04 4 May 22 2020 9:41:29:070AM emory::compression=-2::D04.DB.20200522.093515.001 * 0 no Success * May 22 2020 9:41:33:096AM
    _24
    DATABASE 4 D04 4 May 22 2020 9:41:29:070AM emory::compression=-2::D04.DB.20200522.093515.002 * 0 no Success * May 22 2020 9:41:33:096AM
    _24
    DATABASE 4 D04 4 May 22 2020 9:41:29:070AM emory::compression=-2::D04.DB.20200522.093515.003 * 0 no Success * May 22 2020 9:41:33:096AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:28:44:076AM emory::compression=9::D04.DB.20200522.105442.000 * 0 no Success * May 22 2020 11:29:29:353AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:28:44:076AM emory::compression=9::D04.DB.20200522.105442.001 * 0 no Success * May 22 2020 11:29:29:353AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:28:44:076AM emory::compression=9::D04.DB.20200522.105442.002 * 0 no Success * May 22 2020 11:29:29:353AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:28:44:076AM emory::compression=9::D04.DB.20200522.105442.003 * 0 no Success * May 22 2020 11:29:29:353AM
    _24
    DATABASE 4 D04 0 May 22 2020 11:30:06:163AM dump.error * 0 no Error May 22 2020 11:30:06:163AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:34:45:076AM emory::::D04.DB.20200522.113046.000 * 0 no Success * May 22 2020 11:34:53:513AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:34:45:076AM emory::::D04.DB.20200522.113046.001 * 0 no Success * May 22 2020 11:34:53:513AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:34:45:076AM emory::::D04.DB.20200522.113046.002 * 0 no Success * May 22 2020 11:34:53:513AM
    _24
    DATABASE 4 D04 4 May 22 2020 11:34:45:076AM emory::::D04.DB.20200522.113046.003 * 0 no Success * May 22 2020 11:34:53:513AM
    _24
    _24
    CONFIG
    _24
    ------
    _24
    _24
    ALTER DATABASE
    _24
    --------------
    _24
    (return status = 0)


High Availability configuration

Backint has no explicit compatibility for a Sybase database system with High Availability configuration.

However, there is a setup you can complete to achieve this:

  • Create one bucket for each cluster node
  • Install Backint in each node
  • Configure Backint to store backups each node to one different bucket
  • Execute backups only for the active node
  • Execute Transaction Log backups for all nodes