M
MykelS
Guest
Hi all,
I'm tasked with managing backups from our new Plesk servers.
Ive started using pleskbackup from a cronjob like so:
that succeeds after a few hours.
Anyway, one of our domains suddenly appeared to be deleted on the new server.
I had the idea to restore the domain alone from the last generated backup:
that takes about two hours (and in the end didn't restore the domain - it had failed to transfer earlier so wasn't on the new server).
HOWEVER, all (ALL!!) of our domains were reverted to the state they were in when the backup was executed!
Thank goodness it was only a day or two old or we would be in serious trouble.
What I want to know is what is the proper way to restore a single domain from a pleskbackup file?
I'm tasked with managing backups from our new Plesk servers.
Ive started using pleskbackup from a cronjob like so:
pleskbackup server --output-file=pleskbackup.date
that succeeds after a few hours.
Anyway, one of our domains suddenly appeared to be deleted on the new server.
I had the idea to restore the domain alone from the last generated backup:
/usr/local/psa/bin/pleskrestore --create-map pleskbackup.date -map pleskmap
/usr/local/psa/bin/pleskrestore --restore pleskbackup.date -level domains -filter list:missing-domain.com -verbose -map pleskmap
that takes about two hours (and in the end didn't restore the domain - it had failed to transfer earlier so wasn't on the new server).
HOWEVER, all (ALL!!) of our domains were reverted to the state they were in when the backup was executed!
Thank goodness it was only a day or two old or we would be in serious trouble.
What I want to know is what is the proper way to restore a single domain from a pleskbackup file?