Registered Member
|
Hi,
Using rsync to do backups of various machines I saw the whole of /kde4 going through. It was a large amount and took an eternity. I am thinking that there is no need to backup the whole of the /src and /build directories even if next time around it was less. If the worst came to the worst, then i would download a new commit and rebuild again. What is the consensus on this bearing in mind that I am going to frequently 'git pull' and 'make install' on this machine (but not so frequently on production machines? regards Ian |
Moderator
|
Hi Ian,
Let's see. When you need to restore from backup: - consider ..../kde4/build/* as a temporary directory for builds, keeping it only speeds up subsequent builds, so yes, it can be excluded from backup - bin, include, lib64, sbin, xdg subdirectories in ..../kde4/inst will be outdated once you plan to rebuild and install kexi, so these can be also excluded. Regarding keeping the kde4/inst/lib64/ after months of installing subsequent releases of Kexi, I can tell you that I just looked there now and there is garbage as follows: ..../kde4/inst/lib64/libkeximain.so.10.0.0 ..../kde4/inst/lib64/libkeximain.so.11.0.0 ..../kde4/inst/lib64/libkeximain.so.12.0.0 ..../kde4/inst/lib64/libkeximain.so.13.0.0 ..../kde4/inst/lib64/libkeximain.so.14.0.0 ..../kde4/inst/lib64/libkeximain.so.9.0.0 (only libkeximain.so.14.0.0 is actual version) Removing old version of libraries would not break Kexi. I bet that you don't need to store and backup all that. Pure (and quite large) cache that can be excluded too: - ..../kde4/inst/share/akonadi - ..../kde4/inst/cache-* - ..../kde4/.kde/cache-* - ..../kde4/.kde/socket-* - ..../kde4/.kde/tmp-* However I recommend backing up ..../kde4/.kde/share dir. It contains local settings for Kexi and any software you've used in the same environment that you're running Kexi in. (EDIT: updated to the standard .../kde4/.kde/ location) |
Registered Member
|
Hi,
That has been a great help, just struggling with getting rsync to do as is is told!
you mean ~/kde4/.kde/share/ unless we have different directory structures, and surely we don't? many thanks Ian |
Administrator
|
The appropriate directory to backup can be determined using the following command:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Moderator
|
Yes it is, according to http://community.kde.org/Calligra/Building, I am sorry. This is the $KDEHOME variable. My location differs for historical reasons but I am trying not to mention this in the public, to avoid confusion |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]