Re: Can't mark files when restoring data

Marcin Haba <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAOqQBvPwA5LPCKaNvOLkuSbyiUzWbtZkYQF41tCXZRd9oS8iBw@mail.gmail.com>
On Wed, 11 Dec 2024 at 11:05, Victor Sterpu via Bacula-users
<[email protected]> wrote:
>
> Hello
>
> I'm trying to restore just some files from my backup and I can't mark files or cd between folders
> The server is on Linux and the client on Windows, this is the output from bconsole:
> $ ls
> C:\Users\user\Desktop/
> C:\Users\user\Documents/
> $ cd C:\Users\user\Desktop/
> Invalid path given.
> cwd is: /
> $ cd C:\
> Invalid path given.
> cwd is: /
> $ cd c:
> Invalid path given.
> cwd is: /
> $ cd /C/Users/user/Desktop/
> Invalid path given.
> cwd is: /

Hello Victor,

It is probably because in Fileset is defined the include path with backslashes.

In Bacula both for Unix and Windows paths we use slashes.

You need to change in Fileset this path:

C:\Users\user\Desktop

into this path:

C:/Users/user/Desktop

...and so on.

After changing paths, you will need to run backup once again.

Best regards,
Marcin Haba (gani)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.