backing up shadow files with rsync?

Armelius Cameron armeliusc at gmail.com
Wed Feb 16 15:07:41 UTC 2011


On Wednesday, February 16, 2011 09:23:56 am Robert Moskowitz wrote:
> How would you back up /etc/passwd and its shadow file (and the same for
> /etc/groups) using rsync?

Why can't you just rsync the whole /etc directory ? That what I do.

> In my case, I have a USB drive to back stuff up to.  I already have a
> cron job, backing up /home
> 
> And then, for my documentation, how would I restore the shadow files?

Just copy it back from the backup ?

Am I missing something from your questions ?

AC


More information about the users mailing list