I have separate partition for root, home, and swap on the same disk.
I accidentally deleted /bin won't get into that here.
I have a backup via timeshift. But can't boot into the system. Not sure how to restore the timeshift backup of /bin only here are my options I'm thinking of doing:
Couple questions:
Boot into live ubuntu 18.04 environment, open a terminal. As root, copy the /bin backup to my root system of my system's disk.
From live environment, should I use rsync to move it back? Something like:
sudo rsync -a /directory/to/timeshiftbackup /(rootofsystemdisk)
From live environment, install Timeshift, restore it via timeshift restore?
I have some other questions too:
A. What permissions should /bin have on it? So I can double check to make sure Timeshift didn't alter it somehow
B. In Timeshift, is there some way to ONLY restore /bin and not the entire / partition? Here is a screenshot I took of my timeshift restore options a while ago when I was looking at how it worked https://i.stack.imgur.com/ZTn2q.png
lrwxrwxrwx
for links and-rwxr-xr-x
for normal binaries and ownership ofroot root
/bin
folder