17
submitted 3 years ago* (last edited 3 years ago) by u202307011927@feddit.de to c/archlinux@lemmy.ml
all 16 comments
sorted by: hot top new old
[-] MicroMacro@sh.itjust.works 6 points 3 years ago

/etc and ~/.config in priority

[-] iHUNTcriminals@lemm.ee 2 points 3 years ago

What is typically stored in /etc ?

[-] vepro@iusearchlinux.fyi 7 points 3 years ago

System wide configuration files

[-] u202307011927@feddit.de 0 points 3 years ago

Is it possible to tell my OS that it's always going to have only 1 non-root user and relocate all the ~/.config into /etc?

[-] theshatterstone54@feddit.uk 3 points 3 years ago

You should not do that. Things can break. Your user configurations are stored in .config and Your System configurations stored in /etc/ are used by your system. I wouldn't recommend it.

[-] vepro@iusearchlinux.fyi 1 points 3 years ago

Programs may read from /etc, but it's not recommended. Instead, I recommend having your .config directory stored somewhere, or preferably, have all configs in a git repository (often called dotfiles) and deploy them on systems for example with stow

[-] stepanzak@iusearchlinux.fyi 2 points 2 years ago

It's like .config but system wide. It stands for Editable Text Configuration. Some examples is config for Sudo, Grub, X11 or SDDM.

[-] starman@programming.dev 5 points 3 years ago

I think that you don't need to backup /var or /tmp

[-] moonpiedumplings@programming.dev 4 points 2 years ago

.mozilla

One of the reasons why I will probably never install discord/slack/element for desktop, and I will use the browser version is because it's nice to have everything in one, easy to move around place.

Since I have multiple profiles I can't really take advantage of the firefox sync service.

~/Documents

Notes, poetry, other work.

~/.ssh

So I can access my servers from any machine.

~/Playables

Games and related data. Although this one is of significantly less importance, since I mainly play only ome game, binding of isaac, a roguelite.

[-] mertn@lemmy.world 2 points 3 years ago

/etc /home /root /boot for me

[-] prunerye@slrpnk.net 2 points 3 years ago

When using a pre-configured Arch derivative, I really only bother to back up a few folders in /home, e.g. ~/.config, ~/Downloads, ~/Documents, ~/Pictures, ~/Music, maybe also .bashrc if I added a bunch of aliases. Everything else is easy enough to reinstall.

[-] backhdlp@lemmy.blahaj.zone 2 points 3 years ago

Exclude: /dev, /proc, /sys, /tmp, /run, /mnt, /media, /lost+found, /swapfile (not a dir), ~/.cache, ~/.local/share/Trash Include: ~/.cache/paru

this post was submitted on 17 Sep 2023
17 points (94.7% liked)

Arch Linux

9937 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS