Cannot create CloudSync Job to BackBlaze on new NAS

Hello All, I am asking for some advice on how to fix my cloud backup quandry. I have a new OWS Jupiter Mini 5 Bay with Scale ElectricEel-24.10.1. Since I have been moving data off my old Synology for the past few weeks I am now ready to go live on my new NAS but can’t seem to kick off BackBlaze B2 today.

I setup a new bucket, keyed everything in the system and verified creds all is good. But when I create a new Cloud Sync job with the wizard or manually in advanced I get one of two errors. First is when I choose Push/Sync and check the box for my mount point and then any sub folders there is a red error under the directory box on the left that says “All selected directories must be at the same level i.e., must have the same parent directory.” so if I uncheck any subfolder boxes and just leave the /mnt checked that goes away and I can click submit but then I get this error trying to kick off a sync job “[EINVAL] cloud_sync_create.attributes.folder: attribute required [EINVAL] cloud_sync_create.path: The path must reside within a pool mount point” so after spending an hour or so reading the internets I thought I would join the forum, search for the same issues anywhere and since I didn’t find this exact issue I am now posting for some help.

Cheers,

Devin

1 Like

Post a screen shot of you selection options for CloudSync and we can tell you what you should select. Generally you want to select the entire pool, or specific data sets one level down from the pool.

Thanks @Theo can I post a screenshot being such a noob here? Whenever I attach a photo it says I cannot embed here. Makes sence but also I don’t see an attachements option yet for my account.

Ya, the downside of being a newbie here. Start with just selecting only your main pool, or a data set or two right inside your pool (both need to be at the same level) and see if that saves.

I will try and take a short video and post it to youtube and share it here. Hopefully I can do that?!?

Any updates? I just got the same error message.

Direction: PUSH (same with PULL)

[Local] Directory: /mnt

[Remote] Folder: / (same issue if I try a subfolder)

Advanced Mode only: Use Snapshot = checked

Same issue with either Wizard or Advanced mode

Using TrueNAS-SCALE-24.10.2

Below is the error that popped up. Hopefully, this will be of some help troubleshooting.

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 211, in call_method
result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1529, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1460, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/service/crud_service.py”, line 230, in create
return await self.middleware._call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1460, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/service/crud_service.py”, line 261, in nf
rv = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 49, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 179, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/cloud_sync.py”, line 787, in do_create
verrors.check()
File “/usr/lib/python3/dist-packages/middlewared/service_exception.py”, line 72, in check
raise self
middlewared.service_exception.ValidationErrors: [EINVAL] cloud_sync_create.path: The path must reside within a pool mount point

Thank you in advanced

Edit: I am trying to connect to Backblaze B2.

I encountered the same python traceback. This error occurred when I did not select a destination folder (or root in my case). Selecting a destination folder corrected the error. I would post a screenshot or imgur link but it appears that the forum doesn’t permit me to do that.

Hard to say without screenshots. I dont know the trigger for allowing you to post them, but I think it is pretty quick.

Hi everyone, I had just setup my TrueNAS scale and a new Backblaze B2 account.
All well and good so far, then the setup on my TrueNas server to (backup) sync back to Backblaze via the Cloud Sync Task Wizard. I got past the valadation to the Backblaze account and in step 2. Selected Push and Sync, the named bucket and the source /mnt and the destanation /mnt. When I hit save, the error I get is [EINVAL] cloud_sync_create.path: The path must reside within a pool mount point. I have tried different permutations with the same result. My system is ElectricEel-24.10.2. (sorry this forum dose not allow images or links.

Did you create the target bucket bucket on Backblaze? Screen shots will help here.

Hi Theo, unfortunately this forum will not allow the upload of images nor links to images. In answer to your question, I did create the folder structure /mnt/Data in the Backblaze bucket, which matches the the folder on my Truenas storage of /mnt/Data. Thank you for looking at this.

Yeah, you cant yet as an anitspam defense. Up, are you selecting /mnt as you backup source? If so, that is not within your pool. Select the main pool or a dataset down from the main pool and see if that works.

Hi Theo, I did try my actual data source as /mnt/Data and still get “All selected directories must be at the same level i.e., must have the same parent directory”
With thanks, Tina

Just select a single dataset in one pool and see what it tells you. Until you can post a screen shot, it is hard to help.

Curious to see if this works for you, I still haven’t gotten mine to work yet either.

I was having issues with this (which is what brought me to this post) but I found out that if I select the bucket first and then go back up to the folder structure that this is no longer an issue for me. Hope this helps!

1 Like

Hi Joe, Thank you very much for the tip, that worked a as sugested.
My TrueNas has a Dataset as follows. “/mnt/Data” my Backblaze bucket has a folder “Data”. Following your sugestion it worked with no errors.
Thank you for jumping in on this.
Tina