Article 4YE70 Rsync as root to the file system root

Rsync as root to the file system root

by
halfpower
from LinuxQuestions.org on (#4YE70)
I want to merge the contents of a directory with the base of the file system with rsync. I ran the command
Code:sudo rsync -lrtva my_dir/ /This bricked the server. I retried the same task on another server by running the command
Code:sudo cp -d my_dir/path_N/file_N /path_N/file_Non every file. This server did not brick.

What did I do wrong? Do the two methods not produce the same result? Note that "my_dir" contains arbitrary system critical files.latest?d=yIl2AUoC8zA latest?i=gYnaXmzWS5w:1yrjwZZvIds:F7zBnMy latest?i=gYnaXmzWS5w:1yrjwZZvIds:V_sGLiP latest?d=qj6IDK7rITs latest?i=gYnaXmzWS5w:1yrjwZZvIds:gIN9vFwgYnaXmzWS5w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments