Can not add root directory to backup

I-ve just installed the 2.5.x server and client 2.5.20.0.
When I’m trying to add the root directory to backup, I don’t get any error message:
urbackupclientctl add -x -f -d /
but when seeing the directories to backup, it doesnn’t get listed:

urbackupclientctl list
PATH NAME FLAGS
---- ---- ---------------------------------------------
/var var  symlinks_optional,one_filesystem,share_hashes

I’ve also tried to add it with the -n flag:
urbackupclientctl add -x -f -d / -n root

With no difference what so ever.
When I try to delete it:

urbackupclientctl remove -d /
Backup directory was configured on the server. Please remove it there

So I took a look at the server, but / isn-t set anywhere as default file backup directory, additionaly the settings of that specific client look like that:

It took a few hours until the initial backup finished. and root / really is not backuped.

I’ve added it now on the server side:

And now it is listed in the directory list

 urbackupclientctl  list
PATH NAME   FLAGS                                          CONFIGURED ON SERVER
---- ------ ---------------------------------------------- --------------------
/    rootfs follow_symlinks,symlinks_optional,share_hashes Yes
/var var    symlinks_optional,one_filesystem,share_hashes  No

Still, seems to be a bug.

I’ve just setup an other client, with a different urbackup server using 2.5.27. The exactly same problem.

btw. It would be really great if somewhere would be a issue tracker, to put in bugs and similar stuff to know if they are worked on, or already solved.

For image backups you should set the path to ‘C’ but I don’t know if that also applies to file backups?!

“C” is a Windows thing. “/” is a Linux (or *nix) thing.

Sure but I’m just telling you how it is. I didn’t build the software :sweat_smile:

To be honest, I didn’t try to add “c” as a path. Even if it would work, it wouldn’t change that it is a bug that you can’t add the root directory on the client and don’t get any error message when trying so.

Try: