• [gentoo-user] Backing up KDE config files

    From Dale@21:1/5 to All on Wed Apr 6 04:10:01 2022
    Howdy,

    As some know, I've rearranged some hard drives and data recently.  Got
    the data moved into the new places.  Given those changes, I'm also
    having to adjust my backups as well.  Before, I just backed up
    /home/dale and told rsync to exclude a few large directories that needed
    to be stored on other drives.  I reversed for the other drive.  Anyway,
    I'm splitting things up differently now.  What I'm not sure about is KDE config files.  I googled and found out some I was pretty sure of
    already.  Examples, .config, .local, and .kde4 but there could be others
    that need to be backed up as well.  Anyone know if that is all of them
    or am I missing some?

    I already have .mozilla backed up locally.  That takes care of my web browsers, Seamonkey and Firefox which includes emails. 

    Thanks.

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Wed Apr 6 10:10:01 2022
    Am Tue, Apr 05, 2022 at 09:02:46PM -0500 schrieb Dale:
    Howdy,

    What I'm not sure about is KDE config files.  I googled and found out some
    I was pretty sure of already.  Examples, .config, .local, and .kde4 but there could be others that need to be backed up as well.  Anyone know if that is all of them or am I missing some?

    I guess it depends on the applications you use. I think the directories you mentioned have all you need. I looked at my laptop, whose user directory harkens back to 2016. I still have ~/.kde (without any files) and ~/.kde4,
    but the only files in there that are newer than at least 9 months is .kde4/share/config/kdeglobals (modified 1 week ago, I probably changed some keyboard shortcuts) and theme files from Breeze inside .kde4/share/apps/color-schemes/.

    Look for yourself:
    find ~/.kde ~/.kde4 -mtime -180
    will tell you which files in there are newer than 180 days. Modify
    parameters to your liking.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    Please don’t confuse me with facts, my mind is set.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmJNSbkACgkQizG+tUDU MMq/WRAArzQgDfkSIngAgV/vEq+Os+pB9oC3r745P766RkScJi8n3MdlQTo59Xk/ KWdknT4rbpI62FQBot4QBk3CMETTWi2kyrEymoFMxQ13807ysijtNDPAIwAMvwPi RMK0ot390gTdDhce/0kzUdl2WOdLjy847Uj5aOtbO1wpSlFYRHSiVwC28n/cPHKH eKYS6k6gNcvNluNdDcysy0X/VrWouSdSONBeBWr9U6nJBzBecFYMHq/aVxAvdZJy VKeItctZiTUbpvWCj10rw6eHM/rqVcIrCkkfbr6n790PoDoIENXskOxkgIBqUvFo zowpi8heh6Kw3ryEqphOKqas3IBqY97FdEIh9IBXEUPU2ck6lmMM7ZYzgPLhGaPu vwp3IyUNJ/KhqYSmQhIKO4+buSan6aMK2pc/eyiy4rZcC3ElP9w4kWOIaGfW/Zx0 QxLSkZZtW42s0qFR3K9SCelcE/2zt1r7BWaIk8UjIIjG+qI60pFgZsWbm6mh/1BH Qg2AHc1APW1A3B4BVQhuWfJIeicxttWq2as598XE9SSmad8QKTVHqYAyuGJtOpKb 15KQE3ralXXuOEn4i5X457nLMKJCsB7xGCRR5o3NxmlUkgKW++9omloseI6nrszX awYTNlJNYMFX7XqVSamWBgDTHHSKc9oS+e4sPk47qPXGX23OPaM=
    =Xyv2
    -----END PGP SIGNATURE--
  • From Dale@21:1/5 to Frank Steinmetzger on Wed Apr 6 15:20:01 2022
    Frank Steinmetzger wrote:
    Am Tue, Apr 05, 2022 at 09:02:46PM -0500 schrieb Dale:
    Howdy,

    What I'm not sure about is KDE config files.  I googled and found out some >> I was pretty sure of already.  Examples, .config, .local, and .kde4 but
    there could be others that need to be backed up as well.  Anyone know if
    that is all of them or am I missing some?
    I guess it depends on the applications you use. I think the directories you mentioned have all you need. I looked at my laptop, whose user directory harkens back to 2016. I still have ~/.kde (without any files) and ~/.kde4, but the only files in there that are newer than at least 9 months is .kde4/share/config/kdeglobals (modified 1 week ago, I probably changed some keyboard shortcuts) and theme files from Breeze inside .kde4/share/apps/color-schemes/.

    Look for yourself:
    find ~/.kde ~/.kde4 -mtime -180
    will tell you which files in there are newer than 180 days. Modify
    parameters to your liking.



    At first, I just wanted to backup .<everything> but couldn't figure out
    how to get rsync to do that yet.  I'm working on it tho.  There should
    be a way.  Still, at least I get back most everything with those.  I
    skimmed the list and most programs I use just use the defaults so it can
    just be recreated or rarely use that software at all.  I suspect a lot
    of them have been moved to .config anyway.

    Given the volume of data, I may have to start using tar and friends
    before long.  Even split up, my backup drives are getting a bit full
    with direct copies.  Someone else mentioned snapshots but I still need
    to research that.  I need a month of good health to see if I can catch
    up on the things that need doing here.  :/

    Thanks.

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter =?ISO-8859-1?Q?B=F6hm?=@21:1/5 to All on Wed Apr 6 15:40:02 2022
    Am Mittwoch, 6. April 2022, 15:10:00 CEST schrieb Dale:

    [...] but couldn't figure out
    how to get rsync to do that yet.

    I am using app-backup/luckybackup as "frontend" for rsync (because I am using KDE/QT).

    Many Greetings,
    Peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Wed Apr 6 16:30:02 2022
    On Wednesday, 6 April 2022 02:02:46 -00 Dale wrote:
    Howdy,

    As some know, I've rearranged some hard drives and data recently. Got
    the data moved into the new places. Given those changes, I'm also
    having to adjust my backups as well. Before, I just backed up
    /home/dale and told rsync to exclude a few large directories that needed
    to be stored on other drives. I reversed for the other drive. Anyway,
    I'm splitting things up differently now. What I'm not sure about is KDE config files. I googled and found out some I was pretty sure of
    already. Examples, .config, .local, and .kde4 but there could be others
    that need to be backed up as well. Anyone know if that is all of them
    or am I missing some?

    I already have .mozilla backed up locally. That takes care of my web browsers, Seamonkey and Firefox which includes emails.

    This may not be of much use to you now, Dale, but the way I do this dates back to the '80s or '90s when I didn't know which distro to settle on. I created a ~/common directory on its own partition, which could be mounted under my
    home directory in whichever flavour I was running at the time. In that way, all the big, general stuff was under ~/common and the specific stuff to me was under ~/ .

    Thus, KMail, for instance, was set up to work with the right version of KDE. There was a minimum of conflict between OSs.

    The backups were simplified as a bonus, which is the main reason why I've stuck with this arrangement, and /etc/fstab was easily arranged to accommodate what
    I wanted.

    As I said, it may be too late for you to think along these lines, but I hope someone might be interested. It's certainly saved me an awful lot of errors when reinstalling things.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to All on Wed Apr 6 22:20:01 2022
    Peter Böhm wrote:
    Am Mittwoch, 6. April 2022, 15:10:00 CEST schrieb Dale:

    [...] but couldn't figure out
    how to get rsync to do that yet.
    I am using app-backup/luckybackup as "frontend" for rsync (because I am using KDE/QT).

    Many Greetings,
    Peter

    Looks interesting but I've already updated my scripts.  If I had known
    about that before, that could be a option.  Like the GUI part. 

    Another interesting tidbit I found about rsync, --dry-run.  When trying
    to figure out --exclude directories, that is a awesome thing to use.  It
    just shows what it wants to do but does no copying.  That --exclude
    option always gives me grief.  I eventually get it to work but takes
    effort.  lol

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter =?ISO-8859-1?Q?B=F6hm?=@21:1/5 to All on Wed Apr 6 23:30:01 2022
    Am Mittwoch, 6. April 2022, 22:17:10 CEST schrieb Dale:

    Another interesting tidbit I found about rsync, --dry-run.

    Hi hi, ask me when I have learned that ... thanks to "luckybackup" ...

    (I do backup "only" /etc and /home ... yes, I know, if my SSD breaks I have to do a new gentoo installation; but with all settings in /etc no problem)

    Many Greetings,
    Peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to All on Thu Apr 7 01:20:01 2022
    On Wed, 06 Apr 2022 23:23:25 +0200, Peter Böhm wrote:

    (I do backup "only" /etc and /home ... yes, I know, if my SSD breaks I
    have to do a new gentoo installation; but with all settings in /etc no problem)

    Don't forget /var/lib/portage :)


    --
    Neil Bothwick

    ASSISTANT MANAGER: Feminine form of the word manager (q.v.).

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJOHhgACgkQ92eFu0QS MJjYDQ/9H/aQNnsJf1pDaeeBKkQS99Adh1s5xNcRYOny2EGm+NwUZwqmd5fTKG3k 9ZX7s9VvowFnCm1uXmPMqeWLYzg4xCaQP7XSeS80iempDvEBnF3ij4yjx4t7NAEv W/fhXb8DYiXb8a8nBKeKbKucwUDidmPeyWIjNWbO5hsZ8FnwtmVmduc9q9EP9xxL YDlO6r6wSRfVcjNlJb7atUd6UmZK98POOS8VsPh8lNQinkbHyFyf9N/vZw13KLpz qEoTNFkGmgOH9M4JlcwkV/FhF1Pah8VfcD1jSCTK2s1ELEqR2DaVZQ2CYPaTMIYv CcSuLCWTsvZfmdOejnHw+V3z+0Lqirj5rlFQf8WsDwQg6/qS1AEyUWI4/+CWPkMH y/MIiLDQPI6gfp2tFifrbHeJPlGWNRWAzXu5JIt/PyssGiGHeklaVT3NI2raqF8X hlupVtCIxurMrngbwxsbCkjQU1ezAqvN+1RFHabkEGtbNbKmk8UrMvbqKktQ8WKa WiPkwoFMK90DXzznvaPxxuvRAjs+nz7jPXZtP4zX3kAvPn3nrgCaRYNeqV1Bm/ve ze+5GoYNh6wvFLHeRSSon+0k04Q+YyFI8op0dQeGpQXla4FpcWYTe5Tn1HlVkDS/ SZjFUFCU66PCJBv/XA+QBNpJLPSgakFitNVqC6M9FPHsNiac1sQ=
    =3DIA
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)