• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Transfer domain from 8.6 to 9.2

P

Phil_G

Guest
I need to transfer a domain from Plesk Linux 8.6 to my Plesk Linux 9.2

I only have ftp access to the 8.6 server.

The 8.6 administrator has created several backups as filename eg "Domain_Backup" which I have copied to the 9.2 server. I created a domain on 9.2 with same domain name as for 8.6 eg "ozdomain.com.au" and attempted to upload the backup file using "Upload Backup File from Local Workstation to Server Repository" but upload file fails as the backup is recognised as being from an earlier version. I'm instructed to use the pre9-backup-convert procedure.

Now, logged onto console as root, I copied the backup file "Domain_Backup" to /var/;ib/psa/dumps and renamed the file to "dump.psa"

Then, from root directory # prompt, I ran following command:

/usr/local/psa/bin/pre-backup-convert -v convert -d /var/lib/psa/dumps/ dump.psa

also tried:
/usr/local/psa/bin/pre-backup-convert -v convert -d /var/lib/psa/dumps /dump.psa

but always get runtime error = Backup file 'dump.psa' does not exist.

What am I doing wrong?

Thanks in advance
Phil_G
 
Hello, Phil

It looks like the system is showing the message "Backup file 'dump.psa' does not exist" because there is space sign in both cases:

/usr/local/psa/bin/pre-backup-convert -v convert -d /var/lib/psa/dumps/ dump.psa (after /var/lib/psa/dumps/)

/usr/local/psa/bin/pre-backup-convert -v convert -d /var/lib/psa/dumps /dump.psa (before /dump.psa)

Please, run the command in the following way:

/usr/local/psa/bin/pre-backup-convert -v convert -d /var/lib/psa/dumps/dump.psa

Thank you
 
Hi Nataliya

Removing the space just results in help for pre9-backup-convert syntax being displayed.

My command lines are now:-

/usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/dump.psa (brings up help)
and
/usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ dump.psa (file not found)

I have my dump.psa located in /var/lib/psa/dumps/ - this was the 8.6 backup file that I was sent but have renamed = dump.psa - is this the right destination for it?

I also copied it into same directory as pre9-backup-convert - but that didn't help.

The syntax described on the manual http://kb.odin.com/en/5864 is:-

~# /usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ <backup-file>

Sorry to be so slow on this but I've been away from linux for a long time.

Phil_G
 
Phil_G,

Please look at the output of following command:

/usr/local/psa/bin/pre9-backup-convert help

You will see that after 'convert' command you should specify output directory (Explicitly sets the directory for extracting the backup content. By default directory named after backup file will be created in current directory.)
And after that you should specify path to your backup file dump.psa.
It should be something like:

/usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ /path_to/dump.psa

You have error 'file not found' because you have not specified real path to your file. And there is should be space between output directory path and path to your backup file.
 
Thank you Igor for helping with the syntax issue.

Now I get Runtime Error 'Top Level is not multipart/related', 'text/plain'

Regards,
Phil_G
 
So, the next steps are?

Dear Igor

Indeed, the older versions of plesk have a different format. We are all aware of that. Hence there is a converter.

And as the poster has pointed out the pre9 converter gives an error when pointed at the zip files.

you point at knowledge base articles

6806 - says to use a windows pre9 converter which is not an option, I have a zip file from a windows system, and I need to import to Linux. I do not have a windows plesk system to run the converter.

5817 - that simply repeats what the correct procedure is for using the pre9 converter , but we are following that and it DOESN'T WORK

So, can you please answer the question, which is WHAT DO I DO NOW?

we have backup.xml.zip files frmoa windows plesk installation
we run the converter on a linux server
the converter gives an error as above "'Top Level is not multipart/related', 'text/plain'"

I have a pre-9 backup file from Windows, and a linux machine that I want to restore to

simply confirm whether or not the pre9 converter works in this case. if it does not work, then just say so.
 
Unfortunately forum's format doesn't allow me check and fix your problem directly on your server. Therefore I can suggest you contact support team if it is really important problem for you. Forum is just a place for discussions but not support helpdesk. I always try to help you as I can, but my possibilities aren't boundless.
 
Back
Top