• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Restoring Plesk Server Backup

altec_lansing

Basic Pleskian
Hi,
I did a backup with
/usr/local/psa/bin/pleskbackup server --output-file=/backups/server_backup.tgz

After that i deleted some mail accounts and users and changed some file content, stuff like that, for testing the backups solution.

Restoring with:
/usr/local/psa/bin/pleskrestore --restore /backups/server_backup_28_10_2011.tgz -level server -suspend -license

does not restore everything the way it was right before creating the backup.
The files i deleted are restored and so do sql tables.
But files i've edited are NOT restored.
After reading through the manual i'd say it's because of pleskrestore is not overwriting anything.

Having this as a standard behavior is ok, but how do i change that?
I know i have to add
-conflicts-resolution
to
/usr/local/psa/bin/pleskrestore
and right after that a file that describes the conflict resolution policies.

But what does that look like??
I want plesk to overwrite everything (and btw. to delete everything, that is NOT part of the backup)!

Thanks in advance,
altec
 
Back
Top