1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Unpacking dump file ?

Discussion in 'Plesk for Linux - 8.x and Older' started by normanu, May 30, 2006.

  1. normanu

    normanu Guest

    Is it possible to unpack a psadump file ?
    When trying to list its contents I get,

    tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Archive contains obsolescent base-64 headers

    gzip: stdin: invalid compressed data--crc error
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

    Doesn't look to good ?
    How is this thing packed if not with tar ?
  2. arvin

    arvin Guest

    if you dump from a psa mysql DB and now you want to restore it, you can use this command:

    for dump:
    mysqldump -u<admin> -p<psa pass> -h<host> <dbname>> /home/psaDB <location you want store dump file>

    for restore:
    mysqldump -u<admin> -p<psa pass> -h<host> <dbname> < /home/psaDB <location you want restore db file>

    if you want to unpack your dump file, you can normally restore it!

    tar -xvf <file name>.tar