Vidda911

updated

11 years ago

V

Vidda911

76 Posts

0

864

June 11th, 2015 06:00

Saveset under linux and directive

Hi everybody,

I have to backup 40 linux clients.

My SAP admin need to backup:

/

/boot

/home

/var

/sapmnt

/usr/sap

/oracle

My 1st question is:this saveset make sens ?

If i backup "/", i backup all datas.

Why should I backup "/boot", etc...

2nd question, i need to exclude:

/oracle/ /sapdata1

/oracle/ /origlog

/oracle/ /mirrlog

where   is different on each 40 Linux clients.

How i can do that without creat 40 directives ?

Thanks in advance.

Best regards

David.

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    505

    0

    Posted June 11th, 2015 06:00

    Use save set All.  "/" in UNIX is not the same as "/" in Windows   In "/" Windows will select all ssids, while on UNIX/Linux it will select only root partition.  Save set All will select all local file systems.

    As for exclude, you can use something like following:

    << /oracle >>

      +skip: *.data?

      +skip: *.data??

      +skip: *.data???

      +skip: *.dbf

    << /sapcd >>

       +skip: .?* *

    I use above segment for my SAP systems and it works as designed.

  • Davidtgnome

    1 Rookie

    •

    66 Posts

    505

    0

    Posted June 11th, 2015 06:00

    Linux:

    Wouldn't it be easier to use "All" under the saveset list, and then apply skip directives to the volumes you don't want backed up? for example:

    << /tmp >>

      skip: .?* *

    Oracle:

    Are you doing RMAN and or NMDA backups of the databases themselves?

    RMAN or NMDA (or a combination of the two) will let you back up the databases, and the archive redo logs. To that end in our implementation, we add a skip directive for each logical volume on which the oracle folder exists.

    It heavily depends on how your DBA's installed and configured oracle, and how you are backing up the databases.