Operating System - HP-UX
1833379 Members
3475 Online
110052 Solutions
New Discussion

How to backup socket files

 
SOLVED
Go to solution
sysadm_1
Valued Contributor

How to backup socket files

i got this error when i tried to backup oracle files using "tar"
Socket not backed up

same files when i tried to "cp" error message is
cp: /testdb1/olapdev/oraexp/olap/var/daemon/18896_00000001: Operation not supported on socket

when i did ls -l on this files it is starting with letter "s".I have been told these files are socket files.

my question is how can i backup these socket files to another directory or to a tape.(cp,tar,cpio,fbackup already tried).

st
2 REPLIES 2
Rajeev  Shukla
Honored Contributor
Solution

Re: How to backup socket files

Dont worry, even if it complained about socket files, your backup was successfull.

The socket files are created when ever a socket is established and there is no need to backup these socket files, coz they will disappear as soon as the process dies.

Cheers
Rajeev
Umapathy S
Honored Contributor

Re: How to backup socket files

Shaje,
socket files are created for maintaining the info inside the kernel. They will be created and destroyed on appropriate socket system calls. No need to back them up. Even if you can do, it wont be useful.
HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!