• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

How to restore data only Virtual host content in command line

C

ChonlathitW

Guest
I am got a problem with r57shell last few day.
Hacker copy all index file to all my domain ../vhosts/domain../httpdocs

Now i can restore data By this step in plesk control.
Go to domain for restore.
1. Backup Manager
2. click backup file etc.
Nov 28, 2010 04:04 AM backup_mydomain.com_info_1011280404.xml
3. Restoration options
choose "Domain configuration" and "Virtual host content".

If conflicts occur during the restoration
choose "Ask me what to do"

4. and click restore.
will result like this

Conflicts Occurred During the Restoration Process

Conflicts
Virtual host of mydomaincom
Cannot restore Virtual host: Virtual host '' already exists in Parallels Plesk Panel


talks of mydomaincom
Cannot restore subdomain: subdomain 'talks' already exists in Parallels Plesk Panel

5. and Next
Resolution Rules for Restoration Conflicts

Timing Conflicts
choose "Use configuration and data from backup"

Resource Usage Conflicts
choose "Allow overuse"

Configuration Conflicts
choose "Allow overuse"

6. and Next wait until finish.

But if I want to restore data like this step without mysql, mail, user pass, etc. need only Virtual host content in command line it can be?
I read in http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.5-backup-cli-guide
I see option "-conflicts-resolution" how to use this? in document it not clear for me.
Someone can example to for conflicts-resolution config to restore only domain Virtual host content please.

I just test this
/usr/local/psa/bin/pleskrestore --restore backup_info_1011290404.xml -map backup_skel_1011290404.tgz -level domains -filter list:mydomain.com -conflicts-resolution conflict_resolution_rules

and
conflict_resolution_rules is

<?xml version="1.0" encoding="UTF-8"?>
<conflict-resolution-rules>
<policy>
</policy>
<rule conflict-guid="" conflict-id="0">
<resolution>
<overwrite></overwrite>
</resolution>
</rule>
</conflict-resolution-rules>

It restore everything :(

Thanks in advance.
 
Back
Top