Operating System - HP-UX
1826945 Members
2427 Online
109705 Solutions
New Discussion

How to preserve time and ownership when backing up files

 
Henry Chua
Super Advisor

How to preserve time and ownership when backing up files

Hi,

How can I backup files to tape and at the same time preserving their timestamp and ownership. I am using "tar" is there any option available?

thanks!!
3 REPLIES 3
RAC_1
Honored Contributor

Re: How to preserve time and ownership when backing up files

You should start with man tar.

Check options m and p

Anil
There is no substitute to HARDWORK
Sunil Sharma_1
Honored Contributor

Re: How to preserve time and ownership when backing up files

tar will preserve timestamp and ownership of files. You can use any backup tool for that purpose.
fbackup,dump,vxdump or netbackup etc

all backup tools preserve time stamp
Sunil
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Henry Chua
Super Advisor

Re: How to preserve time and ownership when backing up files

Thanks!!