[kwlug-disc] Adding (setting up) 2nd disk.
Robert P. J. Day
rpjday at crashcourse.ca
Wed Jan 27 06:57:14 EST 2010
On Wed, 27 Jan 2010, Raul Suarez wrote:
> I've actually done similar things with a small difference
>
> instead of
>
> cp -a /var/lib/mysql /disk2
>
> I do
>
> cp -ax /var/lib/mysql /disk2
>
> so it does not traverse symlinks. -ax will do the archive copy on a
> single file system.
i prefer "tar" for such things, which has options for all that
stuff.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
More information about the kwlug-disc
mailing list