• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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