• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Question Can I restore/copy an account from a server snapshot?

Denis Gomes Franco

Regular Pleskian
I am currently doing server backups via daily snapshots of the hard disk, instead of using Plesk's backup function as I did previously. In case of a failure I can then clone that snapshot to a whole new server and keep on going, or I can mount that snapshot as a secondary disk onto an existing server.

So I was wondering: would it be possible to restore or copy a single subscription if I mount that snapshot as a disk, since I will then be able to access all of those shapshot's files? It would be quite easy to simply access that secondary disk and then copy files over from /var/www/vhosts/domain or whatever, but what about other things such as mail accounts, databases, etc? Could the current Plesk installation manipulate the data on the "secondary" installation?

Or, that is not possible and I would really need to fire up another server from that snapshot, change the installation to the new IP, and run Plesk from there so I can download an account's backup from it? In this case, what about the license?
 
No that is not possible, because you'd need to restore all the dependencies in the database for that subscription. it's not only about files.

One license = one server.
 
Hey Peter,
Yeah I know, one license = one server, about the license what I wanted to know is, will I have to obtain a license for this temporary new server when I'll use it for maybe an hour or so - just to access the subscription, download it and then shut down the server?
 
You can obtain a trial license from Plesk for 14 days only once in a lifetime. You can use that license for what you want to do, but you'll not be able to get a trial license ever again afterwards.

Also, wenn restoring a backup created on a different Plesk installation, in the /usr/local/psa/admin/conf/panel.ini file you need to set a variable that allows you to restore the dump from a different machine:
Code:
[pmm]
allowRestoreModifiedDumps = on
I think you also need to restart the psa service afterwards, at least that was the case in earlier versions for that variable:
# service psa restart

There may be some additional restrictions and necessary steps that are listed in
 
Back
Top