• 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

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