It's been a while but for me personally, the number one thing that saves your ass in event of failure is installing both the up to date and the LTS kernel. If you fail to boot, it's gonna have something to do with a kernel update 90% of the time, in which case you just boot with the LTS kernel. Just about anything else can be fixed either while you're up and running, or with a live distro installed on a USB.
There's nothing specially destructive about dd. It's just a program that opens a file, and if you tell it to open a device file and it's got permission to write to it, it'll write to it.
You can just as easily overwrite a disk's contents with anything else that will open a file and write to it.
# cp /dev/urandom /dev/sda
will wipe your drive with random data in the same way that
I quadruple check and then I still don't run it because I'm too nervous so I go and do something else instead and the item remains buried on my to-do list indefinitely.
Lol, as someone who tried a bunch of different distros, I used the dd command a lot without ever realizing what could go wrong with it. I must have used up all my luck with that though, because somehow I ended up on manjaro of all things.
My last Arch death was updating my 128GB laptop after a year and breaking it with partial updates. (I’m better at partial updates now)
It also made me want to, move away from having separate /home partition. It was somewhat sad, since it was the Arch that I installed on the previous laptop and just moved the SSD when I got a new one
I know people who've driven drunk for more than a decade, and only crashed when they were sober. Does that mean drinking and driving is safe?
I literally had one of my devices fail to boot after an update pretty much every month, and another a few times a year. Sure, I was able to fix it with only arch-chroot, but when I switched to btrfs I didn't need to carry around a flash drive with me when updating the system...
The last few years I'm on nixos, and while it sometimes fails to update, it has not once failed to boot.
I actually did this at one point, because OneDrive was the cheapest cloud service I had easy access to, back then. I did use only an encrypted vault, though.
OneDrive used to be pretty good on Windows before it started taking the documents folder hostage. Maybe needless to say I've never attempted to use it on any of my Linux installs
I tried once, could I get it work on Mint (I could not). Not that I wanted to use it at that point, I just got curious is it actually possible. Apparently yes, even though I did not succeed.
I remember daily driving Gentoo unstable in the early 2000's on my rig in college. It was like trying to beat a Dark Souls boss every time I wanted to do an update.
Use a modern filesystem like btrfs or even lvm with thin provisioning to solve that problem. Separate partitions for ease of backup, but they all pull from the same pool of storage.
On my PC and all my home servers I keep my root partition at 10GB and haven't had any issues (although I keep everything that isn't hardware related or a system utility in home).
On my PC I crammed arch, all of KDE (+extra KDE utilities), and some other system stuff like LACT and distrobox in the 10GB root partition and run almost everything else as a flatpak installed to home.
On my servers I do the same thing but all my services are in podman containers in /opt.
Having all the software needed to make the machine work be isolated from my custom home junk makes me feel better, and I like that I can mount root as read-only to make it immutable
I think that there's a reasonable argument for a separate home partition on a multiuser system. Means that users can't fill up root.
But a lot of systems aren't multiuser these days.
EDIT: Honestly, my biggest partitioning irritation these days is that the Debian installer makes it a pain in the rear to have a larger /boot if you're also doing an LVM-based install; the default is unreasonably small these days.
Yeah i never bothered with separate /home because it feels like such a balancing act to decide on size compared to root. Especially when you use nix/guix, it would be annoying to have a small root with the store filling up over time and having to do garbage collecting often. Also, i just back up whatever files i want to make sure i don't lose, and when i do a clean install i actually want everything to be wiped anyway, including home.
Where are those people whose arch installs break after every second update? I don't think I had a single problem with arch that I wasn't responsible for. Hell, I had more problems with mint on my girlfriends PC than the arch machines that I'm running.
If you don't count my 6 years with Manjarno, I've used Arch for ~7 years and only 3 times I had to fix something, 2 times because of Nvidia, once my fault. I had way more problems with Ubuntu in the past than Arch by the way. :)
Wherever people say "Manjaro just broke" it's good odds they tried to use it like an Arch install. Installing drivers "the Arch way", pointing the repos at Arch, using bleeding edge kernel versions etc.
It may be Arch but it's been set up in a certain way and if you mess with it it won't work. Not messing with it is the whole point of the distro.
It does have a wiki and forums etc. so I feel that if people read a bit before doing stuff we wouldn't be having this conversation.
Conflicts between the project leadership and the developers. I stayed on Manjaro though, this kind of things is in fact good news: it means that people in charge care, and I think things will be better thanks to that. I'll just follow the devs if things don't go better.
zloubida explained it with the link well enough. More importantly for me, the package repository seemed to stop being maintained, because many of my packages had no updates for a significant amount of time (and they had been updated elsewhere when I checked).
I honestly can't think of a thing I'd want to backup. Game saves, resumes, media. Its all replaceable and not worth backing up. I dont think I have a single "important" document or picture or anything.
I think some distros have a systemd service that does it weekly or monthly which is usually enough but in rare cases it's not, just know that if you suddenly get out of space errors on BTRFS but you're not actually out of space that's probably the issue
Btrfs and snapper. Only time I ever had to reload a snapshot was because of my own actions. I've been fortunate to never have any update related breaks. Maybe a couple services had hiccups, but never breaks.
what's a snapshot, new kernel? lets roll!! almost 2k packages in
never really broke my arch tbh, its been serving flawlessly for 7 years now. its a decently recent thinkpad tho so stuff tends to just work and i have no gpu to bother about
you know after installing god knows how many distros and reinstalling just the same it's like easy peasy to get anything installed now and up and running/configured the way I like it within an hour. Especially if you git repo your configs. I have my Suckless suite of stuff in a repo so when I install a new distro or reinstall something I just clone that repo and i'm good to go. all my important data is backed up with borg. it all works across any distro and even BSDs.
Git repo your configs/DEs/WMs folks. such a massive time saver.
It's not so crazy these days. In several years of running arch, only once has an update broken anything (and that's because I was messing around with virtual machines).
The ideal system probably is something like btrfs snapshot, then restic or similar of that snapshot to a remote disk.
Btrfs doesn't dedup identical data at different locations. Restic (or anything similar non-filesystem-level) cannot take an atomic snapshot. If you have something like a PostgreSQL database, where the DBMS ensures that what's on disk is valid at any point in time, but only to an atomic view of the thing, you probably want an atomic snapshot of it.
I dunno if anyone has a single off-the-shelf utility that does both steps together.
Zfs does atomic snapshots and also computes the diff between snapshots when you zfs send/receive to remote. You can set up syncoid scripts to do all of this automagically and ensure source and dest match, have regular snapshots, and to manage retention schhedules on both ends.
ROFL Like, this was me on other distros just using ext4, no timeshift (made manual backups though, not as much as I should've). Now, I am understanding the hype with btrfs, Snapshots, as they have saved my ass so much. Using Garuda Linux, BTW! Sometimes a machine doesn't matter so much so...I lived life dangerously, and paid for a particularly low cost for it.
Ridiculously easy to use and quickly get back into a working system! I used it first with openSUSE Tumbleweed, after the adapting to how it functions, it was easy to use. Something I cannot live without. Edit: I had to change some text because those 4am thoughts weren't lining up right.
Nope. The stuff I need on my machine is all managed with git. I'd lose a few documents, but nothing I couldnt love without. Photos and important stuff are in a few different places, but not my main PC.
Arch has never "broken" on me through my 3 years of using it, but after a while weird issues would start to appear. Like for example my login manager just stopped working permanently and I had to do startplasma-wayland. Ssh agents also subtly broke. Stuff like that. I forgot to enable fstrim and my system freaked out during I/O eventually. These are all technically user error, but I don't feel like spending so much time on managing my operating system.
I ended up switching to Fedora and was pleasantly surprised how well it's setup by default.
Finally? It's been SUSE's default for at least a decade now. It's the default for Fedora since 33, so ~5 years ago. Btrfs has been working for a long time.
Yeah and it's awesome. I have it making backup snapshots automatically and I copied the steamos-readonly script from valve to automatically lock everything except my home/root/var/opt etc (I realize you can remount ext4 as ro too, but still btrfs handles this well).
I recently swapped the contents of two drives of different sizes (one was a server and the other was a PC) and btrfs made the filesystem resize and expansion parts easy.
I was introduced to it by a synology nas a decade ago, and it's my preferred fs. I wish proxmox supported it, my compute server had to go with ext4 since it's got one disk for the system, and one for the VMs, no redundancy. They say it's in 'tech preview' but most mainstream distros have had it for years now...
That was me when I first started using Linux 10 years ago. I didn’t know any of this stuff, and most of it didn’t even fucking exit. Wing it and worry later. Moral of the story, I reinstalled several times a month. Lmao
Timeshift has indeed saved my distro's ass a few times. But is not a silver bullet. In the end I keep most of my stuff on an external HD and in there a folder with some notes and data about my distro configuration. If he dies (and he did) I'll bring him back.
144 Comments
Sanctus@anarchist.nexus · 134 pts · 20h
Fuck it, we ball. 3 years no arch deaths. Windows is a fuck. 1,000,000 pacman warnings.
MrKiosc@reddthat.com · 52 pts · 15h
I don't remove orphan packages, I don't setuo snapshots, I don't read arch news.
I
sudo pacman -Syu. And if I can't boot I don't do itSecret_Music@piefed.blahaj.zone · 10 pts · 10h
It's been a while but for me personally, the number one thing that saves your ass in event of failure is installing both the up to date and the LTS kernel. If you fail to boot, it's gonna have something to do with a kernel update 90% of the time, in which case you just boot with the LTS kernel. Just about anything else can be fixed either while you're up and running, or with a live distro installed on a USB.
ianhclark510@lemmy.blahaj.zone · 76 pts · 20h
I’m here for a good time, not a long time
Also, my last Arch death was due to accidentally ovverwritimg the whole drive, so no amount of split partitions is going to save me
owenfromcanada@lemmy.ca · 69 pts · 19h
They call it disk destroyer for a reason. You gotta alias that shit.
alias dd='echo Did you triple check which device you picked? Of course not, dipshit. Check again'tal@lemmy.today · 14 pts · 16h
There's nothing specially destructive about
dd. It's just a program that opens a file, and if you tell it to open a device file and it's got permission to write to it, it'll write to it.You can just as easily overwrite a disk's contents with anything else that will open a file and write to it.
will wipe your drive with random data in the same way that
will.
iocase@lemmy.zip · 12 pts · 15h
You're technically right, but the way most people use dd ensures its like handling a loaded gun. How often do you cp /dev/sdwhy?
slacktoid@lemmy.ml · 13 pts · 19h
Hahahahah I need to do that lmao!!!
StumblingWasabi@lemmy.today · 5 pts · 18h
Surely double checked is enough
owenfromcanada@lemmy.ca · 19 pts · 17h
It's not. Neither is triple checking. Notice how the alias doesn't actually run
dd? That's on purpose.wonderingwanderer@sopuli.xyz · 2 pts · 16h
I quadruple check and then I still don't run it because I'm too nervous so I go and do something else instead and the item remains buried on my to-do list indefinitely.
imadethis@fedinsfw.app · 2 pts · 18h
Lol, as someone who tried a bunch of different distros, I used the dd command a lot without ever realizing what could go wrong with it. I must have used up all my luck with that though, because somehow I ended up on manjaro of all things.
basxto@discuss.tchncs.de · 1 pts · 12h
My last Arch death was updating my 128GB laptop after a year and breaking it with partial updates. (I’m better at partial updates now) It also made me want to, move away from having separate /home partition. It was somewhat sad, since it was the Arch that I installed on the previous laptop and just moved the SSD when I got a new one
scoobford@piefed.blahaj.zone · 67 pts · 16h
Hot take: I used arch for over a decade. It never broke unless I broke it.
By all means, back up your files but rolling release distros aren't made of arsenic, you'll be fine.
bobo@lemmy.ml · 3 pts · 13h
I know people who've driven drunk for more than a decade, and only crashed when they were sober. Does that mean drinking and driving is safe?
I literally had one of my devices fail to boot after an update pretty much every month, and another a few times a year. Sure, I was able to fix it with only arch-chroot, but when I switched to btrfs I didn't need to carry around a flash drive with me when updating the system...
The last few years I'm on nixos, and while it sometimes fails to update, it has not once failed to boot.
Stitch0815@feddit.org · 7 pts · 12h
Thats's a really bad analogy
One endangers others while the other makes a couple of files and photos go poof
bilb@lemmy.ml · 1 pts · 3h
The danger and the stakes are not what is being compared, though. It's a perfectly good analogy.
Ziglin@lemmy.world · 2 pts · 11h
I think it's very much dependent on your hardware.
I had some issues with my Nvidia drivers getting messed up when the card was relatively new. I haven't had any issues in the past two years though.
rumba@lemmy.zip · 53 pts · 16h
tatterdemalion@programming.dev · 17 pts · 13h
Why would you want your entire home folder in syncthing?
tetris11@feddit.uk · 37 pts · 13h
I'm very attached to my
~/.cache!justme@lemmy.dbzer0.com · 8 pts · 13h
stresstest your io i guess
GrapheneOSRuinedMyPixel@sh.itjust.works · 8 pts · 12h
also, machines wipe themselves at each boot! service state data is distributed via zfs send! zfs that actually works!
Martineski@lemmy.dbzer0.com · 1 pts · 10h
I too, use impermanence with root on zfs. Not often you find someone in the wild with similar setup. Lol
Mika@piefed.ca · 8 pts · 11h
Syncthing will also propagate removals or bad edits
giacomo@lemmy.dbzer0.com · 51 pts · 18h
i mean, all the important stuff is saved to OneDrive, right?
wreckedcarzz@lemmy.world · 57 pts · 16h
Straight to jail.
NiHaDuncan@lemmy.world · 20 pts · 15h
You missed the space between one and drive… and you accidentally capitalized a couple letters.
Don’t correct me on this one. Please.
muhyb@programming.dev · 3 pts · 12h
Yes, but actually no.
harmbugler@piefed.social · 2 pts · 5h
All my important stuff is saved to SomeDrive
kolmaskommentoija@sopuli.xyz · 1 pts · 8h
I actually did this at one point, because OneDrive was the cheapest cloud service I had easy access to, back then. I did use only an encrypted vault, though.
0ops@piefed.zip · 2 pts · 5h
OneDrive used to be pretty good on Windows before it started taking the documents folder hostage. Maybe needless to say I've never attempted to use it on any of my Linux installs
kolmaskommentoija@sopuli.xyz · 1 pts · 5h
I tried once, could I get it work on Mint (I could not). Not that I wanted to use it at that point, I just got curious is it actually possible. Apparently yes, even though I did not succeed.
dream_weasel@sh.itjust.works · 1 pts · 7h
This is unfortunately me with google drive for a few things.
tty5@lemmy.world · 49 pts · 16h
Pfft.. it's been fine for the last 10 years.
memphis@sopuli.xyz · 6 pts · 9h
Seriously. I've spent more time maintaining my debian home server than I have my two arch installs combined.
lyrial@anarchist.nexus · 1 pts · 7h
These memes have always been propagated by people that decide that fucking with their OS is a good idea.
MonkderVierte@lemmy.zip · 3 pts · 5h
It is.
inmate_p01135809@lemmy.world · 35 pts · 18h
I remember daily driving Gentoo unstable in the early 2000's on my rig in college. It was like trying to beat a Dark Souls boss every time I wanted to do an update.
bodaciousFern@lemmy.dbzer0.com · 2 pts · 11h
In one of my university java courses, another student was frequently compiling Gentoo packages on his laptop during class.
Once I researched more about it I also installed Gentoo on my laptop and started building updates during class 😁
Randelung@lemmy.world · 24 pts · 17h
Separate /home is such a scam. Never have I run out of home space, but boy is 27GB not enough for a root partition that runs any kind of service.
FlexibleToast@lemmy.world · 15 pts · 16h
Use a modern filesystem like btrfs or even lvm with thin provisioning to solve that problem. Separate partitions for ease of backup, but they all pull from the same pool of storage.
rklm@lemmy.dbzer0.com · 4 pts · 16h
On my PC and all my home servers I keep my root partition at 10GB and haven't had any issues (although I keep everything that isn't hardware related or a system utility in home).
On my PC I crammed arch, all of KDE (+extra KDE utilities), and some other system stuff like LACT and distrobox in the 10GB root partition and run almost everything else as a flatpak installed to home.
On my servers I do the same thing but all my services are in podman containers in /opt.
Having all the software needed to make the machine work be isolated from my custom home junk makes me feel better, and I like that I can mount root as read-only to make it immutable
basxto@discuss.tchncs.de · 1 pts · 12h
/ size becomes an issue when you install games via pacman
WhyJiffie@sh.itjust.works · 1 pts · 9h
symlink the directories to somewhere on another partition
tal@lemmy.today · 2 pts · 16h
I think that there's a reasonable argument for a separate home partition on a multiuser system. Means that users can't fill up root.
But a lot of systems aren't multiuser these days.
EDIT: Honestly, my biggest partitioning irritation these days is that the Debian installer makes it a pain in the rear to have a larger /boot if you're also doing an LVM-based install; the default is unreasonably small these days.
basxto@discuss.tchncs.de · 2 pts · 12h
I have / on SSD (less writes) and /var and /home on HDD
basxto@discuss.tchncs.de · 1 pts · 12h
Probably my installed games alone are larger than that
swelter_spark@reddthat.com · 1 pts · 12h
It's the opposite for me.
juipeltje@lemmy.world · 1 pts · 12h
Yeah i never bothered with separate /home because it feels like such a balancing act to decide on size compared to root. Especially when you use nix/guix, it would be annoying to have a small root with the store filling up over time and having to do garbage collecting often. Also, i just back up whatever files i want to make sure i don't lose, and when i do a clean install i actually want everything to be wiped anyway, including home.
realitaetsverlust@piefed.zip · 22 pts · 8h
Where are those people whose arch installs break after every second update? I don't think I had a single problem with arch that I wasn't responsible for. Hell, I had more problems with mint on my girlfriends PC than the arch machines that I'm running.
muhyb@programming.dev · 2 pts · 7h
If you don't count my 6 years with Manjarno, I've used Arch for ~7 years and only 3 times I had to fix something, 2 times because of Nvidia, once my fault. I had way more problems with Ubuntu in the past than Arch by the way. :)
ysjet@lemmy.world · 3 pts · 3h
There's the argument to be made that all three were your fault, since you decided to use nvidia on Linux.
Hyuk hyuk hyuk.
muhyb@programming.dev · 2 pts · 2h
Well, I also used ATI in the past but it was way worse. :)
muusemuuse@sh.itjust.works · 1 pts · 7h
This is still true but I find you are using bcachefs where every update is a death threat.
dadarobot@lemmy.ml · 22 pts · 19h
my manjaro has been running the same install for 6 years on ext4 no separate home partition...
what are yall doing to brick your machines?
TootSweet@lemmy.world · 11 pts · 18h
Right? The OP describes me (except I like to think I'm not that sweaty) and I don't remember ever having reinstalled because things were broken.
richardisaguy@lemmy.world · 5 pts · 19h
I remember using manjaro vanilla and breaking it in a single month of use.
No aur enabled, no nothing - it just broke, it wasn't even funny
lemmyvore@feddit.nl · 2 pts · 12h
Wherever people say "Manjaro just broke" it's good odds they tried to use it like an Arch install. Installing drivers "the Arch way", pointing the repos at Arch, using bleeding edge kernel versions etc.
It may be Arch but it's been set up in a certain way and if you mess with it it won't work. Not messing with it is the whole point of the distro.
It does have a wiki and forums etc. so I feel that if people read a bit before doing stuff we wouldn't be having this conversation.
richardisaguy@lemmy.world · 1 pts · 6h
The funny thing is that i did none of that, the hardware i was using didn't need additional drivers and i didn't add any extra repos.
Perhaps i did something wrong, or autoupdates were interrupted but i don't remember doing anything extraordinary with the install.
Badabinski@kbin.earth · 1 pts · 15h
Manjaro isn't Arch. Doesn't use the same repos.
imadethis@fedinsfw.app · 5 pts · 18h
You're still using manjaro after all their drama? I jumped ship.
tautalas@lemmy.world · 3 pts · 16h
What happened?
zloubida@sh.itjust.works · 3 pts · 16h
Conflicts between the project leadership and the developers. I stayed on Manjaro though, this kind of things is in fact good news: it means that people in charge care, and I think things will be better thanks to that. I'll just follow the devs if things don't go better.
imadethis@fedinsfw.app · 3 pts · 15h
zloubida explained it with the link well enough. More importantly for me, the package repository seemed to stop being maintained, because many of my packages had no updates for a significant amount of time (and they had been updated elsewhere when I checked).
lemmyvore@feddit.nl · 1 pts · 12h
It still gets updates and still works so why jump ship.
queerlilhayseed@piefed.blahaj.zone · 1 pts · 1m
Fuckin around :)
Finding out :(
lemonhead2@lemmy.world · 15 pts · 9h
there are two types of computer users
Rekorse@sh.itjust.works · 8 pts · 8h
Pika@hikki.team · 3 pts · 8h
Rekorse@sh.itjust.works · 4 pts · 8h
I honestly can't think of a thing I'd want to backup. Game saves, resumes, media. Its all replaceable and not worth backing up. I dont think I have a single "important" document or picture or anything.
InFerNo@lemmy.ml · 2 pts · 3h
It's time saved rebuilding all of it
MehBlah@lemmy.world · 3 pts · 8h
Or those who can fix it.
jumping_redditor@sh.itjust.works · -1 pts · 7h
what are the cheap ways of setting up automatic backups?
TrollAccount69@lemmy.ml · 1 pts · 6h
Rsync and cron
jumping_redditor@sh.itjust.works · 0 pts · 5h
yes, but to what medium
TrollAccount69@lemmy.ml · 2 pts · 5h
Whatever’s around. Some writable filesystem.
thagoat@lemmy.dbzer0.com · 13 pts · 19h
My /home/$USER partition is on a separate disk. Me wicked smaht
thisbenzingring@lemmy.today · 3 pts · 19h
SMRT!
bryndos@fedia.io · 11 pts · 13h
meh, just backup home.
sudoer777@lemmy.ml · 10 pts · 15h
*BTRFS users when you don't rebalance soon enough and run out of inodes so you can't boot your computer
hirihit640@sh.itjust.works · 2 pts · 13h
How often do you need to rebalance?
tetris11@feddit.uk · 3 pts · 12h
When the moon is in the Seventh House and Jupiter aligns with Mars,
then peace will guide the planets, and love will steer the stars.
Takios@discuss.tchncs.de · 3 pts · 12h
my current openSUSE install with btrfs has lived for about 6 years now and I haven't done any manual maintenance on btrfs
sudoer777@lemmy.ml · 2 pts · 12h
I think some distros have a systemd service that does it weekly or monthly which is usually enough but in rare cases it's not, just know that if you suddenly get out of space errors on BTRFS but you're not actually out of space that's probably the issue
thevoidzero@lemmy.world · 10 pts · 4h
I live like this, it has been 10 years, no problem
deadset@leminal.space · 5 pts · 4h
Same here, not sure what they on about.
InFerNo@lemmy.ml · 3 pts · 3h
I third this
FuyuhikoDate@feddit.org · 10 pts · 12h
Me with arch: what is timeshift? Time to updstr without backup, lol!
pewpew@feddit.it · 9 pts · 10h
I'm rawdogging my Debian Unstable install
mazzilius_marsti@lemmy.world · 8 pts · 7h
to be honest that setup is faster to arch-chroot if things go wrong.
megopie@lemmy.blahaj.zone · 8 pts · 10h
I will simply reinstall and forsake my files if it shits the bed catastrophically
BassTurd@lemmy.world · 8 pts · 18h
Btrfs and snapper. Only time I ever had to reload a snapshot was because of my own actions. I've been fortunate to never have any update related breaks. Maybe a couple services had hiccups, but never breaks.
Revenstale@lemmy.world · 8 pts · 9h
I always back up anything that I feel is actually important, do people actually rely on the stability of their OS?
Not that Arch has caused me any issues whatsoever so far, going on 2 years now while very much a Linux noob.
Denjin@feddit.uk · 3 pts · 8h
Just get your snapper to run before/after any update and if you bork something, roll back. Easy peasy
iltg@sh.itjust.works · 7 pts · 7h
what's a snapshot, new kernel? lets roll!! almost 2k packages in
never really broke my arch tbh, its been serving flawlessly for 7 years now. its a decently recent thinkpad tho so stuff tends to just work and i have no gpu to bother about
EastofEdson@piefed.ca · 7 pts · 18h
No sweat. I prefer to reinstall and start fresh every now and then anyway.
wreckedcarzz@lemmy.world · 5 pts · 16h
'It has been
20 days since the last reinstall'rozodru@piefed.world · 2 pts · 9h
you know after installing god knows how many distros and reinstalling just the same it's like easy peasy to get anything installed now and up and running/configured the way I like it within an hour. Especially if you git repo your configs. I have my Suckless suite of stuff in a repo so when I install a new distro or reinstall something I just clone that repo and i'm good to go. all my important data is backed up with borg. it all works across any distro and even BSDs.
Git repo your configs/DEs/WMs folks. such a massive time saver.
owenfromcanada@lemmy.ca · 7 pts · 19h
It's not so crazy these days. In several years of running arch, only once has an update broken anything (and that's because I was messing around with virtual machines).
queerlilhayseed@piefed.blahaj.zone · 6 pts · 16h
Important files go to repos / backup disks. Workstations are sinners in the hands of an angry god.
tal@lemmy.today · 3 pts · 15h
The ideal system probably is something like btrfs snapshot, then restic or similar of that snapshot to a remote disk.
Btrfs doesn't dedup identical data at different locations. Restic (or anything similar non-filesystem-level) cannot take an atomic snapshot. If you have something like a PostgreSQL database, where the DBMS ensures that what's on disk is valid at any point in time, but only to an atomic view of the thing, you probably want an atomic snapshot of it.
I dunno if anyone has a single off-the-shelf utility that does both steps together.
iocase@lemmy.zip · 1 pts · 15h
Zfs does atomic snapshots and also computes the diff between snapshots when you zfs send/receive to remote. You can set up syncoid scripts to do all of this automagically and ensure source and dest match, have regular snapshots, and to manage retention schhedules on both ends.
jeena@piefed.jeena.net · 6 pts · 19h
This is me!
LostWanderer@fedia.io · 6 pts · 19h
ROFL Like, this was me on other distros just using ext4, no timeshift (made manual backups though, not as much as I should've). Now, I am understanding the hype with btrfs, Snapshots, as they have saved my ass so much. Using Garuda Linux, BTW! Sometimes a machine doesn't matter so much so...I lived life dangerously, and paid for a particularly low cost for it.
eestileib@sh.itjust.works · 4 pts · 19h
Snapper is sooooo nice 🤩.
LostWanderer@fedia.io · 4 pts · 19h
Ridiculously easy to use and quickly get back into a working system! I used it first with openSUSE Tumbleweed, after the adapting to how it functions, it was easy to use. Something I cannot live without. Edit: I had to change some text because those 4am thoughts weren't lining up right.
akunohana@piefed.blahaj.zone · 6 pts · 18h
xfsgang? 🥲basxto@discuss.tchncs.de · 5 pts · 12h
I feel attacked! (but I have /home separate; and backups of everything except big game installs I can easily reinstall)
Unglue1857@lemmy.world · 5 pts · 2h
Dotfiles in git my dude
thisisbutaname@discuss.tchncs.de · 5 pts · 20h
Been there, done that
xylogx@lemmy.world · 5 pts · 8h
Yeah but you do backups right? Right?
1984@lemmy.today · 2 pts · 8h
I dont actually but I can reinstall the system easily, and the user data is mapped to my nas drive.
Sure if I would delete all my files on the nas by mistake, I guess I lose them. But hasn't happened.
Should actually back up my nas... Will get some external drive to do that I guess.
dream_weasel@sh.itjust.works · 1 pts · 7h
Nope. The stuff I need on my machine is all managed with git. I'd lose a few documents, but nothing I couldnt love without. Photos and important stuff are in a few different places, but not my main PC.
germanatlas@lemmy.blahaj.zone · 4 pts · 11h
I wouldn’t call every 2 years "constantly"
dismay3915@lemmy.world · 5 pts · 11h
You update arch every 2 years?
bizarroland@lemmy.world · 4 pts · 19h
I don't keep anything important on my primary daily driver. I keep it all on my NAS and that has backups.
Crackhappy@lemmy.world · 4 pts · 5h
I'm in this picture and I don't like it.
nixukty@lemmy.zip · 4 pts · 2h
Arch has never "broken" on me through my 3 years of using it, but after a while weird issues would start to appear. Like for example my login manager just stopped working permanently and I had to do
startplasma-wayland. Ssh agents also subtly broke. Stuff like that. I forgot to enablefstrimand my system freaked out during I/O eventually. These are all technically user error, but I don't feel like spending so much time on managing my operating system.I ended up switching to Fedora and was pleasantly surprised how well it's setup by default.
cosmos8188@leminal.space · 1 pts · 1h
Honestly agree, it's always the little issues that are problems.
Krafting@lemmy.world · 4 pts · 20h
I was one of them few years ago...
thisbenzingring@lemmy.today · 4 pts · 19h
This is me... IDGAF
the_q@piefed.social · 3 pts · 6h
Old man meme. It's like saying "you need the command line for Linux!"
DigDoug@lemmy.world · 3 pts · 17h
😎
rumschlumpel@feddit.org · 3 pts · 19h
At least they're not waiting several months for accumulated updates! I've been told that's how you break an Arch system.
Feyd@programming.dev · 4 pts · 18h
Not really. Might have to update the keychain first or update the package mirrors of it's a very long time but it's not a huge deal
Telodzrum@lemmy.world · 2 pts · 16h
pacmanupdates the keyring first now. It’s gotten quite difficult to break Arch.Pomal@sh.itjust.works · 3 pts · 6h
Decade running arch on a laptop w encrypted drives, the only fails were from powerdevil.
InFerNo@lemmy.ml · 3 pts · 3h
I check all these boxes. This install is ancient now. I moved the disk into a new PC (Intel/nvidia to amd/amd) and it didn't even stutter.
I had issues in the past, sure, but nothing really severe. Archlinux.org frontpage has information on breaking updates if need be.
_haha_oh_wow_@piefed.social · 2 pts · 2h
dies
"Welp, time to distrohop."
motruck@lemmy.zip · 2 pts · 53m
Nah. We just know how to boot a broken system and fix it.
bridgeenjoyer@sh.itjust.works · 2 pts · 18h
I have ext4 and dont use a separate3 home partition but I use timeshift
reader@lemmy.zip · 2 pts · 18h
does btrfs finally work now?
FlexibleToast@lemmy.world · 7 pts · 16h
Finally? It's been SUSE's default for at least a decade now. It's the default for Fedora since 33, so ~5 years ago. Btrfs has been working for a long time.
rklm@lemmy.dbzer0.com · 6 pts · 17h
Yeah and it's awesome. I have it making backup snapshots automatically and I copied the steamos-readonly script from valve to automatically lock everything except my home/root/var/opt etc (I realize you can remount ext4 as ro too, but still btrfs handles this well).
I recently swapped the contents of two drives of different sizes (one was a server and the other was a PC) and btrfs made the filesystem resize and expansion parts easy.
wreckedcarzz@lemmy.world · 2 pts · 15h
I was introduced to it by a synology nas a decade ago, and it's my preferred fs. I wish proxmox supported it, my compute server had to go with ext4 since it's got one disk for the system, and one for the VMs, no redundancy. They say it's in 'tech preview' but most mainstream distros have had it for years now...
Klajan@lemmy.zip · 1 pts · 5h
I think I had the option for btrfs on Proxmox (but I did choose ZFS for simple replication to my NAS)
esc@piefed.social · 2 pts · 6h
btrfs with pacman hook and i do backups semi reguralry (monthly + -)
DonutsRMeh@lemmy.world · 1 pts · 19h
That was me when I first started using Linux 10 years ago. I didn’t know any of this stuff, and most of it didn’t even fucking exit. Wing it and worry later. Moral of the story, I reinstalled several times a month. Lmao
ekZepp@lemmy.world · 1 pts · 12h
Timeshift has indeed saved my distro's ass a few times. But is not a silver bullet. In the end I keep most of my stuff on an external HD and in there a folder with some notes and data about my distro configuration. If he dies (and he did) I'll bring him back.
Yeller_king@reddthat.com · 1 pts · 9h
Meh, I keep everything important on a separate drive altogether.
wilmo@programming.dev · 1 pts · 7h
That's me right now. Just use deja dup on my home to my NAS.
turbowafflz@lemmy.world · 1 pts · 1m
if it breaks, just fix it
joyjoy@piefed.social · 1 pts · 1h
The problem with btrfs is no installer I've seen supports reusing an existing subvol for your home partition. Not that I can figure out at least.