Is a "System Config" Backup of Garuda possible?

Heyho again,

this post kicked off from the responses I got on my last post about a solution for a wrongly installed EFI partition.

I know there seems to be great and even GUI based tools for full backups, but are there tools that can provide me with something like a “Garuda Linux Config Backup”?

I wanna re-install my Garuda Dr460nized Gaming Version to fix my EFI Partition problem for good, but I definitely have some config changes that I forgot to document…

Therefore, I am searching for something that can backup/restore a config containing f.e. HDR settings, KDE/UI config, maybe even installed applications (diff) with config etc.

While writing this I already feel like a mad product owner person, asking for the impossible, but maybe our amazing Linux community has cooked something up that can help me here :slight_smile:

I think most if not all custom configs are in home/USERNAME/.config
I backup my home folder every month

1 Like

You backup /.config and /.local. *Note .local has steam so you might want to exclude that from the backup. It also has some vary specific permissions on some folders so its best when you restore the folder to not just give the user full access as it will cause issues. best way to deal with this is mainly copy all the plasma stuff and things you added later.
You can check here to see where everything is. Plasma themes and plugins | Developer your after the location of user installed.

2 Likes

An excellent script to tryout is transfuse.
#transfuse (script to backup KDE configuration)

########################################################################
  curl -O https://gitlab.com/cscs/transfuse/-/raw/main/transfuse     #   
chmod +x transfuse                                                    #
./transfuse -b $USER                                               #
./transfuse -p $USER                                              #
#./transfuse -pr `package`                                             #
#                                                                      #
#                                                                      #
#   TRANSFUSE                                                          #
#                                                                      #
#   A Script to Backup and Restore KDE Plasma Desktop Configurations   #
#                                                                      #
#   Usage: transfuse [option] [USER/PATIENT]                           #
#                                                                      #
#   Options:                                                           #
#    -h   --help                                      show this help   #
#    -b   --backup USER               copy and compress USER configs   #
#    -bt  --backupt USER                 backup USER appearance only   #
#    -BR  --backuproot                           backup root configs   #
#    -C   --copy USER                       copy but do not compress   #
#    -Ct  --copyt USER                     copy USER appearance only   #
#    -c   --compress                         compress copied configs   #
#    -p   --pkglists              create lists of installed packages * #
#    -pr  --pkgrestore                   install native package list * #
#    -pra --pkgrestorealien               install alien package list * #
#    -r   --restore PATIENT             restore configs /to/ PATIENT   #
#                                                                      #
#   Environment Variable       TR_COVER=1       Skip wallpaper steps   #
#   Environment Variable       TR_CHART=1        More verbose output   #
#   Environment Variable       TR_USECP=1          Use cp over rsync   #
#   (*) pkg* options require pacman package manager or an AUR helper   #
#                                                                      #
########################################################################

Cheers

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.