Backup/restore of forms

I have a question about Collect.

It's clear that you can perform a backup (when there is no internet
connectivity) by copying the instance data from the phone via USB onto some
other kind of storage. However, throwing that data onto a different device
(with ODK installed) doesn't work as expected. The instance data doesn't
show up under the "Send Completed Data" menu.

Are there any work arounds to this? We're looking into potentially backing
up phone data in the field, in the event that a phone gets
stolen/lost/damaged we would still like to send the data via the odk collect
-> route.

-Anton

Ah, there's a database with metadata about the instances (completed,
incomplete, submitted, etc...) that is read to populate the menus for the
instance data and 'send completed' (since you can only send 'complete'
forms). Right now that database lives on the device's internal storage, but
it might make more sense to move it into the instances folder so if you copy
that folder all the info goes with it. The downside is that copying a
single instance would still have the same problem.

File a bug. We'll have to think about how to make that more seamless.
-Carl

··· On Thu, Jun 3, 2010 at 9:55 AM, Anton de Winter wrote:

I have a question about Collect.

It's clear that you can perform a backup (when there is no internet
connectivity) by copying the instance data from the phone via USB onto some
other kind of storage. However, throwing that data onto a different device
(with ODK installed) doesn't work as expected. The instance data doesn't
show up under the "Send Completed Data" menu.

Are there any work arounds to this? We're looking into potentially backing
up phone data in the field, in the event that a phone gets
stolen/lost/damaged we would still like to send the data via the odk collect
-> route.

-Anton

Ok, thanks for the quick reply. I think for our immediate needs what we'll
do is just write a script to send the files from a pc if we have to, since
uploading doesn't seem to require the meta data saved in the DB.

··· On Thu, Jun 3, 2010 at 1:07 PM, Carl Hartung wrote:

Ah, there's a database with metadata about the instances (completed,
incomplete, submitted, etc...) that is read to populate the menus for the
instance data and 'send completed' (since you can only send 'complete'
forms). Right now that database lives on the device's internal storage, but
it might make more sense to move it into the instances folder so if you copy
that folder all the info goes with it. The downside is that copying a
single instance would still have the same problem.

File a bug. We'll have to think about how to make that more seamless.
-Carl

On Thu, Jun 3, 2010 at 9:55 AM, Anton de Winter adewinter@dimagi.comwrote:

I have a question about Collect.

It's clear that you can perform a backup (when there is no internet
connectivity) by copying the instance data from the phone via USB onto some
other kind of storage. However, throwing that data onto a different device
(with ODK installed) doesn't work as expected. The instance data doesn't
show up under the "Send Completed Data" menu.

Are there any work arounds to this? We're looking into potentially
backing up phone data in the field, in the event that a phone gets
stolen/lost/damaged we would still like to send the data via the odk collect
-> route.

-Anton

It doesn't matter how the instances are transmitted to the SD card-- if they
weren't created on that phone they won't appear in the 'send completed' or
'review saved' data menus. This isn't something we thought of before, but
something we definitely need to fix.

··· On Thu, Jun 3, 2010 at 10:15 AM, Anton de Winter wrote:

Ok, thanks for the quick reply. I think for our immediate needs what we'll
do is just write a script to send the files from a pc if we have to, since
uploading doesn't seem to require the meta data saved in the DB.

On Thu, Jun 3, 2010 at 1:07 PM, Carl Hartung carlhartung@gmail.comwrote:

Ah, there's a database with metadata about the instances (completed,
incomplete, submitted, etc...) that is read to populate the menus for the
instance data and 'send completed' (since you can only send 'complete'
forms). Right now that database lives on the device's internal storage, but
it might make more sense to move it into the instances folder so if you copy
that folder all the info goes with it. The downside is that copying a
single instance would still have the same problem.

File a bug. We'll have to think about how to make that more seamless.
-Carl

On Thu, Jun 3, 2010 at 9:55 AM, Anton de Winter adewinter@dimagi.comwrote:

I have a question about Collect.

It's clear that you can perform a backup (when there is no internet
connectivity) by copying the instance data from the phone via USB onto some
other kind of storage. However, throwing that data onto a different device
(with ODK installed) doesn't work as expected. The instance data doesn't
show up under the "Send Completed Data" menu.

Are there any work arounds to this? We're looking into potentially
backing up phone data in the field, in the event that a phone gets
stolen/lost/damaged we would still like to send the data via the odk collect
-> route.

-Anton