Go Back    Forum > Digital Publishing / Web Sites > Web Hosting

Reply
 
LinkBack Thread Tools
  #1  
10-01-2010, 02:28 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
Copying these notes for my own server-admin'ing convenience.
Originally found at the official Parallels Plesk Knowledgebase at http://kb.parallels.com/en/5817

____________________________________________

Symptoms

Parallels Plesk Panel Backup/Restore functionality was redesigned in Plesk 9 version. Prior restoration data with use of an old backup file it is necessary to convert the backup file to the new format.

Resolution

To convert backup to format 9 you need to login to Parallels Plesk Panel server as administrator (for Windows) or root (for Unix/Linux) and use Plesk utilities pre9-backup-convert.exe or pre9-backup-convert accordingly. If you do not have administrative access to the server you need to contact your hosting provider for assistance.

Windows

Parallels Plesk Panel Windows supports two versions of backup format.
pre9-backup-convert.exe command line tool is used to convert old Plesk backup files (any version) to the new format version 9. How to use the tool:
Code:
"%plesk_bin%\pre9-backup-convert.exe" --source=<old backup file> --destination=<backup repository>
where
<old backup file> is full path to the backup file that is going to be converted;
<backup repository> is backup repository where the converted backup is extracted to, it can be changed by Plesk Reconfigurator.
The converted backup is placed to Plesk backup repository and becomes available for restoration in Plesk, Home, Backup Manager.

Unix/Linux

Parallels Plesk Panel Unix/Linux has different backup format for versions 7.x, 8.x and 9.x.
backup-convert allows backup converting of Plesk version < 8 to version 8.
Refer to the following article for convention instructions: http://kb.parallels.com/en/1727
pre9-backup-convert allows backup converting from Plesk version 8 to 9.
How to use the utility:
Code:
~# $PRODUCT_ROOT_D/bin/pre9-backup-convert convert --directory=$DUMP_D <old backup file>
where
<old backup file> is full path to the backup file that is going to be converted.

It is recommended to extract the converted backup to the backups directory $DUMP_D. Backup extracted to the directory is accessible through Home -> Backup Manager -> Server Repository and available for restoration.

To convert backup created with Parallels Plesk Panel <=7 you should convert it to version 8 with backup-convert first and then convert to version 9 with pre9-backup-convert.

To convert splitted backup to version 9 you should merge the parts together first and then put single backup file in input.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.

Last edited by kpmedia; 10-01-2010 at 02:41 AM.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
10-01-2010, 02:33 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
More docs for my convenience...
Attaching the PDF for the Plesk Migration guide, for updating Plesk 8 to Plesk 9.
Also for migrating between Plesk 9 installs.


Attached Files
File Type: pdf Plesk-9.0-Migration-Guide.pdf (407.8 KB, 5 downloads)

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #3  
10-01-2010, 02:39 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
More info for Linux servers: http://kb.parallels.com/5864
Not available or valid for Windows.

___________________________________

Q: How can I migrate objects from Parallels Plesk Panel version 7.5 or 8.6 to Parallels Plesk Panel 9?

A: Resolution

Plesk Migration Manager (PMM) does not exist in Parallels Plesk Panel Beta, Plesk 9 Release and the first patch 9.0.1. The feature is under development now and will be available in the next version of Parallels Plesk Panel 9.2. However it is still possible to migrate objects from Parallels Plesk Panel versions 7.5, 8.6 manually using Plesk Backup Manager. You may migrate Parallels Plesk Panel as a whole or separate domains and clients. Below are the instructions.

1. Migrate server

a. Login to a source server with Parallels Plesk Panel 8.6 installed and create a full backup with the pleskbackup utility:
Code:
~# /usr/local/psa/bin/pleskbackup all <backup-file>
The utility is included into the psa-backup-manager package for Plesk 8.6, verify that it is installed. In Parallels Plesk Panel 7.5 the command line backup utility is /usr/local/psa/bin/psadump that is included into psa-bu package. If not installed you may install Plesk Backup Manager via Autoinstaller in control panel Server -> Updater

b. Copy the dump to the destination server with Parallels Plesk Panel 9 and convert the backup to version 9 with pre9-backup-convert.
Code:
~# /usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ <backup-file>
Where /var/lib/psa/dumps/ is Backups directory on the destination server with Parallels Plesk Panel 9. This will create a number of backup XML files and subdirectories with data under /var/lib/psa/dumps.

c. Login to Parallels Plesk Panel as administrator and change to the server backup repository:
Home -> Backup Manager -> Server Repository
There is a list of backup files in the server repository.

d. Click the backup name to enter the Backup Details page.

e. Select the required restoration options and click Restore to start the restoration process.
Note: you should check the Administrator's clients option to restore all clients and domains from the backup.

2. Migrate client

a. Login to the source server and create a backup of clients you want to migrate or full server backup with pleskbackup:
Code:
~# /usr/local/psa/bin/pleskbackup all <backup-file>
or
Code:
~# /usr/local/psa/bin/pleskbackup clients CLIENT.LOGIN <backup-file>
b. Copy the dump to the destination Parallels Plesk Panel 9 server and convert the backup to version 9 with pre9-backup-convert.
Code:
~# /usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ <backup-file>
This will create a number of backup XML files and subdirectories with data under /var/lib/psa/dumps.

c. Login to Parallels Plesk Panel as administrator and create a new client with the same login of migrated client.

d. Then access local backup repository of the new client:
Clients -> CLIENT NAME -> Backup Manager
Because the login of newly created client coincides with the login of client from the dump the converted backup should be shown in the repository.

e. Click the backup name to enter the Backup Details page.

f. Select the required restoration options and click Restore to start the restoration process.

3. Migrate domain

a. Login to the source server and create a backup of the domain you want to migrate or full server backup with pleskbackup:
Code:
~# /usr/local/psa/bin/pleskbackup all <backup-file>
or
Code:
~# /usr/local/psa/bin/pleskbackup domains DOMAIN.NAME <backup-file>
b. Copy the dump to the destination Parallels Plesk Panel 9 and convert the backup to version 9 with pre9-backup-convert.
Code:
~# /usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ <backup-file>
This will create a number of backup XML files and subdirectories with data under /var/lib/psa/dumps.

c. Login to Parallels Plesk Panel as administrator and create a new domain name that coincides with name of the migrated domain from backup.

d. Then access the local backup repository of the domain:
Domains -> DOMAIN.NAME -> Backup Manager
Because new domain name coincides with domain from the backup the converted backup should be shown in the repository.

e. Click the backup name to enter the Backup Details page.

f. Select the required restoration options and click Restore to start the restoration process.
Before migrating from Parallels Plesk Panel 8.1, 8.2, 8.3, 8.4 you should upgrade the source Parallels Plesk Panel to the latest version 8.6.

To migrate objects from Parallels Plesk Panel version 7.5 using Plesk Backup Manager you should create a backup on the source server 7.5 with the utility /usr/local/psa/bin/pleskdump, convert it to version 8 with utility backup-convert and then convert to version 9 with pre9-backup-convert.

Refer to the article Is it possible to restore Plesk 7.5 backup on Plesk 8.x system? for details about how to convert backup to version 8. After that you may restore the backup through Backup Manager in the control panel.

Alternatively you may migrate from 7.5 to 8.6 using Plesk Migration Manager, create a backup via Parallels Plesk Panel 8.6, convert it to 9 with pre9-backup-convert and restore on destination Parallels Plesk Panel 9.

Additional Information

Plesk utilities pleskbackup and pre9-backup-convert are provided by Plesk package psa-backup-manager. Verify that it is installed:
Code:
~# rpm -q psa-backup-manager
psa-backup-manager-VERSION-OS.BUILD
~#
If the package is not installed the utilities are missing.
You may install the package through Plesk GUI autoinstaller. To install login to Parallels Plesk Panel as admin and change to page {Server -> Updater} for version 8 and {Home -> Updates} for version 9. Enter Plesk 8.6.0 or Parallels Plesk Panel 9.x and select installation of the component Plesk Backup Manager.

Note that these utilities may be located in different directories on your Panel server.
There /var/lib/psa/dumps is the server Backups directory (DUMP_D) and /usr/local/psa is Plesk root directory (PRODUCT_ROOT_D). Use the article kb.parallels.com/en/952 to get the variables for your system.

The procedure of server migration from Parallels Plesk Panel version 9.x to another Parallels Plesk Panel version 9.x is described in this article http://kb.parallels.com/en/5969

The migration from other hosting platforms will be available in future version of Plesk Migration Manager.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #4  
10-01-2010, 02:50 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
Read this online somewhere, too...
Obviously this only applies to Linux and not a Windows server, being root commands.

Quote:
Copy backup to plesk9 server and run:
Code:
/usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/  /root/plesk8-backup-file
then go to plesk 9 panel and restore the backup from the client and/or precreated domain.
How accurate that is, I don't know.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Login problems with IMAP, CentOS Plesk 9 [solved] kpmedia Website and Server Troubleshooting 2 04-29-2010 05:21 PM
Using TVOne 1T-TBC to restore VHS? joe_71 Restore, Filter, Improve Quality 1 03-16-2010 05:57 AM
Many projects to restore, too many videos deter Restore, Filter, Improve Quality 10 02-17-2010 11:29 AM
How to Restore Unfiltered VHS Conversions lordsmurf Restore, Filter, Improve Quality 0 12-07-2007 08:53 PM
Video in Linux admin Project Planning, Workflows 0 05-21-2005 08:29 PM

Thread Tools



 
All times are GMT -5. The time now is 10:33 AM