Page 1 of 1

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

Posted: Fri Sep 22, 2023 10:26 pm
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.

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

Posted: Sun Oct 01, 2023 11:30 am
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.)