Hello,
I have a full plesk backup (3GB) and I need to restore just the tables of a database.
The backup is in .tar format. I listed the content of the backup, tar tvf backup_1403090050.tar, then find the file I want:
resellers/xxx/clients/xxx/domains/xxx/databases/database_1/backup_database_1_1403090050.tgz
So I extracted only this file:
tar xvf backup_1403090050.tar resellers/xxx/clients/xxx/domains/xxx/databases/database_1/backup_database_1_1403090050.tgz
Then I have one file:
backup_database_1_1403090050.tgz
But, here comes the problem, if I extract this file I have a file without extension:
backup_database_1_1403090050 (4MB)
I found this KB article http://kb.parallels.com/en/1757 and follow the steps, install mpack:
zcat backup_database_1_1403090050.tgz > backup_database_1_1403090050
Then cat backup_database_1_1403090050 | unpack
And I have this error:
munpack: reading from standard input
Did not find anything to unpack from standard input
file backup_database_1_1403090050
backup_st_beta_1_1403090050: POSIX tar archive (GNU)
And I don´t know what to do...
How I can uncompress the tables of the database from a plesk full backup?
Thanks in advance
I have a full plesk backup (3GB) and I need to restore just the tables of a database.
The backup is in .tar format. I listed the content of the backup, tar tvf backup_1403090050.tar, then find the file I want:
resellers/xxx/clients/xxx/domains/xxx/databases/database_1/backup_database_1_1403090050.tgz
So I extracted only this file:
tar xvf backup_1403090050.tar resellers/xxx/clients/xxx/domains/xxx/databases/database_1/backup_database_1_1403090050.tgz
Then I have one file:
backup_database_1_1403090050.tgz
But, here comes the problem, if I extract this file I have a file without extension:
backup_database_1_1403090050 (4MB)
I found this KB article http://kb.parallels.com/en/1757 and follow the steps, install mpack:
zcat backup_database_1_1403090050.tgz > backup_database_1_1403090050
Then cat backup_database_1_1403090050 | unpack
And I have this error:
munpack: reading from standard input
Did not find anything to unpack from standard input
file backup_database_1_1403090050
backup_st_beta_1_1403090050: POSIX tar archive (GNU)
And I don´t know what to do...
How I can uncompress the tables of the database from a plesk full backup?
Thanks in advance