Well, not a noob, more like an idiot 😂 EDIT: Yes, on the same drive as my Home folder, etc. And yes, technically they’re snapshots, not backups.
400 gb of timeshift backups… It felt so good removing them XDDD
I use borg btw.
93 GB is like one weekend of moderate media piracy for me…
I’ve been in a similar situation
edit: For context, there was a bug with the graphics driver that was putting out an error every frame, at 200+ fps… needless to say, I could actively see the log growing in size
Holy shit
right? what the hell?
This is what confuses me about Linux defaults, why would it let them grow that large?
We can tune logging settings to resonable values for the max size and everything, it just doesn’t come that way for some reason.
If you don’t use archaic technologies it actually does.
systemd-journald
is limited to max(10% FS size, 4GB) per default.Well, Linux is also made for servers and super computers, and just imagine it refusing to keep logs because the file’s too large
Well it’s better than a server locking up from a full disk.
But I think it’s better for it to fail from expected behavior vs unexpected behavior. Your storage being full is very transparent and expected, but that a file reaches max size and starts cutting off is unexpected and would surprise a lot of people.
I myself use supercomputers and the log files can get into a lot of GB, and I would hate it if it just cut off at some point.
I mean that’s fair, but a supercomputer would be heavily customized so disabling log limits would be part of that if needed.
Mmmm somebody need some log rotate in their life.
Oh my production s***'s on point but all the Dave and QA s*** I need at least one failure before I get around to doing law rotate. I guess I should spend the time to make the ansible job.
BTRFS + Snapper + BTRFS assistant has been pretty good for me
“Backups” to the same disk?
Personally i use them in case an update messes stuff up. So i can restore it back.
So not backups, but snapshots.
Yeah, snapshots. It would make more sense to store them on a different drive, but I can’t add an additional drive into my PC (it’s a prebuilt so I’m waiting until I can afford a new PC) and I can’t be bothered with saving them to an external hard drive.
Just curious. No spare SATA ports?
To be fair, I wouldn’t consider storing it on one additional drive in the same PC to be backup either. One theft, lightning strike, fire or even just a stupid mistake on your own part and that “backup” is a goner
Why not just get a bigger case and upgrade the prebuilt over time? A PC is inherently modular, you can replace what you’ve already got pretty easily, piece by piece. Unless you think all of the components are trash and you want to completely start over, of course.
Even still, an upgraded GPU or CPU will make an immediate impact even on shitty hardware.
I recently had 2/3 of drive space taken by btrfs snapshots. Still learning to manage them properly :D
Is there no way to have timeshift auto delete ? I guess thats not how it works huh
It does have autodelete, dont remember of its the default, but i think it explicitly offers you the option when you set it up
I usually set up a completely separate partition on a different drive for Timeshift. That way it doesn’t gradually eat away at system space on the main drive. And even if it was on there, it would have already eaten all that space in readiness, so to speak.
Also, I don’t have it backing up my home directory. I do that separately.
But that said, this post has given me the reminder to see if there are any old snapshots that could do with deleting. And there were a few. It’s now back down to roughly the same size as my main OS install again, which is about as big as it needs to be if you think about it.
For me it’s failed AUR comps
If it makes you fell any better, after doing a fresh install, I tried a “finally finished setting everything up” backup and was immediately out of space.
Turns out it was saving backups to my boot sector. 🤦🤦🤦🤦🤦🤦
we are all noobs in some regard. I’ve been using linux for private and work for 3 years and I don’t know shit about tineshift. linux is such a diverse ecosystem and there’s so many places to make mistakes and learn. It never stops. I fully expect to be bricking my machine on accident well into my 60s
Learning about new things is the best thing about Linux. I keep a folder with screenshots and saved html pages for all the fixes, workarounds and settings I’ve accumulated over the two years I’ve used Linux on my desktop. Highly recommend keeping a similar folder.
Everytime I stumble upon something it take some quick notes and put “I should start blogging this” on my bucket list. Then immediately forget about the blogging part until I take the next note…
I keep a text file with all useful commands on the desktop and have a alias in terminal to access it quickly via nano. Works very well.
A piece of paper with the nvim shortcuts has saved me many tens of seconds
Yup.
Every time I fix something difficult I document it in great detail in Obsidian. It’s a good feeling of, ‘‘I’ll never have to be confused by this problem again’’.
I reference it constantly too, so it isn’t a waste of time. The waste of time would be not doing it.
I just edit my configuration.nix and commit it to source control. The commit message is the documentation. If I’m feeling extra generous I’d add a comment
I have been using Linux for over 20 years and this post is the first time I’ve heard about timeshift. I use Arch, btw.
ironically, arch users are the only users who I’ve heard talking about timeshift because apparently its the best way to roll back after an update breaks sth?
Timeshift plus the package that automatically takes a snapshot on system update is so clutch.
Hmmm… My laptop is an x200s I bought new in 2008 and I still have the original install, I dd’d it to an ssd circa 2014 or so and has been happility running since. I have a desktop from 2018 same story, it never broke it beyond repair.
pip cache is another common culprit, I’ve seen up to 50GB
node_modules has entered the chat
There was once a 220 GB log file on my pi-hole server. Probably was a bug though.
The humble 50GB /var/cache/pacman/pkg on my 256GB drive.
Every. Time.
Filelight: /var/cache/pacman/pkg 👀
Paccache helps, but sometimes a nuke is needed to clean up pkg.
Same like me who never realized i have so many BTRFS Snapper backup in every end of year.