• 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

can't restore backup with pleskrestore: No domains has been found in the backu

F

FerranS

Guest
I can't restore a backup using pleskrestore from the shell.
I get "No domains has been found in the backup file" message after I execute:

/usr/local/psa/bin/pleskrestore --restore totdansa.psa -map totdansa.map -level domains

Few days ago i created totdansa.psa with pleskbackup utility.

totdansa.map file content:

[IPCHANGE]
ip_address shared
totdansa.com ip_address

IPCHANGE is the client name, and "ip_address" will be the real ip address.

Test results:

/usr/local/psa/bin/pleskrestore --validate-map totdansa.map
returns:
Map file is valid

/usr/local/psa/bin/pleskrestore --check-backup totdansa.psa
returns:
Backup file is valid

/usr/local/psa/bin/pleskrestore --info totdansa.psa
returns:
------------------------------------------------------------------------
Backup information
Dump version: 8.6.0
File: /backup_migracio/totdansa.psa
Type: Domain
Comment:
Date: Jun 3, 2010 09:39 AM
Size: 29.9 M
------------------------------------------------------------------------
[Domain] totdansa.com

If the info option show me the backup information then there is a domain backup inside...

And my last test:
/usr/local/psa/bin/backup-unpack extract totdansa.psa
I get all the files unpacked:
-rw-r--r-- 1 root root 10240 2010-06-11 15:38 anon-ftpstat.tar
-rw-r--r-- 1 root root 10240 2010-06-11 15:38 cgi-bin.tar
-rw-r--r-- 1 root root 10129 2010-06-11 15:38 description.xml
-rw-r--r-- 1 root root 30720 2010-06-11 15:38 errordocs.tar
-rw-r--r-- 1 root root 10240 2010-06-11 15:38 ftpstat.tar
-rw-r--r-- 1 root root 28149760 2010-06-11 15:38 httpdocs.tar
-rw-r--r-- 1 root root 184320 2010-06-11 15:38 httpsdocs.tar
-rw-r--r-- 1 root root 3041280 2010-06-11 15:38 logs.tar
-rw-r--r-- 1 root root 10240 2010-06-11 15:38 private-data.tar
drwxr-xr-x 2 root root 4096 2010-06-11 15:38 [email protected]
-rw-r--r-- 1 root root 10240 2010-06-11 15:38 webstat-ssl.tar
-rw-r--r-- 1 root root 10240 2010-06-11 15:38 webstat.tar

But I need to restore all domain configuration, files, mails as how was when de backup file was done.

Any idea??
 
Back
Top