Author Topic: Recent update to V20 - Ulyana  (Read 797 times)

0 Members and 1 Guest are viewing this topic.

Offline Jeff Corbett

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Recent update to V20 - Ulyana
« on: August 03, 2020, 04:40:39 pm »
Hi Folks,
    I have an old Acer 5710 Aspire which I recently converted to Linux v19 Tricia from Vista. I was so encouraged by the change over that I didn't think twice
    before I updated it to Ulyana.
    Following the update the  Acer hard drive has suddenly got very little space left and (consequently, I believe) the machine is running v.e.e.ery slowly. Two
    of the files,' /timeshift' and '/var', have got very big indeed  -  31.1Gb and 28.2Gb respectively. The hard drive capacity is only 70.7Gb anyway, so the
    limited free space left seems to be the problem. My questions are   1)  Why have these files got so big?
                                                                                                     2)  Do they need to be that size?     
                                                                                                     3)  What can I do to reduce them?
                                                                                                     4)  How do I prevent them from getting bigger?
Hope you can still help me out, folks.

Best Regards to you all,

Jeff C.

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1153
  • Karma: 19
  • Gender: Male
  • Linux Novice
  • Awards Contributor Of The Month
    • View Profile
    • Awards
Re: Recent update to V20 - Ulyana
« Reply #1 on: August 03, 2020, 06:12:06 pm »
I hadn't heard of Timeshift but the link https://tecrobust.com/how-to-install-timeshift-for-ubuntu-20-04-lts/ describes it as a backup creation tool that creates incremental filesystem snapshots.  I am guessing that it just keeps adding them, soaking up your memory.  I suggest that you have a look at the contents of /timeshift and see if that's the case - and if so, perhaps delete all but the last few.  You will probably have to do that as root. 
You are not alone in this problem and in extremis you might like to look at https://www.linux.org/threads/timeshift-how-to-delete-folder.21406/, especially if you don't want the facility. 

As for /var:  My Ubuntu 16  and Ubuntu 18 contain 7MB's worth of backups, mostly of dpkg, but on your system it might be working in conjunction with timeshift. 

Did you install timeshift, or did it come with Ubuntu19? 

keith

Offline Jeff Corbett

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Recent update to V20 - Ulyana
« Reply #2 on: August 04, 2020, 12:12:16 pm »
Hi Keith,
    Many thanks for the quick response. I'm afraid I can't say whether or not Timeshift came as part of the original package. I remember I got a bit excited when I first changed to the Linux operating system and simply went after everything (as noobs do). I infer from what you're saying that I might not need Timeshift at all since it appears that the OS is doing the same thing and saving the result in /var. I can see here that I should study the Linux manual a bit more as I don't yet know enough of the basic terminal mode commands to investigate (let alone manipulate) the hard drive contents. It looks very DOS-like, but I'm sure any resemblance pretty much stops right there and it's donkey's years since I last played with DOS anyway - those were the days weren't they?. I'm wondering, does Ulyana enable me to control the frequency of snapshots being taken? But, hey, I can deal with that once I've cleared some disk space, so, first things first, I'll be taking a look at the websites you directed me towards and pressing on from there. Thanks for restoring my sense of direction.

Best Regards,

Jeff C. 

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1153
  • Karma: 19
  • Gender: Male
  • Linux Novice
  • Awards Contributor Of The Month
    • View Profile
    • Awards
Re: Recent update to V20 - Ulyana
« Reply #3 on: August 04, 2020, 04:58:46 pm »
Hi Jeff,

It seems Timeshift comes as part of the Mint 20 "Ulyana" package.  It's based on Ubuntu 20 so I shall have to look carefully into it before venturing into U-20.  I am still on Ubuntu-16 as each upgrade looks more Windows-like every time. 

For becoming adept at Terminal Mode:  if you are happy to read real books, then I thoroughly recommend "The Linux Command Line" by William Shotts.  It's even available as a free download here: file:///tmp/mozilla_keith0/TLCL-13.07.pdf.  And, of course, this Forum is always available and we have very many experienced Members to advise you. 

Good luck.
   Keith


Offline Jeff Corbett

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Recent update to V20 - Ulyana
« Reply #4 on: August 05, 2020, 01:59:25 pm »
Hi Keith,

Many thanks for the kind words and encouragement. Yes, my recent explorations appear to confirm that Timeshift is indeed part of Ulyana. This makes me reluctant to try removing it. I've made some progress, however, as the app allows me to edit the /timeshift file contents. Consequently I've been able to free up some disk space. I can also modify the frequency of the snapshots that it makes, but I can't seem to prevent it altogether from making more of them. It's making incremental copies so, after the first one, which is HUGE, the subsequent others are relatively small. I find I can also direct Timeshift to store its files on a separate USB stick, rather than on the hard drive, so for the time being I'm going to go out and buy one of those, a big one.
Timeshift is making log files too. I wonder, can I simply delete them? Are they of any use if their associated Timeshift snapshots have been deleted? What do you think? Thank you, by the way, for your suggestion regarding 'The Command Line'. I'll be looking for a hard copy of it if they're available, although the download will be useful in getting me started I'm sure.

Best Regards,

Jeff C.

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1153
  • Karma: 19
  • Gender: Male
  • Linux Novice
  • Awards Contributor Of The Month
    • View Profile
    • Awards
Re: Recent update to V20 - Ulyana
« Reply #5 on: August 05, 2020, 02:44:43 pm »
Hello Jeff.

You've done some useful research that other readers will find useful. 
Timeshift seems more configurable than I was expecting, which is a good thing considering how intrusive it is.  Being able to store to a USB stick is very useful, although I guess one has to keep it plugged in all the time, which would be a nuisance for me.  I've written a script to do full file backups but I've lost track of all the little bits of s/w I've installed over the years. 
Log files:  yes, you can delete the old ones. 
Do let us know how you get on with Timeshift as I think there will be a lot of people searching for answers and keen to hear of your experience.

Command Line book:  I've just Googled (actually DuckDuckGo which doesn't track one's web searches) "Linux Command Line Shotts" and it gives several hits at ~£23 and well worth it. 

Best regards,
   Keith

Offline Zorba61

  • Full Member
  • ***
  • Posts: 106
  • Karma: 2
  • I've just joined!
    • View Profile
    • Awards
Re: Recent update to V20 - Ulyana
« Reply #6 on: August 09, 2020, 09:32:38 am »
You can also set the length of time to keep the snapshot that timeshift makes of your system in the settings, also you can limit the amount of space Timeshift uses.
« Last Edit: August 09, 2020, 09:39:49 am by Zorba61 »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal