• 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

Problems restoring a backup in the FTP server

J

Jorge del R

Guest
Hello.
I have severals backups in the FTP server than my Hosting provides to me.
The backups are made without errors and I can make them manually or automaticatly.
Today I have restore and upgrade the whole main server and I want to restore my data from FTP server to main server.
But I cannot because it gives an "ftp network error".
I can see the differents backup and their dates but when you select one to restore or to transfer to local server it gives the "ftp network error".
In the ftp server backups are storages as tar files: copia_lunes_00000111.tar copia_lunes_00000111.tar1 ....
I've tried to untar ir via shell and in my hd and gives error.
I've copied these files to /var/lib/psa/dumps/ to use them with local backup and Plesk doesn't find them.
I don't know waht can I do more...

Any help?
I have my server without data.

Thanks a lot!
 
As I remember such issue can be caused by insufficient local disk space.
 
As I remember such issue can be caused by insufficient local disk space.

Local disk space in /var/lib/psa/dumps/ ?
Or use another tmp dir?

/var -> about 200GB
/ -> 8GB
/usr -> 7GB

I thout about "disk space" too and I've changed the variable DUMP_D in psa.conf file to /
and the I load Plesk panel gives this error: "Configuration variable not found: DUMP_D"
Can be change to any dir ?

Backup was made with Ples 9.2 and now the server is Plesk 9.3. Any issue with this?


Thanks a lot!
 
And if I change this via shell:
TMPDIR=/var/tmp

Does Plesk accept it?

Thanks a lot!
 
# echo $TMPDIR
/var/tmp

But Plesk continue giving the same "ftp network error".

Now I'm trying "pmm-ras.zip" file.
But now it needs a lot of libraries...
 
Why you did not define it as DUMP_D?
 
Last edited:
Sorry but I'm not sure what are you speaking about...
Define it in psa.conf file?
 
Right. in psa.conf

I have made it before... (I'm not sure if ok)
In the 3rd post I explained it...

I have changed in the psa.con file the

# Backups directory
DUMP_D /var/lib/psa/dumps

to

# Backups directory
DUMP_D /

But accesing to Plesk Panel gives this error:
"Configuration variable not found: DUMP_D"

I think the problem is the /tmp file.
But I cannot get to fix it.
 
I've replace pmm-ras file in the post attached for the file in
/usr/local/psa/admin/sbin/pmm-ras

But now FTP backup server doesn't show any file.
Local backup repository doesn't show anything
and I cannot make any backup.

I've done it ok?
File must replace or not?
 
Is this a complete command for a server restore?

./pleskrestore --restore /var/tmp/backup_file.tar -level server -license -debug -suspend -conflicts-resolution /var/tmp/conflicts_file.xml

Is this ok?
I think with command line I'm fixing the problem.
But this options gives the most information on restore process?
But for me it's not giving me anything... nothing in stdout ...
Is "-debug" option correct?


Thanks a lot!
 
I can suggest you use -verbose option instead -debug. (/usr/local/psa/bin/pleskrestore --help for more details)
 
I can suggest you use -verbose option instead -debug. (/usr/local/psa/bin/pleskrestore --help for more details)

But this command really restore the backup?

./pleskrestore --restore /var/tmp/backup_file.tar -level server -license -debug -suspend -conflicts-resolution /var/tmp/conflicts_file.xml

I've done this and only uncrompress the tar file but no restore. I don't know why.
Any help?
 

I have the pdf "plesk-9.0-backup-cli-guide". I have read it at all and I have copy the command from there.
Please don't tell me "look at this".
Please tell me if this command line is correct or no.

./pleskrestore --restore /var/tmp/backup_file.tar -level server -license -debug -suspend -conflicts-resolution /var/tmp/conflicts_file.xml

I've used this line and no restoration is done.
I have MY SERVER 5 DAYS WITHOUT DATA NOR DOMAINS because this restauration option is not working.
So please I have made a lot of this. I have made a lot of hours and hours with this restoration.
So please help a little and tell me why this command line is not working.
Because this command line is only uncompressing the image and doing anything more.
(Of course files are there)

Thanks a lot!
 
Back
Top