Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2015, 04:27 PM   #1
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Save backups to SD

How do I save my settings and DB backups to my SD card? I have SD cards on Android 4.4+ checked, and my books are saved to SD.
Purple Lady is offline   Reply With Quote
Old 08-29-2015, 05:34 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Purple Lady View Post
How do I save my settings and DB backups to my SD card? I have SD cards on Android 4.4+ checked, and my books are saved to SD.
You save them to main memory then use a file manager to move them to the SD card. Why? Trying to work with Kitkat+ SD card rules was more than I wanted to do.
chaley is offline   Reply With Quote
Advert
Old 08-30-2015, 05:25 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I have changed CC backup and restore to allow navigation up from internal memory directory and then down to wherever you want if either a) the Android version is less than Kitkat or b) the advanced SD card option is checked.

Two notes:

1) I make no attempt to verify that the path makes sense. If your device will let you store the file in the root directory then CC will do it. I hope that Android will tell CC if an attempt is made to write to a read-only directory or file, but I am not sure this will always happen.

2) I cannot fully test these changes because I do not have a kitkat-or-later device with an SD card.

@Purple Lady: if you want I can send you a new beta APK with these changes. In this case send me a PM with the email address you want me to use. Alternatively you can wait until I release the next beta, probably in a week or two.
chaley is offline   Reply With Quote
Old 08-30-2015, 05:33 AM   #4
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,627
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
@chaley, if you want I can test that, as I have an Android device wit Android 4.4.2
Terisa de morgan is offline   Reply With Quote
Old 08-30-2015, 05:45 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Terisa de morgan View Post
@chaley, if you want I can test that, as I have an Android device wit Android 4.4.2
Happily.

There are two variants to the test. Both require kitkat or higher and the existence of an SD card (which I don't have).

The first: you have rooted your device, disabled the Kitkat SD card protections, and checked the CC advanced SD card option found in CC's Other Settings section. In this case you should be able to write the backup file anywhere on the SD card.

The second: you check the box in CC but haven't disabled SD card protection. In this case CC will let you navigate around the SD card but it should fail to write the files except (perhaps) in the magic /Android/data/com.multpie.calibreandroid directory.

If after reading the above you are willing to go ahead then PM me the right email address where I should send the APK. I have the one you gave me for the beta program but I am not sure that is the one you prefer.
chaley is offline   Reply With Quote
Advert
Old 08-30-2015, 05:49 AM   #6
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,627
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I have the second one option (I'm not a fan of rooting), and I have my books in my SD, so I can ckeck it. And I PM the email to you now.
Terisa de morgan is offline   Reply With Quote
Old 08-30-2015, 09:34 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Taking the liberty of responding to an email here.
Quote:
Originally Posted by Terisa de morgan View Post
I've already tested it. If I save it inside the "proper" directory, it is saved OK and you can recover it. If I try to save it at other point, it gives a "write access error", so it is OK.
Good.

Given that Android+CC gives the write error I think I will remove the restrictions on when a user can navigate "up" and then down to the SD card. That way you will not need to check the "Advanced" option to save a backup to the app-specific directory on the SD card. I probably need to add something to the FAQ.
Quote:
The only detail is that it doesn't remember the last path. I'm not sure if it's normal, but it isn't a big problem.
Good idea. I will add this.
chaley is offline   Reply With Quote
Old 08-30-2015, 09:45 AM   #8
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,627
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I hope it has been helpful, and I'm glad to have the apk in my phone as I prefer to save the backup at the SD too (changing books from internal memory to SD was the first thing I did when I got the phone).
Terisa de morgan is offline   Reply With Quote
Old 08-30-2015, 01:09 PM   #9
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
I tested both backup and restore using SD card and it worked fine, thanks. This was without the SD cards option checked in settings.

I also tried to save the backup to the root of my device and it failed - it asked if the file was read only.
Purple Lady is offline   Reply With Quote
Old 08-30-2015, 02:41 PM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Purple Lady View Post
I tested both backup and restore using SD card and it worked fine, thanks. This was without the SD cards option checked in settings.

I also tried to save the backup to the root of my device and it failed - it asked if the file was read only.
Thanks for the feedback. Am I right that you have rooted your device and removed the Kitkat SD card restrictions?

Given the positive feedback I think I will release a new beta with these changes. It will have the same version ID as the current beta, V4.2.1, but will have the internal ID bumped up to 182. Both of these values are visible in CC's About screen.
chaley is offline   Reply With Quote
Old 08-30-2015, 03:01 PM   #11
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by chaley View Post
Thanks for the feedback. Am I right that you have rooted your device and removed the Kitkat SD card restrictions?

Given the positive feedback I think I will release a new beta with these changes. It will have the same version ID as the current beta, V4.2.1, but will have the internal ID bumped up to 182. Both of these values are visible in CC's About screen.
Yes, I have rooted my device and removed the Kitkat SD card restrictions.
Purple Lady is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with a disaster and backups! SusieQ100 Calibre 24 08-09-2015 03:43 PM
A lesson on the importance of backups... HarryT General Discussions 114 02-01-2015 09:53 AM
Upgrading and backups - what to save? manawydan Library Management 3 11-10-2013 02:22 PM
How many backups do you have? Sydney's Mom General Discussions 23 04-03-2010 11:53 PM
CF card or iLiad backups? nekokami iRex 12 10-16-2007 09:25 AM


All times are GMT -4. The time now is 01:21 PM.


MobileRead.com is a privately owned, operated and funded community.