New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assign implicit names to nameless AzureBlob objects #2973
Comments
Rclone will treat any blob ending in |
Well but if remote storage is able (from whatever reason) to create nameless blobs I thing that If I crate by commands
this folder structure:
These blobs have own ETAGs and URLs
but |
Azureblob doesn't really have a concept of folders, it is a key / value store. By convention we use the unix file system paths Rclone however has to deal with actual file systems like the one on your disk which does have limitations in that string. So if you can't have a file called This doesn't usually cause a problem though. What problem is it causing you? |
Ok, I know that the azureblob is key/value storage but Azure WebUI uses folder term so I used it too. Let's define some general terms to be sure that we talk about the same things:
The core of this problem is that on Azure you can store a blob called Well, I just find out that the Another example could be that command From the other side command I assume this behavior should be switchable by flag for backward compatibility, eg. The backgroud of this problem is that I want use Azure driver for storage for docker-registry. But it erroneously sends data to Azure with two slashes '//' instead of '/' (distribution/distribution#1247) so it creates nameless root "folder" on Azure and I want to use |
Can you paste the error messages you get please? |
It doesn't show any error message. The problem is that I use docker-registry with S3 storage driver where are blobs stored with I would like to migrate blobs form AWS S3 to Azure with |
It would be fairly easy to add an option to force a leading |
It probably doesn't solve the problem with |
I have the same (or at least very similar) problem with GCS, we have the opportunity to create something like gs://bucketname////file-with-slashes, I see these with This is a problem because we can't control the path creation, but we should backup everything. |
Where are you backing it up to? You can't store a file like |
We are giving the choice to do backups to ec3, gcp or ftp through a web interface. |
The best way of fixing this would be rclone's filename mangling scheme which is in progress at the moment... - what do you think @B4dM4n ? |
@hmlkao |
Well, it seems the main problem was solved. Prerequisites
rclone lsWorking well in v1.54
rclone sync
It may be helpful when Versions
|
Got you. At least we have some progress. |
A little, I'm not sure if my skills could produce PR 😃 |
We have 600 requests and a dozen hands in rclone. |
FYI the #4412 (comment) provides some general ideas on using a truncated ID for generating ephemeral object names. |
Azure supports nameless "folders" but rclone can not handle them.
For example, commands
create blobs
<no name>/<no name>
test/<no name>
test/file.txt
So only the one blob is for rclone visiblible
The text was updated successfully, but these errors were encountered: