• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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