Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
How does the iOS backup work?
-
@cvp, yeah. I guess you could encode/decode the images, but would have to experiment what kind of control you have on the number of files.
-
If you place the 10000 folders underneath a folder called .DB or something, I wonder if that still causes slowness. I'm thinking I have git repos with hundreds of commits resulting in thousands of files stored in . git, and don't necessarily have massive slowdown in creating or moving files, but I'm not sure.
Could maybe have heirarchys to keep single folders small -- for instance git deals with tons of commits/blobs/trees, each which is its own folder based on the hash. But top level folders are first 2 letters of the hash, thus making it fast to lookup a particular hash -- top folder has < 256 subfolders, etc.
-
@JonB You are right (as usual 🙄), all my 10.000 folders are under a folder that I prefixed with a dot, and creating or moving a file has retrieved its normal speed.
Thus, thanks a lot. I'll keep my 30.000 files without a dB...
I'll have to modify some scripts to access these sub-folders or files because the upper folder is not visible.Although, I still think that iOS backup should not be so designed, by file...But, ok, it is not vital.
A last time (for today), thanks for your time. -
-
Unforeseen consequence: uploads via SFTP to my backup server ADrive.com does not work anymore from sub_folder of hidden folder 😢 (error 2 "no such file").
Exactly same process to my iMac (where standard SFTP server runs) works successfully.
Edit: ADrive server seems to have (temporary, I hope) problems. The same error occurs actually even for an upload from a visible folder.
Just when I test my modification...😢and😅 -
Folder rename (drop/add the leading dot) before and after sftp operations might be a workaround.
-
@ccc Yes sir but I still hope it is a temporary problem. Wait and see
-
Problem disappeared today, it was thus a server problem...occurred at a bad moment 😅
-
@spammer Thanks for the info, I didn't know but as I said, I've used the solution adviced by @JonB
-
@cvp, unfortunately that post was a spam (copy of an earlier post in this thread).
Would be nice to maybe have an area where posting would be limited to ”members only”, i.e. having gone through some kind of a challenge that could be only responded to from within Pythonista.
And of course another area where people would not have to be similarly verified and could ask ”should I buy Pythonista for xyz” questions.
-
@mikael Thanks, shame on me
-
@omz, @ccc, any idea whether the forum software would support such a challenge/”secondary password” to get a posting access?
On Pythonista end we would need nothing new. E.g. challenge is ”ui.Tableview”, response is the result of:
hash(''.join(dir(objc_util.ObjCInstance(ui.TableView()))))
... that is, something that an average forum spambot certainly cannot perform.