Thursday, May 9, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 386  / 1 Year ago, tue, february 14, 2023, 6:09:18

I have a testing server set up in /var/www, and a mySQL database somewhere, and I recently have been having problems where X won't load. The only suggestion so far is to reinstall. Normally, that wouldn't be a problem, since I have a different drive mapped to /home, but I'm scared that reinstalling will wipe /var/www and other directories where I have much-needed config files.


More From » installation

 Answers
4

It depends on how you partitioned your hard drive. But, if /var was not given its own partition, reinstalling Ubuntu will wipe /var.



Not only would you need to backup /var/www, but you would also need to backup /var/lib/mysql, where your MySQL database lives.


[#33327] Thursday, February 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rvousnove

Total Points: 456
Total Questions: 130
Total Answers: 98

Location: El Salvador
Member since Sun, Sep 12, 2021
3 Years ago
;