[MX Linux xfce 21] Backing up important files using rclone

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
Nuzzle9533
Posts: 49
Joined: Tue May 02, 2023 2:37 am

[MX Linux xfce 21] Backing up important files using rclone

#1 Post by Nuzzle9533 »

I am pretty sure this is same or similar for other MX xfce based versions as well, but here it is.

I have a lot of custom keyboard shortcuts and so here's how I back it up so I don't have to create them again.


The keyboard shortcuts are located at `/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml`

so, in order to back them up, make sure you have `rclone` backed up folder in your system and then add them to `crontab -e` service by adding this line to the end of the file you get when you execute `crontab -e`


`43 23 * * * cp ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml "/home/$USER/Documents/Linux/xfce-files backup/xfce4-keyboard-shortcuts.xml"`

This will make sure to copy the content of the `keyboard shortcuts` file to `Documents` subfolder. Since my whole Documents folder is backed up every day using `rclone` I will never lose the keyboard shortcuts file. You can do this to other important files too

This can be done for GNOME too, I just don't know where the shortcuts are stored. But, I am pretty sure a `catfish` search for "keyboard-shortcuts" will reveal the location and the file, copy the file location and do this.

User avatar
CharlesV
Global Moderator
Posts: 7056
Joined: Sun Jul 07, 2019 5:11 pm

Re: [MX Linux xfce 21] Backing up important files using rclone

#2 Post by CharlesV »

Good write up and tip. An particular reason you like this over timehshift?
( all of my ~/.config area is backup daily with that.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “Tips & Tricks by users”