summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/developing/tools
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2010-06-25 15:55:57 -0700
committerScott Main <smain@google.com>2010-06-28 12:28:31 -0700
commit337b0873f43eac5f23483bec94bd8729f79d47ec (patch)
treeab0b679e71cc43a5c22a008a5466fe687a1b54ab /docs/html/guide/developing/tools
parent56c778e6cfb2bd47ceae57d81e6b949da306e2e8 (diff)
downloadframeworks_base-337b0873f43eac5f23483bec94bd8729f79d47ec.zip
frameworks_base-337b0873f43eac5f23483bec94bd8729f79d47ec.tar.gz
frameworks_base-337b0873f43eac5f23483bec94bd8729f79d47ec.tar.bz2
docs: update backup guide and bmgr tool
elaborate the guide to testing a backup agent and add links between the docs Change-Id: I35f815d1848c6bd7c6bfaee214f333e35a6cb23c
Diffstat (limited to 'docs/html/guide/developing/tools')
-rw-r--r--docs/html/guide/developing/tools/bmgr.jd13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/html/guide/developing/tools/bmgr.jd b/docs/html/guide/developing/tools/bmgr.jd
index 2f49532..57deb25 100644
--- a/docs/html/guide/developing/tools/bmgr.jd
+++ b/docs/html/guide/developing/tools/bmgr.jd
@@ -15,6 +15,11 @@ page.title=bmgr
<li><a href="#other">Other Commands</a></li>
</ol>
+ <h2>See also</h2>
+ <ol>
+ <li><a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a></li>
+ </ol>
+
</div>
</div>
@@ -26,6 +31,9 @@ and restore operations so that you don't need to repeatedly wipe data or take si
intrusive steps in order to test your application's backup agent. These commands are
accessed via the <a href="{@docRoot}guide/developing/tools/adb.html">adb</a> shell.
+<p>For information about adding support for backup in your application, read <a
+href="{@docRoot}guide/topics/data/backup.html">Data Backup</a>, which includes a guide to testing
+your application using {@code bmgr}.</p>
<h2 id="backup">Forcing a Backup Operation</h2>
@@ -90,6 +98,8 @@ will happen even if your application is not currently running.
<h2 id="other">Other Commands</h2>
+<h3>Wiping data</h3>
+
<p>The data for a single application can be erased from the active data set on demand. This is
very useful while you're developing a backup agent, in case bugs lead you to write corrupt data
or saved state information. You can wipe an application's data with the <code>bmgr wipe</code>
@@ -102,6 +112,9 @@ you wish to
erase. The next backup operation that the application's agent processes will look as
though the application had never backed anything up before.
+
+<h3>Enabling and disabling backup</h3>
+
<p>You can see whether the Backup Manager is operational at all with the <code>bmgr
enabled</code> command: