Post AVuxxXHQUL1o7SJwzA by lori@hackers.town
(DIR) More posts by lori@hackers.town
(DIR) Post #AVuxxXHQUL1o7SJwzA by lori@hackers.town
2023-05-22T15:30:18Z
0 likes, 0 repeats
Another question from someone who knows enough to use #Linux as a daily driver but is hardly a Linux pro: my OS lets me back up whatever folders I want to restore later in the case of some sort of failure. Aside from my personal files, are there any specific Linux config files/folders that would be smart to back up in case I somehow fuck them up later? Like I know one day I fucked my $PATH up with a typo, luckily that wasn't the hardest to fix but if you were going to pick some system level stuff to back up to be able to restore later, what sorts of things would you include?
(DIR) Post #AVuxxY05oGl0LzDcbg by purple@nya.social
2023-05-22T15:53:35.337Z
0 likes, 0 repeats
@lori@hackers.town a non-exhaustive list includes:/home - has your personal files/root - has obscure hacks that you've forgot about/etc - Edit These Carefully/opt - server/app data lives here/var - server/app data also lives herealso consider /boot or a full system backup, but for those to be (more) useful you have to be a bit of a wizard and know how things got boogered-up in the first place. similarly, consider backing up your partition table -- a typo'd mkfs or fdisk is the leading cause of data loss in my shop. fdisk -l /dev/sda and print it out.
(DIR) Post #AVuxxYGOpdnjAYqe1Y by lori@hackers.town
2023-05-22T15:30:28Z
0 likes, 0 repeats
Probably relevant, I'm on Zorin, so Ubuntu-based