Titanium and an External SD Card - Captivate General

I use MyBackup Pro and it can store its backups on an external SD card. I've searched but haven't been able to discover if Titanium has this same capability. If a phone needs to be replaced, what good is it to have the backup internally? I know I can perform a copy of the TitaniumBackup folder to my external SD card (or my PC) along with its files, but can it be done automagically as a program option during the backup?
Titanium allows you to change the name of the backup folder, so I went so far as to keep the TitaniumBackup folder name but point the folder location to the SD card (\sdcard\sd). No luck...unless my syntax is wrong.
So, in summary, I want to have the Titanium Backups deposited on my external SD card as part of the normal, one-step backup process. If it can't be done, I wonder why it hasn't been implemented as an option since it seems logical (at least to me ).

oh yes i would like this too, but can it be done?

Drop the sdcard and use a relative path. I have several directories on my external card. I have a main titanium directory with subdirectories for the roms I load..for example here's my current path:
sd/TitaniumBackup/JH7

Raleran said:
Drop the sdcard and use a relative path. I have several directories on my external card. I have a main titanium directory with subdirectories for the roms I load..for example here's my current path:
sd/TitaniumBackup/JH7
Click to expand...
Click to collapse
Thank you! I just heard back from the developer and was about to post his reply (which equals yours). My backup is now at sd/TitaniumBackup.
For others, here's what you do - assuming you're using an external SD card. In Titanium's preferences change the backup folder name to sd/TitaniumBackup. If you need to exchange your device you can then put your SD card in your new phone and restore the backups contained therein.
Don't forget to delete the existing backups and TitaniumBackup folder that's, by default, internal to your phone. Then create your "portable" backups.

so after you make the change, when you open up and see stats page, backup directory should say: /sdcard/sd/titaniumbackup ?

clueless captivate said:
so after you make the change, when you open up and see stats page, backup directory should say: /sdcard/sd/titaniumbackup ?
Click to expand...
Click to collapse
Yes, plus the first two directory items should read:
Data directory: /data
External storage: /sdcard (ok)

Related

Titanium backup question

Newly rooted xoom and have free Titanium backup installed and would like to backup to sd card but I cannot find an option to backup to the sd card. It is backing up to /mnt/sdcard/titaniumbackup now.
I cannot find an option to change it to the external sd card.
texasez said:
Newly rooted xoom and have free Titanium backup installed and would like to backup to sd card but I cannot find an option to backup to the sd card. It is backing up to /mnt/sdcard/titaniumbackup now.
I cannot find an option to change it to the external sd card.
Click to expand...
Click to collapse
Create the folder on your sdcard first, then go to the options menu, backup folder...hit detect. It should detect the other folder then. If not you may have to backup a file and move it into the new folder first, then hit detect.
Sent From My Evo
Preferences, Backup Location, change to /sdcard/external/TitaniumBackup
Spaces are not supported.
I emailed TB support and found that I could hit the soft back key on the zoom and it would see all the files instread the few on the screen. I then found the file I would to backup in /mnt/sdcard/external and TB created the backup file there.
The key was finding that I could search for the file using the soft "back" button.

[MIUI] 6Gb of "misc" data. OK to delete?

I've had a couple different ROMs on this phone; mostly different versions of ARHD and finally MIUI.
Looking at MIUI's file explorer I see there's 6Gb of data in the "Misc" folder. Most of the file extensions appear to be: img, tar, idx, dat, xml, and a ton of files too long to read the extension.
Since 6Gb is a fairly sizeable chunk of storage on a phone, is it okay to delete this stuff?
Explore your SD card on your computer. Make sure nothing in that folder is of any relevance to you
mouzaihem said:
Explore your SD card on your computer. Make sure nothing in that folder is of any relevance to you
Click to expand...
Click to collapse
Well that's just it. When I explore the SD card there is no "Misc" folder. The "Misc"- as shown in the File Explorer- is a way of categorizing all the data. The actual files within that Misc catergory are all over the SD card so not only do I not know what each file is associated to but i have no idea where it exists in the SD card.
I did delete three CWM backups which freed up an additional 3Gb.
OKors said:
Well that's just it. When I explore the SD card there is no "Misc" folder. The "Misc"- as shown in the File Explorer- is a way of categorizing all the data. The actual files within that Misc catergory are all over the SD card so not only do I not know what each file is associated to but i have no idea where it exists in the SD card.
I did delete three CWM backups which freed up an additional 3Gb.
Click to expand...
Click to collapse
Misc can be a lot of things including backups like you mentioned like was mentioned explore your sd card for folders you might not need and go look at them for example titanium backup if you allow multiple backups probably takes a lot of space. However I would suggest trimming backups within titanium backup app itself
"misc" maybe includes your game's database, app's data, nandroid backup, titanium backup’s backup, and things other than those 8 items.
so have a look at your sdcard and try to recognize those files.
-=JohnDoe=- said:
"misc" maybe includes your game's database, app's data, nandroid backup, titanium backup’s backup, and things other than those 8 items.
so have a look at your sdcard and try to recognize those files.
Click to expand...
Click to collapse
If you goto the misc folder, sort by size, scroll to the largest files, press and hold a file, then select goto location, you can work through the largest most troublesome files first...
I have the same problem. My misc folder is 19GB. I made factory reset, even download a zip file for wipeing misc and it's still there. What should I do to remove the misc?
here is your solution
i had the same problem, also with MIUI.
i found this post and the solution was to clean all backups from withing CWM (you can use ROM manager as well).
the post with the solution:
http://forum.xda-developers.com/showthread.php?p=45964385#post45964385
good luck.
OKors said:
I've had a couple different ROMs on this phone; mostly different versions of ARHD and finally MIUI.
Looking at MIUI's file explorer I see there's 6Gb of data in the "Misc" folder. Most of the file extensions appear to be: img, tar, idx, dat, xml, and a ton of files too long to read the extension.
Since 6Gb is a fairly sizeable chunk of storage on a phone, is it okay to delete this stuff?
Click to expand...
Click to collapse
In my case, on a factory ROM, this "misc" was my music... I cleared it, not knowing this at the time, and my music was gone.
Not the end of the world as it was on my PC, but a pain nonetheless!

[Q] Titanium Backup to Removable sd??

