Page 1 of 2

Error when importing from backup

Posted: Tue Jun 30, 2015 5:08 pm
by Fiona McGinnes

I am trying to import a project from a backup file, but get the error message:

Import project backup fail: BackupManager wrong format backup - metadata is missing.


Error when importing from backup

Posted: Tue Jun 30, 2015 5:39 pm
by Serhii Kulibaba

Hello Fiona,

Did you change anything in the backup? Could you send it to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? Also please provide us with a public app link to your app (http://devcenter.appery.io/documentat...).


Error when importing from backup

Posted: Tue Jun 30, 2015 5:55 pm
by Fiona McGinnes

I have sent the backup file by email. I didn't alter the file.

I can't send you a link as I don't have the app loaded in appery.


Error when importing from backup

Posted: Tue Jun 30, 2015 6:28 pm
by Evgene Karachevtsev

Hello Fiona,

Could you please clarify was our app built in old or new version of the builder?


Error when importing from backup

Posted: Tue Jun 30, 2015 9:25 pm
by Fiona McGinnes

I don't know how to tell which version of the builder I am using. I just log into appery and use whatever version loads automatically.


Error when importing from backup

Posted: Thu Jul 02, 2015 2:32 pm
by Alena Prykhodko

Manual changes were made in your back up.
Fixed backup sent via email.


Error when importing from backup

Posted: Fri Jul 03, 2015 2:41 pm
by Fiona McGinnes

Thanks very much for your help, that worked.

Now I need to load the image files. I have the 'file' folder exported from my old database. It contains 104 image files which the application uses. They have been renamed by appery like this:

0a9984a9-8e38-4855-ad98-f4b8fec94e83.broad-beanscopy.gif

Is there a way of uploading all of the files in one go?


Error when importing from backup

Posted: Sat Jul 04, 2015 3:51 am
by Illya Stepanov

You want to upload into your project or database?

Multiple files can be uploaded into Appery.io database using our app example here: https://devcenter.appery.io/tutorials...


Error when importing from backup

Posted: Sat Jul 04, 2015 7:17 am
by Fiona McGinnes

All I am trying to do is copy an appery app + database (including files) from one appery user account to another. Below is how I am doing it. Please tell me if there is an easier way (for example, you can simply export a whole project and then import it; is there a similar way to export a whole database and then import it?)

First, I restored my project from backup to a new username. I then created a new database owned by the new username and uploaded each json file from the old database to create the collections in the new database.

The project then ran ok but was missing all of the images that the original app used. There are over 100 images. The app contains pointers to the images but the images are not found when I run the app, because they are not present in the new database.

When I exported the old database it created a folder in the zip file called 'file' which contains all of the images. They have long names because appery has prepended an id to each file's name. I would like to move the contents of the 'file' folder to the new database, without renaming any of the images (because otherwise the app won't see them).

I have tried uploading each image in turn to the new database but then the app does not find the images because appery prepends another id to each image's file name. I then have to alter the app to find each new image. This is extremely time consuming.

So I am asking if there is a simpler way of moving all of the images from the old database to to the new database without renaming them.

Sorry this is long!


Error when importing from backup

Posted: Sat Jul 04, 2015 2:46 pm
by Evgene Karachevtsev

Hello Fiona,

You may export your collection to json or csv file and then import it to another db
Image