New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
acolwill
Old
(Last edited by acolwill; 24th January 2011 at 07:55 AM.)
#1  
acolwill's Avatar
Senior Member - OP
Thanks Meter 59
Posts: 240
Join Date: Dec 2008
Location: In your bank, sharding your purplz
Default TaBackup & EasyKernel Backup and Restore

Since we have a lot of users here with no real means of doing automated proper backups of their tabs outside of ClockworkMod, or manual backups using RotoBackup, I've decided to release my implementation of a backup routine to XDA.

It's based upon RotoBackup and thus requires full SU access on your Tab.
It also requires Heimdall and ADB to be working if you wish to restore a backup fully.
The routine currently only supports RFS filesystems, EXT4 support may be added later!

I have tested this as much as I can, and I do hope that it works for everyone who tries it.

It is windows only, however if someone wishes to redo the script as a shell script feel free!

--

Down to the attachments.

TaBackup.zip
- TaBackup.cmd : Full tab backup and restore script
- KernelBackup.cmd : Kernel backup and restore script

GTab-Heimdall_1.1.1.7z
- WORKING Heimdall 1.1.1 which is required if you wish to RESTORE
- WORKING USB drivers for DOWNLOAD MODE, required for Heimdall

Both freely available from https://github.com/Benjamin-Dobell/Heimdall

Extract the zip to a directory, preferred directories are;
C:\GalaxyTab\Backups for TaBackup.cmd
C:\GalaxyTab\KernelBackup for KernelBackup.cmd

You _can_ change these defaults by editing the script and changing line 8

You need ADB WORKING, either from the same directory as TaBackup, or from your system PATH

Due to the hasty modification of TaBackup last night to create KernelBackup, there is legacy code floating around which requires heimdall.exe to be present in the same directory as the backups... I may change this at a later date.

It IS possible to have both backup locations the same, e.g. C:\TaBackup
with both scripts in that directory, with Heimdall. You just have to remember which backup directory is just a kernel backup only.

--

Good luck, and happy hunting!

--

Changelogs:

TaBackup 0.5

First public release
Various logic fixes
Idiotic spelling mistake which prevented a restore!

KernelBackup 0.1

First public release
Attached Files
File Type: zip TaBackup.zip - [Click for QR Code] (5.2 KB, 466 views)
File Type: 7z GTab-Heimdall_1.1.1.7z - [Click for QR Code] (7.88 MB, 470 views)
Get 500mb extra Dropbox space! Sign up here...

Phone History: Various Nokia's -> HTC Touch Diamond -> HTC Hero -> HTC Desire -> ZTE Blade -> Samsung Galaxy SII
Tablet History: Samsung Galaxy Tab GT-P1000 -> Samsung Galaxy Tab GT-P6200



The Following 3 Users Say Thank You to acolwill For This Useful Post: [ Click to Expand ]
 
acolwill
Old
#2  
acolwill's Avatar
Senior Member - OP
Thanks Meter 59
Posts: 240
Join Date: Dec 2008
Location: In your bank, sharding your purplz
Reserved for Future Use
Get 500mb extra Dropbox space! Sign up here...

Phone History: Various Nokia's -> HTC Touch Diamond -> HTC Hero -> HTC Desire -> ZTE Blade -> Samsung Galaxy SII
Tablet History: Samsung Galaxy Tab GT-P1000 -> Samsung Galaxy Tab GT-P6200



 
o_tiger
Old
#3  
o_tiger's Avatar
Senior Member
Thanks Meter 82
Posts: 304
Join Date: Mar 2010
Location: Zürich
Perfect - will try!

Sent from my GT-P1000 using Tapatalk
 
cbb77
Old
#4  
cbb77's Avatar
Senior Member
Thanks Meter 45
Posts: 168
Join Date: Nov 2010
Location: Massachusetts
Thanks! This saved me from creating a script myself. I am anal about backups so this is perfect. So far I have only tested the standard backup (it's running as I type this and then will test the Kernel as well. One thing to note, the script requires that you adb installed / path defined in your system variables. Originally it would not work for me as I continued to get unknown command. I have successfully used adb commands to execute the backup before, but only executed it straight from the directory where I had adb installed. Once I added the path to adb in my system variables then it worked great.
 
acolwill
Old
#5  
acolwill's Avatar
Senior Member - OP
Thanks Meter 59
Posts: 240
Join Date: Dec 2008
Location: In your bank, sharding your purplz
Ah yes, ADB pathing :|

I may try and do some rudimentary checks in the scripts for ADB
Get 500mb extra Dropbox space! Sign up here...

Phone History: Various Nokia's -> HTC Touch Diamond -> HTC Hero -> HTC Desire -> ZTE Blade -> Samsung Galaxy SII
Tablet History: Samsung Galaxy Tab GT-P1000 -> Samsung Galaxy Tab GT-P6200



 
futuregerald
Old
#6  
futuregerald's Avatar
Senior Member
Thanks Meter 20
Posts: 309
Join Date: Jun 2007
Location: Bronx
You said ext4 not supported, does this mean that if right now I back up while using rfs and I convert to ext4 I will not be able to restore my backup that was made on rfs? Or only that it won't backup and restore ext4

Sent from my SPH-P100 using XDA App
HTC Wizard - retired
HTC Tytn - retired
iPhone 3G - retired
iPhone 3GS - retired
Nexus One - retired
Motorola Atrix -retired
Samsung Galaxy S2 Skyrocket - retired
Sony Xperia Play - current
HTC One XL - retired
Samsung Galaxy Note 2 - retired
HTC One - current
-----------
Samsung Galaxy Tab 7" - retired
Motorola Xoom WiFi - retired
Kindle Fire - retired
Google Nexus 7 - current
Tags
backup, galaxytab, heimdall, windows

XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more