Re: Killed /home installing Fedora 7 with Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/07/07, Tom Diehl <tdiehl@xxxxxxxxxxxx> wrote:
> On Sun, 29 Jul 2007, John Pierce wrote:
>
> >> That was a scary lesson that I learned tonight. I'm burning a backup
> >> now, and I'll be learning rsync tonight...
> >>
> > This is an rsync command that my wife and I both use on our laptops
> > everytime we get home to our local network.
> >
> > /usr/bin/rsync -e ssh -avzp --exclude "/home/eagle1/.ssh" --delete
> > /home/eagle1 / /ns2.local.net:/prtdata/
>
> I would suggest using the -n option to rsync to test things before you
> run it on a live filesystem. Leaving a / off of the end of a path in rsync
> can be disasterous. It has saved my life many times.
>

I'll keep that in mind. Thanks.

Dotan Cohen

http://lyricslist.com/
http://what-is-what.com/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux