Share a Borg (Vorta) profile between several distros NOK

Hello, I have a triple-boot installation and I use my distros as they come, I like to change.

For my backups I use Vorta, which I’m very happy with.

I’d like Vorta to be able to detect when the last backup took place and to launch a new one if the backup policy conditions are met.

I tell myself that I’m not going to create X similar profiles (one for each distro) with the same policy, but a single profile visible on all the distros.

This seems possible since, if I’ve understood Borg, you can decide, for example, that X profiles from Y machines will feed a repository located on one machine.

To make things easier, my profile would have the same name on all the distros and the repository would be on a large USB key.
That said it doesn’t work, it tells me that the repository doesn’t exist or has been moved with two Distros based on Debian and an Eos, I’m thinking that the problem may come from the path to the key (/run/media/falke/uuid_cle under EOS and /media/falke/uuid_cle on Debian’s).

No doubt a path is set in an obscure conf file on the key, and when it’s not the one that applies to the distro, it doesn’t work…

Maybe you had this kind of problem, or I didn’t understand something with multi-machine and single repository to answer my need…

thanks

I haven’t completely understood the main issue. It sounds you share a (mounting the same) home directory in different distros and want to backup it with vorta in all those distros using the same vorta-config?

Afaik vorta expects a “repository” to be mounted in the same place. So if that (default) mounting point differs by distro you are going to see an error that the repository isn’t available.

So the problem should be solved by mounting the backup drive to the same path in all distros - or present it to vorta at the same path? There are several ways to achieve that: fstab, symlink, …

@Schlaefer

my post is still relevant but I haven’t had time to deal with it…

I share a /data directory between several distros, each using Vorta, the repository being on a usb key (the same for all)

As I can connect indifferently to one distro or the other, I’d like to be sure that the backup happens without fail. So rather than using a data backup profile for distro A, one for distro B and one for distro C pointing to the repository, I want to create a single backup profile shared between all the distros. What is the profile file supposed to be called and where should I put it to share it?

thanks

Translated with DeepL.com (free version)

What I did was:

I have a directory in let’s say in /mnt/data. I set up vorta in one distribution how I want it to be backed up.

Then I make sure that /mnt/data is available in all distributions and I share the same config folder ~/.local/share/Vorta between the distribution.

*~/.local/share/Vorta* between the distribution

that cannot be ~ 'which means on’es home directory) right ? unless you make a symling to it other distros? ?

Yes. In my setup every distro has it’s own “/home/…”, but I have a separate “real home” subvolume/partition with files I share between distros (Desktop, Documents folder, some ~/.config and ~/.local/share, browser state etc.)

If I need something I symlink it into the home folder of the current distribution.