Re: I need help with my var partition.
On 4/28/23 17:25, Maureen L Thomas wrote:
I am 72 and have forgotten a few things.  I looked up debian/var and was 
told I could delete /var/log/
and /var/tmp/ and /var/cores/.  I left cores alone and deleted the other 
two.  Now I cannot burn a backup, download files and even go to web 
sites from my nord vpn which was working great until I deleted the above 
files.  I really want to upgrade to debian 11.  I am using debian 10, on 
a Lonovo all in one and have had no problems.  I followed the directions 
for var that I found and now have a screwed up machine.  Is there any 
help available. I was thinking of upgrading online but don't want to 
loose my data.  Please help this old lady.
On 4/28/23 17:57, Maureen L Thomas wrote:
> OK so I went looking on the net /debian/var to find out why it is
> running out of room.  All I could find is the directions to delete said
> files.  I will put them back, now.
On 4/28/23 19:05, Maureen L Thomas wrote:
> ... I still cannot burn a back up disk.
On 4/28/23 19:36, Maureen L Thomas wrote:
> Here is what I got.
>
> root@debian:/var# /bin/ls -ld */
> drwxr-xr-x  2 root root   4096 Apr 28 15:46 backups/
> drwxr-xr-x 19 root root   4096 Apr 12 20:20 cache/
> drwxr-xr-x  2 root root   4096 Apr 28 20:59 cores/
> drwxr-xr-x  2 root root   4096 Nov 13  2020 games/
> drwxr-xr-x 62 root root   4096 Apr 12 20:20 lib/
> drwxrwsr-x  2 root staff  4096 Sep 19  2020 local/
> drwxrwxrwt  3 root root    100 Apr 28 21:13 lock/
> drwxr-xr-x  8 root root   4096 Apr 28 21:36 log/
> drwx------  2 root root  16384 Nov 12  2020 lost+found/
> drwxrwsr-x  2 root mail   4096 Nov 12  2020 mail/
> drwxr-xr-x  2 root root   4096 Nov 12  2020 opt/
> drwxr-xr-x 27 root root    760 Apr 28 22:31 run/
> drwxr-xr-x 14 root root   4096 Apr 27 22:58 snap/
> drwxr-xr-x  7 root root   4096 Nov 12  2020 spool/
> drwxr-xr-x  8 root root   4096 Apr 28 22:32 tmp/
> root@debian:/var#
I assume you have a Lenovo computer.  What is the model name and number? 
 What processor?  How much memory?  How many drives, what type, and 
what size?
What backup software are you using?  Do you have recent backups?  Do you 
know how to restore?
What other resources do you have available -- computers, network, USB 
flash drives, external HDD's, spare SSD/HDD's?
When I break an OS instance, or when I want to re-install or do a major 
version upgrade, I back up the system configuration files and data 
files, remove the system disk, install a (zeroed) replacement system 
disk, do a fresh install, manually merge the old configuration settings 
into the new configuration files, and restore the data.  So long as I do 
each step correctly, I end up with a correct result.
Disaster preparedness and disaster recovery are easier if your OS is on 
one disk and your data is on another disk.  What is your layout?
David
Reply to: