ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

IFS backup question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • IFS backup question

    I want to back up the IFS (except QSYS and QDLS). I have seen 2 different commands that say they will back up everything except QSYS and QDLS, but what is the difference between these 2 commands?

    SAV DEV('QSYS.LIB/TAP01.DEVD') OBJ(('/*') +
    ('/QSYS.LIB' *OMIT) ('/QDLS' *OMIT)) +
    ENDOPT(*LEAVE)

    AND

    SAV DEV('QSYS.LIB/TAP01.DEVD') OBJ(('/') +
    ('/QSYS.LIB' *OMIT) ('/QDLS' *OMIT)) +
    ENDOPT(*LEAVE)

    Should it be OBJ('/') or OBJ('/*)

  • #2
    Re: IFS backup question

    An Example to understand :
    If you use OBJ(('/home/') SUBTREE(*ALL) the /home directory is saved (and the definition of the /home directory) with all sub directories and their contents.
    OBJ(('/home/*') SUBTREE(*ALL) is identical as the previous command except for the definition of the /home directory which will not be backuped.

    Then use OBJ(('/') to save the root definition
    Patrick

    Comment

    Working...
    X