Has anyone been able to get Titanium backup to backup to the removable storage? It wont let me navigate to my ext sd and will only backup to the on device storage! Can copy and paste to ext whenever I want to clean install a rom but kind of a pain!
mike1984jr said:
Has anyone been able to get Titanium backup to backup to the removable storage? It wont let me navigate to my ext sd and will only backup to the on device storage! Can copy and paste to ext whenever I want to clean install a rom but kind of a pain!
Click to expand...
Click to collapse
First create a new folder on your sd card then copy all the backups to your new folder on the sd card.
1. Open Tibu, tab on the 3 stacked little boxes(most top right of the screen),
2. Select "preferences" from the drop down, scroll down to "backup folder location", tab to open,
3. Then tab on "detect" button, then tab on "whole device" button and it will find your new folder location,
4. Then hit the back button to bring you back to previous screen, your new path displayed and you tab on "use the current folder". you done.
If you've never made a backup, then you need to do the following:
In TiBu, Settings --> Preferences --> Backup folder location. Use the back key to navigate to /, then go to /Removable/MicroSD and then you can create a folder in there and use it as your backup location.
Took me a bit of a while to find the location.
johnlgalt said:
If you've never made a backup, then you need to do the following:
In TiBu, Settings --> Preferences --> Backup folder location. Use the back key to navigate to /, then go to /Removable/MicroSD and then you can create a folder in there and use it as your backup location.
Took me a bit of a while to find the location.
Click to expand...
Click to collapse
+1
This is how I got mine working.
johnlgalt said:
If you've never made a backup, then you need to do the following:
In TiBu, Settings --> Preferences --> Backup folder location. Use the back key to navigate to /, then go to /Removable/MicroSD and then you can create a folder in there and use it as your backup location.
Took me a bit of a while to find the location.
Click to expand...
Click to collapse
this solved my Tibu to ext sd card problem .. also off topic appreciate all your work for Bionic.... John Galt.. . rooted ics .232
You're welcome, and thanks in return for the props. I do what I can
Sorry to hijack this thread but I have a weird issue with Titanium Backup - have the paid version...
I want to set my preferred backup location to be on the micro SD but when I navigate to it Titanium backup says it is not writable and that the folder is empty.
I can write files toitin other apps and it is most definitely not empty, I have the install files for the ROM I'm using stored on it.
The ROM is CROMi-Xenogenesis 4.7.0- 10.16.1.14.8/WW DEODEX
Kernel is 3.1.10-hundsbuah-v3.4.5-oc-gaa752e8-dirty
Any ideas?
dang
berndblb said:
dang
Click to expand...
Click to collapse
I guess that means you're stumped on that one then
fatboyinlycra said:
I guess that means you're stumped on that one then
Click to expand...
Click to collapse
No, I posted in the wrong thread
How's the card formatted?
Sent from my K00C using Tapatalk
berndblb said:
No, I posted in the wrong thread
How's the card formatted?
Sent from my K00C using Tapatalk
Click to expand...
Click to collapse
FAT32.
It's a 64Gig SANDisk but it also happens on a 4gig and a 1 gig card, both of which are made by Kingston. Oddly enough every other app that writes data can write to these cards. It's only Titanium (paid version too) that seems to think the card is not writeable
Just upgraded to Cromi 5.4, still using Hunds F2FS kernel, but the issue still remains - cannot configure Titanium Backup to write to any Micro SD.
Anyone got any ideas?
ES File Explorer, the simple file explorer and other apps can all write to this card but not Titanium
fatboyinlycra said:
Just upgraded to Cromi 5.4, still using Hunds F2FS kernel, but the issue still remains - cannot configure Titanium Backup to write to any Micro SD.
Anyone got any ideas?
ES File Explorer, the simple file explorer and other apps can all write to this card but not Titanium
Click to expand...
Click to collapse
I have exact setup as your and tibu is working fine for me.

TWRP lost my files

