AIX restore permissions only

restore -Pa -dqvf mksysb_image_location /which_folder_to _restore_permissions

Hozzászólások

man restore-bol a tobbi opcio:


       -Pstring
            Restore only the file attributes. Does not restore the file contents. 
            If the file specified does not exist in the target directory path, the files is not created. 
            This flag restores file attributes selectively depending on the flags specified in the string parameter. 
            String parameter can be a combination of the following characters:

              A    restore all attributes.
              a    restore only the permissions of the files.
              o    restore only the ownership of the files.
              t    restore only the timestamp of the files.
              c    restore only the ACL attributes of the files.

Ebben az a szep, hogy mivel restore-t hasznal, ezert filesetekre is alkalmazhato...