Plesk 11.x / Linux :: Personal FTP Repository Backup Failures
Jun 27, 2014
After starting back up in plesk 11.5 I get this error after some time...
Code:
Runtime error: Export dump to FTP failed at /usr/local/psa/admin/bin/plesk_agent_manager line 727.
at /usr/local/psa/admin/bin/plesk_agent_manager line 727
main::perform('verbose', 4, 'owner-type', 'server', 'split-size', undef, 'session-path', '/usr/local/psa/PMM/sessions/2014-06-27-025357.825', 'description', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1319
[Code] ....
The backup was stored in Server Repository and was also uploaded to ftp....
Backup file size in server repository : 169 MB
In personal repository showed in plesk :169 MB
File size shown in FTP in backup server : 169.08MB
The Problem: I'm trying to set up an automatic backup to an ftp server using ftps (as configured in the personal ftp repository). Copying the files fails however.
The things I checked: The Plesk management website can't show the target folder's contents. The only error I get is Error-Code "1". The ftp server (a synology NAS) logs the ftp access: Credentials are correct, session is terminated after transferring 0 Bytes. Each failed backup leaves a 0-Byte .tar file on the Backup folder. If I disable ftps and go with plain ftp, everything works just fine.
Our previous generation Plesks (v11 and lower) can utilize ftps for backup (to the same ftp server) without a hitch.
Additional considerations: Since the WebServer is on a hosted machine and file transfer has to be done across the internet, unsecured transport is not an option.
"Transport error: unable to list directory: Curl error: Couldn't connect to server".
This happens when I enter ftp settings for the Personal FTP Repository. I'm sure the ftp server is fine. I have it already set on other domains. It connects backs-up just fine.
I've noticed two things when connecting to the FTP server it automatically issues PASV and does nothing else. It also connects using the secondary ip which I guessing it should. Micro Update 5 is installed.
I have 2 identical servers: I'm trying to do backups from server1 to server2 and from server2 to server1.
In every server I setup a subscription just for storing backups.
If I configure Personal FTP Repository from server1 to server1 - the same server - it works (it gives a warning: backup on the same server is not safe).
If I try to configure Personal FTP Repository from server1 to server2 and vice versa, it gives me the following error:
Transport error: unable to list directory: Curl error: FTP: couldn't retrieve (RETR failed) the specified file
If I try to give a different password, it tells that the password is wrong: this means that server1 is able to connect to server2 and the ports are well configured (I hope).
If I connect in active mode from my PC with Filezilla to server1 or server2, same username and password, it works!
I'm not able to configure Personal FTP Repository and to backup to another server.
I want to restore a database from my repository. In the backup manager (root) I have Server repository & Personal FTP Repository. The personal repository I set to backup every day. The server repository I don't know where to set the backup option. There seems to be some random backups every 2 weeks or so.
In the personal ftp repository I have the backups of the last 7 days as tar files. When I want to radio button "Selected objects" it can not me highlighted. I am on plesk 12.0.18. (I ticked "Restore this backup despite the fact that it does not have a valid signature")In the server depository the files are .xml and there I can select what to restore but the backups are not current. I need the database from yesterday.How can I make my personal backups selectable?
I'm using Plesk 12.0.18 on a virtual container powered by Parallels Virtuozzo Containers, and I cannot get the FTP (personal repository) working.In my settings, I've unchecked Passive mode (as the VPS is configured with the Virtuozzo firewall) yet Plesk still seems to test the connection with passive mode, which I know will fail. However active FTP on the command-line works fine.
Saving the repository fails with (after a hang): Transport error: unable to list directory: Curl error: Couldn't connect to server If the "directory" doesn't exist on the FTP server it fails immediately, so the connection is working, and it seems to be on the "dir/ls" command that it fails - which is a symptom it's using Passive mode.
According to the Panel log file, Plesk issues the below command:
Note the "--use-ftp-passive-mode" even though "passive mode" is UNCHECKED in the UI.
From a terminal:
# ftp ftp.hidrive.strato.com Connected to ftp.hidrive.strato.com (85.214.3.73). 220 Another visitor. Stay a while... Name (ftp.hidrive.strato.com:root): xxx 331 FTP login okay, send password. Password: 230 User logged in, proceed.
Current Version Installed :Parallels Plesk Panel 11.5.30 Update #31 Problem: When username have @ like : myuser@mydomain.com
Steps : When configure the setting all go right (test to validate setting is ok too) , but when Scheduled Backup Settings using Personal FTP Repository cannot connect for server because the url use 2 @ like error message below.
Error Message : Cannot parse output file 'ftp://bk@mydomain.com@mydomain.com/' [Invalid URI: Can not parse the hostname.]
I am having issues with the plesk backup manager. I set up my personal FTP personal repository in tools & settings, then backup manager. My ftp is secure with a specific port. here are my options:
FTP server hostname or IP: myipaddress":"port without quotes. Directory for backup files storage: complete also used /complete. Both correct username and password
Use passive mode checked Use FTPS checked Use password protection checked
Here is my scenario:
Personal FTP repository backups are set up with:
Create a multivolume backup Volume size: 2047 Store backup in: Personal FTP Repository max number of backups: 1
For some reason when I manually backed up the server with server repository, my storage went from 14gb to 6gb.. I have zero backups in both server repository and personal FTP repository because I deleted them. Now its stuck at 6gb, which seems that the backup is stored somewhere in the system and is not deleted.Where can I find this backup? I am using CentOS.
When I try to reset the Personal FTP Repository setting in Backup Manager, I get "Transport error: unable to list directory: Curl error: Failure when receiving data from the peer"
I've read a solution to this issue for Plesk for Linux, but not for Windows. I have my FTP server setup for FTPS (require explicit FTP over TLS) and when I put the correct information in each box, I get this error. In the meantime, the current settings (for standard FTP) are incorrect.
Obviously the most important this is to correct the Transport and Curl errors, but if I'm unable to do so, how do you clear the current setting? There doesn't seem to be a way to do it...
If I go into the Backup Manager, then click the "Personal FTP Repository", then click "Personal FTP Repository Settings", at the bottom it asks for a password and says how important it is to use a password.
So, I specify a password, then successfully do a backup to a remote FTP site.
But when I examine the backup.zip file at the remote FTP site, it a plain ZIP file that you can open without any password!!!
How is this secure, what's the point of asking us to specify a password when it's not used to password lock the backed up ZIP file?
Plesk Panel 12 uses a proftpd FTP server, with the TLS module pre-installed and configured.
Many questions and/or problems arise when trying to connect to the FTP server over a FTPS connection. In (almost) all cases, the disability to connect with FTPS is due to
a) the lack of configuration of passive ports, AND b) firewall settings, enabling connections through before mentioned passive ports.
The passive port range can be configured by
adding a line to /etc/proftpd.conf, stating: "PassivePorts <start> <end>", OR adding a separate file with name <filename>.conf to /etc/proftpd.d/, with the contents of <filename>.conf stating: "PassivePorts <start> <end>"
And note that
- <start> is the first port of the port range, in theory any value above 1050 can suffice, - <end> is the last port of the port range, any value below 65000 (!) can suffice, - the extension .conf is required when using a separate config file, - the directory location /etc/proftpd.d/ is required when using a separate config file, - one should always limit the port range, i.e. it is not desirable to open up a lot of ports, - it is desirable to have the <start> value above 20000, in order to prevent conflicts with other programs, using a specific port (for instance, port 8443 is also being used), - it is not necessary to restart proftpd after configuring the passive ports.
The firewall settings have to be changed to allow connections through the passive ports that have been opened for FTPS connections and note that
- only open up the port range (not more) in the firewall settings, - it is only necessary to open up ports in the firewall settings of the FTP server, - it is not required to open up ports in the firewall settings of the sending server. Many issues have been arising when setting up the FTP Backup Repository.
In general, the passive mode checkbox has to be selected, when encountering issues.
The explicit use of the passive mode allows for proper configuration of the FTP Backup Repository and note that it does not matter whether FTPS or normal FTP will be used.
I host a number of large sites (20GB+) on my VPS server running Centos6 and Plesk Panel 12. Due to the large sites I don't want to keep multiple backups on the actual server because it would take too much disk space. When I create a backup to the server's repository all is good, but when I click the green arrow to download the backup it takes a long time and then it fails with a timeout error. On some smaller sites it takes a while but eventually downloads the tar.
So my question: Is it possible to access the Server Repository via FTP? How and where would I set this up? Presumably it would be a better way to download these large archive files?
keep a local and remote backup of certain subscriptions or at least have a full server backup on FTP.
I have a livedrive.com reseller account which allows be to quite cheaply add 512GB of remote storage accessible through SFTP, FTP and WebDAV. I created this partition and added it as a server-level FTP repository in Plesk 12 (latest build). During testing I added a firewall exception for traffic on the FTP IP-address and figured that I had to put the FTP repository in passive mode to properly connect.
After setting this up I ran a configuration only backup to test if everything was working properly. The backup was created properly and can be accessed through the FTP as well: success!
My second test was running a full server backup through the manager. The ±40GB file was created properly (I could see my disk usage increase and decrease through new relic monitoring) and supposedly transferred to the FTP repository according to Plesk.
When I look at the FTP or the Plesk Backup Manager both indicate that the full server backup is 0kb in size.
After this issue I figured: I really don't care about a full server backup, I mostly care about a specific set of subscriptions that have new content on a daily basis and need to be backed up properly as well. Those subscriptions are already on a daily or weekly backup scheme that places backups on the local repository.
What I would eventually like to do is create daily or weekly backups on the local repository and create weekly or monthly backups on the FTP repository for those specific subscriptions, but unfortunately you cannot (by default) setup Plesk to automatically backup to local and remote based on different or even the same intervals.
And this is the more important question: How to be able to create/setup a backup automation that keeps local and remote backups for the same or different intervals? Either through the Plesk interface, a plugin or a script?
Running Plesk 12 on CentOS 6.6
Update:
Just tried running the same server wide backup, but this time as a multivolume backup. This resulted in the following error:
First of all I checked via command line if any software is not installed properly while plesk installation was done on destination server (windows server 2012 R2). All looks fine, please check attached file pleskinstallation.txt
Source plesk version 10.4.4 (windows server 2008) Destination plesk version 12.0.18 MU#23 built.
We are in testing mode of migrating websites hosted with source plesk version 10.4.4 onto destination server plesk server 12.0.18 having (windows server 2012 R2).
What we did, we restored the backup of Source plesk version 10.4.4 (windows server 2008) to Destination plesk version 12.0.18 MU#23 built.
Now the problem is that backup which we restored on Destination plesk version 12.0.18 MU#23 was of 68 GB and now when we setup the backup on Destination plesk version 12.0.18 MU#23 and when backup completes successfully it show us wrong backup size up to 16 GB.
We have requested several times to plesk support has to check the entire new plesk version in terms of all feature (like taking backup, restoring, plesk installation etc) while releasing new version, If they have noticed bug than plesk support should not release new version or micro update until they are sure.
I would request them again to check backup size bug along with other bugs.
1. "Stats crashing and not updating stats"
2. installing "Spam assassin" on Plesk 12.0.18 on windows server 2012 r2 and we are getting error:
Error: Unable to set Plesk SpamAssassin 3.3.2 as the default Spam Filter: defpackagemng failed: Execute spammng.exe --check failed with error code 1: Unable generate the unique file name by template D:Program Files (x86)ParallelsPleskAdditionalPerlsiteetcmailspamassassinlocal.cf[*].bak: directory D:Program Files (x86)ParallelsPleskAdditionalPerlsiteetcmailspamassassin does not exist.
I set up a FTP backup repository today however when attempting to restore selected objects from the backup there are a couple of messages that state:
"Restore the backup file despite a corrupted signature"
"You can select objects to restore only when you are restoring from backups that were created in Plesk 12.0 or later."
I noticed that the backup residing in the FTP repository has a .tar extension whilst the one I did in the server repository has a .xml extension.
Restoring selected objects from the server repository works fine.
Why is this not possible? I'd like to restore selected objects from the FTP repository. Otherwise I'll have to transfer the backup file from FTP repository to the server which is really inefficient.
For some time now the Autoinstaller fails and the Plesk control panel becomes inoperable until I run the stop and then start command for the plesk control panel. Looking at the error log: autoinstaller3.log I see the following output:
WARNING: Third-party Yum repository 'atomic' is enabled, installation may fail.
Since you use one or more 3rd-party repos (say, atomic), be careful when installing different package versions from different repos as this may lead to installation failures. For example, you may encounter a problem if you first install PHP from a 3rd-party repo and then upgrade it using the Parallels repo. To avoid such situations, install and upgdare packages from the same repo.
Traceback (most recent call last): File "/usr/local/psa/bin/yum_install", line 194, in <module> main() File "/usr/local/psa/bin/yum_install", line 189, in main
[code]....
The Yum utility failed to install the required packages.Attention! Your software might be inoperable.contact product technical support.Click to expand...
Does any reliable hosting company that offers hundreds of gigs space allow "personal backups", ie. non-web content? I've been looking at ToS of some big names but most if not all don't allow this.
It would be only 1-2 gigs, so I might get away with it anyway on most hosts, but would like to avoid problems in the future. Dreamhost offers both SVN and rsync, which I'd like a lot, but they clearly forbid such use.
And, I do have an external hard drive and very important files are also on DVD and memory stick, but since I need to purchase webhosting I'm looking at this extra option too.
Details: ERROR: can't apply patch panel-11.5.30~patch47 Unable to set the object (C:Program Files (x86)ParallelsPleskadminplibapi-common.aiupd_37cuDomain.php.old) owner: (5) Access is denied.
I have multiple backups stored under server repository (subscriptions --> <domainname> --> website and domains --> backup manager).
The physical files are located at: /var/lib/psa/dumps/clients/904279/domains/<domainname>/
When I click the green arrow to download these files to a local computer (see attached image) I get a new page with title "Download the backup file". On this page I have the option to set a password on the downloaded file, but no matter what I do (password or no password) the file is not downloaded to my local PC. I don't get a pop-up box with the option to save the file. Just nothing happens ...