With your rsync command, try setting a different temp directory: rsync 
--temp-dir=/path/with/write/permissions

On Tuesday, 18 October 2022 at 04:17:13 UTC-4 Silvio Schloeffel wrote:

> Hi,
>
> I'm new in these groups and also with bareos.
>
> We use Bareos to backup the userhomes and some servers.
> After my initial test and backups i get access to the storage space for 
> the "long term" run.
>
> Here my problem or my misunderstanding starts:
> At the moment I have a backup of all the data on a local array and it 
> works as expected.
> My idea was now to rsync all the files to the new mounted (nfs) dir and 
> then change the storage location in the bareos-sd daemon.
>
> Unfortunally this does not work and i do not understand why.
> I get a messages like this:
> Error: stored/dev.cc:160 Unable to stat device 
> /mnt/backup-storage/backupdata/storage: ERR=Datei oder Verzeichnis nicht 
> gefunden (file or dir not found)
>
> I checked the path multiple times it is correct:
> [root@xxxxxx storage]# pwd
> /mnt/backup-storage/backupdata/storage
>
> I also have not selinux warnings in the logs and the rights on the dirs 
> are also correct compared to the local backup dir.
> The bareos user can change into the dir and it is also possible to 
> create files so I think I have not right problems.
>
> Any idea what I'm doing wrong or where my problem of understanding is?
>
> Best
>
> Silvio
>
>
> -- 
> Silvio Schloeffel | CIO
> [email protected]
> Tel. +49 3677 2094 840 <+49%203677%202094840>
>
> the evolution of music continues
>
> MusicDNA GmbH
> Schwanitzstrasse 6,
> 98693 Ilmenau, Germany
> Phone: +49 3677 2094 840 <+49%203677%202094840> | Fax: +49 322 298 222 00
>
> Steuer-NR.: DE 156/114/04317

> Handelsregisterzeichen: HRB Jena 517208,
> Geschäftsführer: Sebastian Schmidt
> www.musicdna.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/70e56413-b152-4664-9f0b-547d076b5b0dn%40googlegroups.com.

Reply via email to