HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

File and Directory Permission - Backup

 
Dhiyanesh Babu
Occasional Contributor

File and Directory Permission - Backup

Hi,
I need to take a backup of application data residing in hpux11iv2 OS(PARISC Platform).

I am using Backup server running in Windows and CA is my backup software.

I tried to take the backup using SAMBA and when i restored i can able to view the files,but the file and directory permission is getting changed. My file and directory permission should not be changed, else my database will get corrupted.

Following are my queries

1) Can i use CA unix agent software in HPUX, wherein it will take care of permission of files/directory in HPUX

2) Using SAMBA can i take care of file/directory permission. Do any settings needs to be carried out.

3) If the above solution is not applicable. How do i take care of file/directory permission during backup/restore.

Kindly help me out.

Thanks and Best Regard
dhiyan
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: File and Directory Permission - Backup

Shalom,

1) CA run as root should be able to handle this.

2) Samba may be the source of the problem. Doing this through a samba share may involve a user that samba does not recognize.

3) I would do the backup and restore as root and not do it via a Samba share. tar/untar might also preserve permissions.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dhiyanesh Babu
Occasional Contributor

Re: File and Directory Permission - Backup

Hi Shalom,
Thanks for providing support.My Backup software i.e CA is running in Windows.
DO you mean to say that from windows when i take the backup of user data residing in hpux i need to provide "root" user information in CA server running in windows.

Thanks and Best Regards,
dhiyan
T G Manikandan
Honored Contributor

Re: File and Directory Permission - Backup

why are you using samba for this backup.

The CA should have unix agents which can take care of the permissions.

Eventhough you backup from Windows, the backup software is capable of maintaining and restoring files with the same permissions.

Please check the backup configuration section with CA on windows.