I have a XT1033
I've done a nandroid backup, complete with data.
I use AppLock. It has a Photo Vault feature, where you send your pictures you want to hide. I've put many photos there.
I've installed a custom rom over stock 4.4.4
So I did the Nandroid and then format. After that, installed the new rom.
Then I recovery AppLock with TitaniumBackup
Photos gone.
Then I recover that Nandroid backup, absolutely certain that there's no way my files would be gone with a Nandroid backup.
I open AppLock Photo Vault and.... nothing there.
I go to ES file explorar and try to find the files in the .dom0o7b1ile Applock's folder located in sdcard/0/
The directories are all there, but no pictures.
So please someone give some light on what the hell is going on here?? How could the nandroid miss the .XXXX directory??
thanks!
TWRP's data backup excludes the emulated sdcard. TWRP's "factory reset" also excludes the emulated sdcard. But if you format, it will delete all your data, so you should have copied all important files from "internal storage" (aka emulated sdcard) to your computer before.
_that said:
TWRP's data backup excludes the emulated sdcard. TWRP's "factory reset" also excludes the emulated sdcard. But if you format, it will delete all your data, so you should have copied all important files from "internal storage" (aka emulated sdcard) to your computer before.
Click to expand...
Click to collapse
If I get it right, /0 = emulated sdcard? What's the usage of this emulated sdcard? I don't understand how it doesn't backup that since all user files go there? You do a Nandroid backup to backup everything...
fscussel said:
If I get it right, /0 = emulated sdcard?
Click to expand...
Click to collapse
Yes, /data/media or /data/media/0.
fscussel said:
What's the usage of this emulated sdcard?
Click to expand...
Click to collapse
User-managed storage space with no specific per-app permissions.
fscussel said:
I don't understand how it doesn't backup that since all user files go there?
Click to expand...
Click to collapse
On some devices that's the only backup target (with no physical microSD card and no OTG storage), and it often contains a lot of data that you don't want to back up regularly.
fscussel said:
You do a Nandroid backup to backup everything...
Click to expand...
Click to collapse
...that is not easily copied to the PC by other means (e.g. MTP).
_that said:
Yes, /data/media or /data/media/0.
User-managed storage space with no specific per-app permissions.
On some devices that's the only backup target (with no physical microSD card and no OTG storage), and it often contains a lot of data that you don't want to back up regularly.
...that is not easily copied to the PC by other means (e.g. MTP).
Click to expand...
Click to collapse
Man I don't understand this.
/0, is it a shortcut to some folder? Which folder?
How to explain that the directories in the AppLock folder (which name starts with a DOT I don't know the meaning) are all there, only the jpg files are missing? it creates a folder with coded name ex 8943228 for each picture it hides. All foders, one for each picture, are there, only the jpg files missing inside.
Also, since the /0 folder seems to be a shortcut, symbolic link, what-so-ever, is it possible that the files still exists?
So did you format /data or not?
_that said:
So did you format /data or not?
Click to expand...
Click to collapse
I did only after the full Nandroid backup.
Then maybe your data hiding software recreated the directories based on information in app-private data that was restored with your backup. As I said, the emulated sdcard (shared storage) is not backed up as part of /data since whoever wrote that code assumed that users would back up that data by simply copying it elsewhere.
_that said:
Then maybe your data hiding software recreated the directories based on information in app-private data that was restored with your backup. As I said, the emulated sdcard (shared storage) is not backed up as part of /data since whoever wrote that code assumed that users would back up that data by simply copying it elsewhere.
Click to expand...
Click to collapse
But the strange thing is:
When I recover the backup that directory exists even without booting for the first time after restore... in TWRP file manager I go and the directories are there... but not the files... how can this be possible?
Also, since the emulated sdcard refer to a folder, which is that folder? is it a sym link?
???
fscussel said:
When I recover the backup that directory exists even without booting for the first time after restore... in TWRP file manager I go and the directories are there... but not the files... how can this be possible?
Click to expand...
Click to collapse
Not possible if you really formatted /data.
fscussel said:
Also, since the emulated sdcard refer to a folder, which is that folder? is it a sym link?
Click to expand...
Click to collapse
In Android, /sdcard is emulated by the sdcard daemon as a fuse filesystem using /data/media or /data/media/0 as backing storage. In TWRP it's just a bind mount.
_that said:
Not possible if you really formatted /data.
In Android, /sdcard is emulated by the sdcard daemon as a fuse filesystem using /data/media or /data/media/0 as backing storage. In TWRP it's just a bind mount.
Click to expand...
Click to collapse
But how can the directories exist after twrp recovery and not the files (if I really did format /data because I don't really remember) ?

TWRP backup including internal storage

We all know, at least I hope so, that if you perform a backup in TWRP the internal storage data (photos, documents, etc.) is not included in the backup.
https://twrp.me/faq/backupexclusions.html
Of course, you can always manually backup the internal storage. But it is possible to include the internal storage data in a TWRP backup by temporarily renaming the media folder inside the root folder data.
A TWRP backup includes the TWRP folder for it is part of the internal storage. Therefore it will also backup all the large files which are present. It is therefore more convenient to keep the TWRP folder as small as possible, but it is up to you.
1. Go into TWRP recovery.
2. The path is button advanced button file management within the data folder you will find the media folder. Rename the media folder
temporarily to e.g. ABC.
3. Perform a new backup in TWRP and give it a new name. Don't leave TWRP but enter file management again.
4. You will find a new media folder. This is because TWRP creates this media folder, it includes your new backup.
5. Your follow-up actions will be to rename the new media folder into e.g. DEF and rename the temporary folder ABC (which is the original media folder)
back to media.
6. Restart your system and now you find a TWRP backup including internal storage in the DEF folder. Move this backup to the TWRP folder and delete
the DEF folder.
Thats it.
Do not forget when you perform a recovery with this backup to repeat step 6.
update:
20180321-111816
OK I found another post, using same method but used examples.
Indeed they are using same method,
and I would like to thank OP and that post's OP.
both help to "include internal storage into TWRP backup".
thanks~
https://forum.xda-developers.com/android/general/tutorial-create-internal-storage-backup-t3389172
--------------------------------------------------
Can you write in more simple english?
I really dont understand the details.
It will help with examples, with the full path instead of just "ABC" "DEF"
Thank you.
Good looking out OP. Never know when I may need this. :good:
a very good guide
you can always use
thanks for your effort! if you like you can test my solution
Universal-TWRP-Bind-Mount-Enabler.zip (do not flash!)
Thanks mart56, I am looking for this for some time and now i got right solution. it's really help me with internal storage backup.
Excellent
If backing up to external SD Card, media directory is not created, so just rename it back after the backup process. If rebooted without renaming back, then it recreates media directory.
.
I was looking for full back up solution and found this: https://www.xda-developers.com/tipatch-patches-twrp-full-data-backups/
Both options have drawbacks... I dont like wipe data option in TWRP to delete data including storage .
---------- Post added at 01:15 PM ---------- Previous post was at 01:02 PM ----------
mart56 said:
We all know, at least I hope so, that if you perform a backup in TWRP the internal storage data (photos, documents, etc.) is not included in the backup.
https://twrp.me/faq/backupexclusions.html
Of course, you can always manually backup the internal storage. But it is possible to include the internal storage data in a TWRP backup by temporarily renaming the media folder inside the root folder data.
A TWRP backup includes the TWRP folder for it is part of the internal storage. Therefore it will also backup all the large files which are present. It is therefore more convenient to keep the TWRP folder as small as possible, but it is up to you.
1. Go into TWRP recovery.
2. The path is button advanced button file management within the data folder you will find the media folder. Rename the media folder
temporarily to e.g. ABC.
3. Perform a new backup in TWRP and give it a new name. Don't leave TWRP but enter file management again.
4. You will find a new media folder. This is because TWRP creates this media folder, it includes your new backup.
5. Your follow-up actions will be to rename the new media folder into e.g. DEF and rename the temporary folder ABC (which is the original media folder)
back to media.
6. Restart your system and now you find a TWRP backup including internal storage in the DEF folder. Move this backup to the TWRP folder and delete
the DEF folder.
Thats it.
Do not forget when you perform a recovery with this backup to repeat step 6.
Click to expand...
Click to collapse
As I understand our media should be back up in ABC. So during recovery after "format data" or "wipe including internal storage" it will restore our media in ABC folder, do we need to rename it back to media using TWRP to complete recovery?
My understanding is that internal storage will stay in ABC, and not be visible when boot in System(not doing step 5). In system we will have the newly created media empty (because we can not do step 6 DEF folder is actual internal storage and will not be included in back up).
So do you mean that we need to do step (5) after recovery? Not step (6)?
useless
whenever i tried to take a backup,the same error pops up,even after following ur instructions.so ur post is useless for me.
Guys, does anybody know, why twrp doesn't see an option data including storage (large sd needed) while I am trying to restore it? It definitely is present in the backup
I followed this guide and the backup size is 28591MB (boot, data, system). However, the internal memory of my S4mini is only 8GB. How can the /data/media folder be bigger than the internal memory? It is not stored on the external sd card is it?
UPDATE: I deleted the /data/media/0/DCIM/.thumbnail folder and now the backup is only 4950MB
V helpful and useful tip Thanks

Categories

Resources