04-20-2022, 08:08 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Apr 2022
Device: Kobo Glo HD, Kobo Libra 2
|
KOReader and rsync
Hello,
First time poster here! :-) First of all, kudos to KOReader's developers for building such a fantastic application. In addition to KOReader, I also installed NiLuJe's Kobo Stuff, and I'm trying to use rsync as an alternative backup solution. It works fine for pushing stuff to a remote machine: rsync -avhz --delete -P -e "ssh -p 22" /mnt/onboard/Library/ user@127.0.0.1:/path/to/library But rsyncing the opposing way (rsync -avhz --delete -P -e "ssh -p 22" user@127.0.0.1:/path/to/library/ /mnt/onboard/Library, gives me a bunch of errors: Am I missing something obvious here? Thank you, Dmitri Last edited by issybird; 04-20-2022 at 05:29 PM. Reason: Oversize image attached as thumbnail. Please read the guidelines for limits on image size. |
04-20-2022, 06:41 PM | #2 |
BLAM!
Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
We'll need the actual output from a real shell, as rsync is usually fairly verbose, and that's just a mangled bit of output .
At a very quick glance, given the vfat shenanigans, I'd guess you need to disable preserving permissions (user/group/mode). I don't recall the exact flag off the top of my head, but it's a negation of part of what -a does, IIRC. |
04-21-2022, 04:29 AM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: Apr 2022
Device: Kobo Glo HD, Kobo Libra 2
|
Thank you very much for your reply, NiLuJe! I had the same thought just before falling asleep last night. :-) I did some digging this morning, and I think you are right. All error messages are related to chown, and of course, it's vfat, so... I'll try to see if I can make rsync work without the -a parameter.
Once again, thank you for your reply and the amazing work you and other KOreader contributors do! Kind regards, Dmitri |
04-23-2022, 11:37 AM | #4 |
Junior Member
Posts: 9
Karma: 10
Join Date: Apr 2022
Device: Kobo Glo HD, Kobo Libra 2
|
A quick follow-up.
Indeed, the "vfat shenanigans" were the culprit. Adding the --no-g and --no-o parameters solved the problem. Kind regards, Dmitri |
Tags |
koreader, rsync, ssh |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rsync PC to Kobo | Lo2 | Kobo Developer's Corner | 3 | 03-25-2019 07:06 PM |
I've compiled rsync 3.0.9 for the kobo. | emuboy | Kobo Developer's Corner | 3 | 09-15-2017 05:14 PM |
rsync KUAL DUMMY | twobob | Kindle Developer's Corner | 3 | 09-29-2013 10:46 AM |
Rsync on Kindle Touch | leonardo84 | Kindle Developer's Corner | 11 | 10-31-2012 06:31 PM |
rsync | thetechnobear | iRex | 1 | 03-05-2008 02:57 PM |