Re: Backing up directories RH 7.3

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Richard Whitney
Date:  
To: plug-discuss
Subject: Re: Backing up directories RH 7.3
Quoting todd hewett <>:

> Howdy folks,
>
>
>
> I am new to the list and relatively new to linux.
>
>
>
> I am trying to back up an entire directory, I would like to preserve owners
> groups and permissions.
>
>
>
> So lets say I am trying to back up a dir /root/myscripts/


rsync -auv /root/myscripts/ /backupdir/

or, if it is to a remote box:

rsync -auv -e ssh /root/myscripts/ IP.OF.OTHER.BOX:/backupdir/

> There are sub-directories also.
>
>
>
> Thanks for the help and cheers,
>
>
>
> Todd
>
>



R. Whitney
Transcend Development
"Producing the next phase of your internet presence"
http://xend.net
Premium Quality Web Hosting
http://hosting.xend.net

310-943-6498
602-288-5340
"The day this country abandons God is the day God will abandon this country"
"Linux is like a wigwam, no windows, no gates, apache inside." - borrowed from
Sharon Kimble off of the Fedora mailing list
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss