Plesk 9.0 Backup Restore [ This file is not a valid backup file. ]

Discussion in 'Parallels Plesk Panel 9.x for Windows Problems, Suggested Fixes, and How-To' started by winproxy, Jan 7, 2009.

  1. winproxy

    winproxy New Member

    Messages:
    3
    Hello
    I want to install Backup files which I have from Plesk 8.6, to my new server. But Backup files are unknown on the part of Server Repository. I get an error like ‘This file is not a valid backup file’.

    The order that i use and an error that i get:

    C:\Program Files\SWsoft\Plesk\admin\bin>pre9-backup-convert.exe --source="D:\Plesk_Backups\backup-0.psa" --destination="C:\Program Files\SWsoft\Plesk\Backup"

    Unexpected name of pinfo: news_dismissednews_dismissed

    Created dump:
    converted_info_0901061510.xml

    How can i install backup files?
    Thank you for your attention...

    Attached Files:

  2. jamescrown

    jamescrown New Member

    Messages:
    82
    I have not been able to sucessfully convert older PSA to new XML backup. One of the many bugs...
  3. redkit

    redkit New Member

    Messages:
    3
    Same Problem...
    Old backup sytem more usefull.
  4. jamescrown

    jamescrown New Member

    Messages:
    82
    I wish they kept the old backup program. I am currently unable to generate new backups, restore old backups, or convert PSA backups... I'm pretty much screwed if the drive fails. It really makes me regret upgrading to 9.0 at all. I would downgrade but there is no XML -> PSA that i know of.

    Does anyone know the reasons for the major change? Is it because of the newly added resellers? Is Plesk trying to be more 2008ish with XMLs?

    Can we get a fix for this issue or at least a confirmation of the problem from someone @ parallels?
  5. kalss

    kalss New Member

    Messages:
    17
    So no fix for this? How can this happens ??? Now what? :-(
  6. sergius

    sergius New Member

    Messages:
    1,911
    Gentlemen,

    Please try to remove the tag <misc param="admin_news_dismissed" val="1" /> from info.xml.
  7. teckna

    teckna New Member

    Messages:
    50
    we have the "This file is not a valid backup file" problem.

    where should this info.xml be ?


    Ive updated the serve and did a locate "info.xml" but there are none outside sitebuilder files.

    we have a converted_info_0901142125.xml ?

    Andy
  8. jamescrown

    jamescrown New Member

    Messages:
    82
    I'm assuming the info.xml located in your backup.psa

    The funny thing is plesk no longer recognizes its own file extension .PSA because of this amazing upgrade to PPP 9.0.

    So to do what Sergius recommends you will need to rename backup.psa to backup.zip, extract the info.xml, modify it, add it to the archive again, then rename to backup.psa.
  9. Vitaly Malakhov

    Vitaly Malakhov Parallels Team

    Messages:
    11
  10. jamescrown

    jamescrown New Member

    Messages:
    82
    Vitaly Malakhov,

    Thank you for a hotfix regarding this issue. I can now create domain and client level backups.

    I attempted a full server backup and it created the proper backups for clients and domains, but when it got to resellers it failed causing the full server backup to fail.

    I'm running reseller backup now and for 20 minutes it sits at 0%... If you are going to force us to use the control panel for our backup gui, please make it show more details on what is being done.

    *update*

    I ran the following commands:

    "%plesk_bin%\dbclient" --direct-sql --sql="update hosting set fp_adm = lcase(fp_adm);"
    "%plesk_bin%\dbclient" --direct-sql --sql="update clients set login = lcase(login);"

    Still unable to perform full server backup or backup of reseller account.
  11. jamescrown

    jamescrown New Member

    Messages:
    82
    Reseller backups are working for me now but only if certain clients are added. I cannot figure out what the difference is between the clients that cause the backups to fail and the ones that work. As always plesk backup says "Backup log information is not available". Is there anyway to view the actual backup log errors in the plesk control panel?
  12. teckna

    teckna New Member

    Messages:
    50
    Ive given up and reverted to 8.6 to enable backups to be used across servers

    Im sure ill come back to V9 :)

    Andy
  13. jamescrown

    jamescrown New Member

    Messages:
    82
    Here is my exception:

    2432: Error 16/01/2009 16:57:18.800 : ---------------------- Exception start ------------------------
    2432: Error 16/01/2009 16:57:18.800 : Can not dump package for Site Application with id='28'
    2432: Error 16/01/2009 16:57:18.800 : psadumpagent.InformationalException: Can not dump package for Site Application with id='28' ---> psadumpagent.BUException: Can not find package in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    2432: Error 16/01/2009 16:57:18.800 : ---------------------- Exception end ------------------------


    mysql> select id,name from siteapppackages where id='28';
    +----+--------------+
    | id | name |
    +----+--------------+
    | 28 | AdvancedPoll |
    +----+--------------+
  14. jamescrown

    jamescrown New Member

    Messages:
    82
    I'm guessing this is due to the changes in the web applications for plesk 9 compared to plesk 8.6. As far as I can tell, the database shows a web app installed on this domain, however clicking web apps displays nothing.
  15. jamescrown

    jamescrown New Member

    Messages:
    82
    It seems there are some "obsoleted" items in the PSA that causes issues with backup. Plesk support couldn't tell me what these items were exactly. `php_isapi` is one. After manually removing things from the PSA I'm able to perform a full server backup.
  16. jamescrown

    jamescrown New Member

    Messages:
    82
    Migrated another 8.3 box to plesk 9 and here are the errors I receive when trying to perform a full server backup:

    rror 20/01/2009 11:28:37.454 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:28:37.454 : Could no backup template item 'php_isapi' with value ''
    1808: Error 20/01/2009 11:28:37.470 : psadumpagent.InformationalException: Could no backup template item 'php_isapi' with value '' ---> System.ArgumentException: Requested value 'php_isapi' was not found.
    at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
    at psa9dumpagent.PSADumpObject.getTemplateData(String templateId, CBoolean& shared, LogRotation& logRotation)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:28:37.470 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:28:37.876 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:28:37.876 : Can not dump package for Site Application with id='1'
    1808: Error 20/01/2009 11:28:37.876 : psadumpagent.InformationalException: Can not dump package for Site Application with id='1' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:28:37.876 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:28:56.376 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:28:56.376 : Can not dump package for Site Application with id='2'
    1808: Error 20/01/2009 11:28:56.376 : psadumpagent.InformationalException: Can not dump package for Site Application with id='2' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:28:56.376 : ---------------------- Exception end ------------------------

    Error 20/01/2009 11:28:56.392 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:28:56.392 : Can not dump package for Site Application with id='3'
    1808: Error 20/01/2009 11:28:56.392 : psadumpagent.InformationalException: Can not dump package for Site Application with id='3' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:28:56.392 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:28:56.392 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:28:56.392 : Can not dump package for Site Application with id='4'
    1808: Error 20/01/2009 11:28:56.392 : psadumpagent.InformationalException: Can not dump package for Site Application with id='4' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:28:56.392 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:28:56.392 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:28:56.392 : Can not dump package for Site Application with id='5'
    1808: Error 20/01/2009 11:28:56.392 : psadumpagent.InformationalException: Can not dump package for Site Application with id='5' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:28:56.392 : ---------------------- Exception end ------------------------
    rror 20/01/2009 11:35:07.329 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:35:07.329 : Cannot dump dns zone with id '0'
    1808: Error 20/01/2009 11:35:07.329 : psadumpagent.InformationalException: Cannot dump dns zone with id '0' ---> psadumpagent.BUException: Dns zone not found in the database!
    at psa9dumpagent.PSADumpObject.dumpDnsZone(String dnsZoneId, String[]& aclList)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:35:07.329 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:35:09.611 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:35:09.611 : Can not dump package for Site Application with id='6'
    1808: Error 20/01/2009 11:35:09.611 : psadumpagent.InformationalException: Can not dump package for Site Application with id='6' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:35:09.611 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:35:27.673 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:35:27.673 : Could no backup template item 'php_isapi' with value ''
    1808: Error 20/01/2009 11:35:27.673 : psadumpagent.InformationalException: Could no backup template item 'php_isapi' with value '' ---> System.ArgumentException: Requested value 'php_isapi' was not found.
    at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
    at psa9dumpagent.PSADumpObject.getTemplateData(String templateId, CBoolean& shared, LogRotation& logRotation)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:35:27.673 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:35:27.673 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:35:27.673 : Could no backup template item 'php_isapi' with value ''
    1808: Error 20/01/2009 11:35:27.673 : psadumpagent.InformationalException: Could no backup template item 'php_isapi' with value '' ---> System.ArgumentException: Requested value 'php_isapi' was not found.
    at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
    at psa9dumpagent.PSADumpObject.getTemplateData(String templateId, CBoolean& shared, LogRotation& logRotation)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:35:27.673 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:35:27.689 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:35:27.689 : Can not dump package for Site Application with id='7'
    1808: Error 20/01/2009 11:35:27.689 : psadumpagent.InformationalException: Can not dump package for Site Application with id='7' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:35:27.689 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:35:27.751 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:35:27.751 : Can not dump package for Site Application with id='8'
    1808: Error 20/01/2009 11:35:27.751 : psadumpagent.InformationalException: Can not dump package for Site Application with id='8' ---> psadumpagent.BUException: Can not find package id in the database
    at psa9dumpagent.SiteAppDumpObject.fillPackages(SiteAppData siteApp, String appItemId)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:35:27.751 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:36:08.189 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:36:08.189 : Could no backup template item 'php_isapi' with value ''
    1808: Error 20/01/2009 11:36:08.189 : psadumpagent.InformationalException: Could no backup template item 'php_isapi' with value '' ---> System.ArgumentException: Requested value 'php_isapi' was not found.
    at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
    at psa9dumpagent.PSADumpObject.getTemplateData(String templateId, CBoolean& shared, LogRotation& logRotation)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:36:08.189 : ---------------------- Exception end ------------------------

    rror 20/01/2009 11:36:20.689 : ---------------------- Exception start ------------------------
    1808: Error 20/01/2009 11:36:20.689 : Could no backup template item 'php_isapi' with value ''
    1808: Error 20/01/2009 11:36:20.689 : psadumpagent.InformationalException: Could no backup template item 'php_isapi' with value '' ---> System.ArgumentException: Requested value 'php_isapi' was not found.
    at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
    at psa9dumpagent.PSADumpObject.getTemplateData(String templateId, CBoolean& shared, LogRotation& logRotation)
    --- End of inner exception stack trace ---
    1808: Error 20/01/2009 11:36:20.689 : ---------------------- Exception end ------------------------
  17. jamescrown

    jamescrown New Member

    Messages:
    82
    I hope someone from Parallels can explain their serious lack of testing prior to releasing products when I speak to you at the upcoming Parallels summit.
  18. chris_bci

    chris_bci New Member

    Messages:
    2
    do anyone resolved this issue ? I get similar errors and can't get any valid backup !
  19. NickV@

    NickV@ New Member

    Messages:
    33
    Still after update to Plesk 9.0.1 we are getting the following error:

    *********** Exception handled start ******************
    Cannot check dump file 'backup_info_0901301332.xml' at 'C:\Program Files
    (x86)\S
    Wsoft\Plesk\Backup\' [The dump has wrong format!]
    System.ApplicationException: Cannot check dump file
    'backup_info_0901301332.xml'
    at 'C:\Program Files (x86)\SWsoft\Plesk\Backup\' [The dump has wrong
    format!] -
    --> System.Exception: The dump has wrong format!
    at psarepository.Repository.CheckDump(String file)
    at plesk_agent_manager.Program.checkDumpFile(Repository repository,
    String du
    mpFileName)
    --- End of inner exception stack trace ---
    at plesk_agent_manager.Program.checkDumpFile(Repository repository,
    String du
    mpFileName)
    at plesk_agent_manager.Program.Main(String[] args)***********
    Exceptio
    n handled end ******************

    Cannot check dump file 'backup_info_0901301332.xml' at 'C:\Program Files
    (x86)\S
    Wsoft\Plesk\Backup\' [The dump has wrong format!]

    Regards,

    Nick in 't Veld
    Prioserve Webhosting
  20. chris_bci

    chris_bci New Member

    Messages:
    2
    After some research, using the pleskbackup command line utility seems to give usable backup. Need to be confirmed.

Share This Page