Fiona McGinnes
Posts: 0
Joined: Tue Jun 30, 2015 5:04 pm

Error when importing from backup

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Error when importing from backup

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...).

Fiona McGinnes
Posts: 0
Joined: Tue Jun 30, 2015 5:04 pm

Error when importing from backup

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Error when importing from backup

Hello Fiona,

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

Fiona McGinnes
Posts: 0
Joined: Tue Jun 30, 2015 5:04 pm

Error when importing from backup

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.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Error when importing from backup

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

Fiona McGinnes
Posts: 0
Joined: Tue Jun 30, 2015 5:04 pm

Error when importing from backup

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?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Error when importing from backup

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...

Fiona McGinnes
Posts: 0
Joined: Tue Jun 30, 2015 5:04 pm

Error when importing from backup

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!

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Error when importing from backup

Hello Fiona,

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

Return to “Issues”