Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Neil Bothwick
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.).


pgpvL2m1Xam0T.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Peter Böhm
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





Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Dale
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

:-)  :-) 



Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Peter Humphrey
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.






Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Peter Böhm
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






Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Dale
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 . 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

:-)  :-) 



Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Frank Steinmetzger
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.


signature.asc
Description: PGP signature


[gentoo-user] Backing up KDE config files

2022-04-05 Thread Dale
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

:-)  :-)