cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

SOLVED
PSTyler
Occasional Contributor

Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

After recent upgrade of 3.0.0 some of my existing projects from 2.7.0 version got corrupted and luckily I have those in project.xml.backup format. How can I import those project with back up file in 2.7.0 ?

1 ACCEPTED SOLUTION

Accepted Solutions
sonya_m
Community Manager

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

@PSTyler it is really sad to hear that!

 

I found the support ticket, so let me quote it here for reference.

Here's what our Support Team suggests to prevent projects from getting corruped:

 

>>

One way to avoid work loss is to use a composite project and check it into a Git version control system such as GitHub or BitBucket. ReadyAPI integrates with Git based version control systems to save composite projects. Below is the documentation on the Git integration in ReadyAPI.

https://support.smartbear.com/readyapi/docs/integrations/git/index.html

<<

 

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

7 REPLIES 7
richie
Community Hero

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

Hi @PSTyler,

I create backups also as i dont use version control.
Someone else posted the same question on the soapui forum last year and it didnt get answered, but i always assumed that you'd just remove the .backup extension (leaving the .xml extension) and that would work.
The other post indicates they tried removing the .backup as i would expect but they said it didnt work.

I havent found any other details indicating how to load a backup, and i'll see if i can load a backup later when im in front of my laptop. If it doesnt work and noone answers before i get back i'll do a compare of my backup against the genuine copy and see whats what to try and resolve.

Nice one

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
PSTyler
Occasional Contributor

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

I tried to remove.backup and then try to import file it still gives me an error Invalid project file.

richie
Community Hero

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

Hi @PSTyler,

Does it actually say the file is "invalid"?
If it reports the file is invalid it probably means its malformed.

I'll look later. Have you tried verifying if the file is wellformed?

Cheers,

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
richie
Community Hero

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

Hi @PSTyler 

 

Rigth - I just compared one of my backup files to the original copy and  hte files are identical - so loading in a backup should work fine.

 

considering youre getting a message saying the file is invalid when you try and load it in - I would suggest that both your original file and the backup file has become corrupted in some way causing the .xml to become malformed.

 

Can you launch the project file (or backup) using a browser (or XMLSpy) or any other application that includes an XMLParser?  that'll be the check to confirm if the files are actually malformed from an XML wellformed rules perspective and we can then determine how to fix the corruption

 

nice one

 

rich

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
sonya_m
Community Manager

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

Thank you for the investigaion richie.

 

@PSTyler was the issue solved? If you still need help from the ReadyAPI Community, please let us know.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
PSTyler
Occasional Contributor

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

I open a Case with support with Case #00424136 and they were not able to recover file as there's a bug in Ready API when you open two instances of 2.7.0 and 3.0.0. So lost my poroject as file were corrupted during auto save.

sonya_m
Community Manager

Re: Not able to import project.xml.backup file in 2.7.0 as well in 3.0.0

@PSTyler it is really sad to hear that!

 

I found the support ticket, so let me quote it here for reference.

Here's what our Support Team suggests to prevent projects from getting corruped:

 

>>

One way to avoid work loss is to use a composite project and check it into a Git version control system such as GitHub or BitBucket. ReadyAPI integrates with Git based version control systems to save composite projects. Below is the documentation on the Git integration in ReadyAPI.

https://support.smartbear.com/readyapi/docs/integrations/git/index.html

<<

 

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors