Love Plasma 5 and need to again up the configuration recordsdata simply in case? In that case, you’ll must do some digging round in your house listing, because the configuration recordsdata for the KDE Plasma 5 desktop belong within the ~/.config/ folder. That mentioned, KDE doesn’t save all of its configurations in a single folder. As a substitute, they’re scattered far and wide within the ~/.config folder. It’s potential to backup KDE Plasma 5 by saving your complete configuration folder, however this isn’t one thing we advocate. The hidden config space on most Linux distributions is massive. Compressing it will take means too lengthy.

Again Up KDE Join

As a substitute, it’s higher to kind by and duplicate out all of the KDE gadgets. Let’s begin by backing up one of many KDE Plasma desktop’s key options: KDE Join. Conserving a backup of KDE join actually helps, because it’s a ache to re-set the whole lot up.

Begin out by utilizing CD to maneuver into ~/.config

cd ~/.config

Copy the KDE join folder into a brand new Plasma backup folder.

mkdir ~/plasma-backups

cp -R kdeconnect

Alternatively, be at liberty to create a separate archive of it:

tar -jcvf kdeconnect-backup.tar.bz2 kdeconnect

Subsequent, undergo and create a backup of all the “k” associated recordsdata. This may embrace issues like “kwin”, and “kscreenlocker”, and so on.

mkdir plasmak-backups

cp okay* plasmak-backups

mv plasmak-backups ~/plasma-backups

The vast majority of the recordsdata have been backed up. Remember the fact that you might have extra gadgets, so use the ls command and go searching for some other widget folders chances are you’ll need to save. Transfer them with the mv command into ~/plasma-backups.

Again Up KDE Plasma

Now that numerous the non-plasma KDE-related recordsdata are safely copied into the ~/plasma-backups folder, we are able to transfer the core Plasma backup gadgets to the backup folder created earlier.

mv plasma* ~/plasma-backups

All the things pertaining to the KDE Plasma desktop surroundings needs to be within ~/plasma-backups. Ultimately, we are able to create the tar archive backup of the whole lot. Begin off by transferring the terminal out of ~/.config and into the house folder.

cd ~/

Then, use the tar command to create a brand new archive backup.

tar -jcvf plasma-backups plasma-backups.tar.bz2

Each file within the ~/plasma-backups folder is now compressed in an archive. Be happy to take this folder and add it to Dropbox, Google Drive, house servers and and so on.

Restoring The Backup

Want to revive the backup to a brand new set up? Get began by downloading your plasma-backups.tar.bz2 archive file. Transfer it from the folder you downloaded it to and put it in ~/.config/ For instance:

cd ~/Downloads

mv plasma-backups.tar.bz2 ~/.config/

From right here, you’ll be capable to extract the archive backup contents.

tar -xvf plasma-backups.tar.bz2

cd plasma-backups mv * ..

rmdir plasma-backups

rm plasma-backups.tar.bz2

All the things ought to go precisely the place it must.

When the restoration is full, sign off of your KDE session, after which again in. All the things needs to be prefer it was whenever you created the backups!

Automated KDE Plasma 5 backups – Deja-Dup

There are numerous methods to create backups of recordsdata on Linux, however Deja Dup is among the greatest. Should you’re an avid KDE Plasma 5 consumer and need to maintain observe of KDE Plasma configuration recordsdata always, chances are you’ll need to think about using Deja Dup for backups.

The benefit of going this route is that Deja Dup can again up over a number of interfaces like native community shares (Samba, FTP), instantly to varied on-line storage websites and even regionally. One other benefit to utilizing Deja Dup is that it’s potential to inform the backup instrument what to exclude.

Right here’s arrange an automatic KDE Plasma settings backup. First, comply with the set up course of in our information right here. Then, open up Deja Dup and choose “folders to ignore”. Click on the + signal to and navigate to the ~/.config folder.

Add all folders that don’t pertain to KDE Plasma 5. Excluding these recordsdata ought to dramatically reduce the dimensions of your backup archive.

Notice: Deja Dup at present doesn’t help filtering of every file, so another non-KDE recordsdata could also be included within the backup, relying on what’s put in.

Subsequent, return to the primary web page and choose “Folders to save”. Click on + and add ~/.config as the primary backup folder.

Now that the proper folders are able to go, click on “Scheduling” and click on the slider subsequent to “automatic backup”.

Go to “Overview” within the Deja Dup backup instrument and click on “Backup” to create the primary backup. Any longer, all KDE Plasma desktop settings will again up robotically.

Restoring The Backup

Restoring backups for KDE Plasma on Deja Dup is fairly straightforward and it begins by opening up Deja Dup and clicking on “storage location”. Within the location field, fill out the community particulars accurately so Deja Dup can discover the whole lot.

With the proper location set, click on on “Overview” after which choose the “Restore” button. If Deja Dup accurately finds the storage location, the restoration can start. When Deja Dup finishes, restart your PC. As you log in, the whole lot needs to be again to regular.



Source link

Share.
Leave A Reply

Exit mobile version