OpenVZ Forum


Home » Mailing lists » Users » Cloning and permissions
Re: Cloning and permissions [message #25216 is a reply to message #25215] Tue, 18 December 2007 01:14 Go to previous messageGo to previous message
Gregor Mosheh is currently offline  Gregor Mosheh
Messages: 62
Registered: April 2007
Member
Steve Wray wrote:
>> tar cf - * | ( cd ../2 ; tar xvf - )
> That doesn't need a -p option? ie
> I tend to use 'tar --numeric-owner -cf' as well, just in case.

I've never used the -p flag but it's always preserved the numerics just 
fine. That's Slackware and Fedora, probably others. Couldn't hurt to use 
it, though.

-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VE fails to stop
Next Topic: ALERT! /dev/mapper/ubuntu-root does not exist
Goto Forum:
  


Current Time: Tue Aug 19 09:33:41 GMT 2025

Total time taken to generate the page: 0.14823 seconds