Plesk 12.x / Linux :: MySQL DB Backup Script Not Working
May 31, 2015
This is on a CentOS 7.1, Plesk 12. New.
On Plesk 10.4 I had a script that backed up my MySQL databases separately. The script doesn't work now. I get an error:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
Do I need to do something different with this new "MariaDB" thing?
Here's the script:
DB_BACKUP="/pat/to/databackup/`date +%Y-%m-%d`"
DB_USER="admin"
DB_PASSWD="-p`cat /etc/psa/.psa.shadow`"
HN=`hostname | awk -F. '{print $1}'`
[Code] ....
View 4 Replies
ADVERTISEMENT
Aug 14, 2014
Since moving to version 12 on the remote FTP backup is not working.
This makes the tar of 50K ~
We have chosen "Setting and content domain" ...
View 2 Replies
View Related
Nov 5, 2014
I am running Plesk 12 on CentOS 7 64bit. I have set up the server backup instead of the website backup as I assume that will backup all server settings, as well as the website? I am running Plesk Web Admin Edition.
I have the backup set to run and dump into Personal FTP, but it does not run. If I run the backup manually, everything works great, but the scheduled backups don't work.
View 3 Replies
View Related
Jul 6, 2012
I have the same problem again with plesk 11 [URL]
workaround
1) rpm -q --scripts psa-backup-manager | sed 1d | sh
2) /etc/init.d/crond restart
my error message with CentOS 5.8, Plesk 11.0.9 MU#4
sh: line 2315: syntax error near unexpected token `('
sh: line 2315: `preuninstall scriptlet (using /bin/sh):'
/etc/cron.d/plesk-backup-manager is created
why do not work after you upgrade the backup cronjobs?
View 19 Replies
View Related
Jul 1, 2014
Can ftp to the FTP server from the command line without any problem.
get / put / ls etc all work.
Configure Plesk Backup Personal FTP repository with same server / username / password.
Get the following messages in Plesk:
Warning: Unable to display the list of backups. Please check the personal FTP repository settings.
When I attempt an FTP backup I get:
The backup was not created. Download the log file View the log Close this message
Can't upload file 'backup_info_1406281533.xml' to ftp. Error code: 1
View 2 Replies
View Related
Feb 12, 2015
on one of our Plesk-Servers (Plesk 12.0.18 Update 34 on Debian 7.6) the scheduled backup stopped working. Scheduled Backup is active in Backup-Manager, but it's not executed.
View 2 Replies
View Related
Dec 19, 2014
I'm running: 12.0.18 Update #29
I'm having troubles getting the global scheduled backup task to work at Home > Tools & Settings >Backup Manager > Server Repository.
At a subscription the scheduled backup works how it should.
Home > Subscriptions > example.com > Websites & Domains > Server Repository
The problem is as follows: When I set the scheduled task at a specific time example 00:00 it does not run at all. But when I just do "Create a backup" it does work...
I've done [URL] .... and everything in here is configured how it should be.
This is my configuration for scheduled task:
Cronjob is placed in : /etc/cron.d/plesk-backup-manager-task
Also did run: rpm -q --scripts psa-backup-manager | sed 1d | sh
This problem is only in the global backup configuration.
View 3 Replies
View Related
Jun 9, 2015
Automatic Parallels Plesk. 12.0.18 has stopped working but no solution from plesk yet? I think every user has the same problem. Many people asked the same question but no solution/answer from plesk.
View 13 Replies
View Related
Dec 19, 2014
I've enabled one more php using this guide: [URL] .... but mysql is not working with the new php installation, how to get it working?
View 7 Replies
View Related
Jun 13, 2014
I am getting this error after installing the AfterLogic WebMail Pro_7 app on a domain.
I removed the app but AfterLogic still appears in the list of available Webmail options. I am getting the error even after changing all my domains to use Roundcube.
backup_info_1406131330.xml:
Line 423 error: Element 'external-webmail': This element is not expected.
My backups since the day I installed that app are no longer valid.
View 2 Replies
View Related
May 8, 2009
Since my /var partition is full, so I moved /var/lib/mysql to /backup/mysql/.
Seems all the files are copied and I changed my.cnf reboot mysql, but all the web sites using db is not working anymore..
View 4 Replies
View Related
Feb 19, 2015
My OS is CentOS 5.8.
Plesk is 11.0.9.
Having problems with failed daily domain backups. All databases that have been created by Plesk cannot be backed up, thus backup fails with the following message:
<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error" log-location="/usr/local/psa/PMM/sessions/2015-02-19-044701.875/migration.result">
[Code]...
View 4 Replies
View Related
Jun 16, 2014
why but autoupdate fails. It doesn't give a reason why it cant backup.
For line of log :
START pp11.5.30-bootstrapper-11.5.30-cos5.build115131216.11 installing AT Thu Mar 27 07:43:37 CET 2014
Last lines of log :
===> Upgrading database
Trying to start service mysqld... mysqld (pid 24610) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 011005030
Version is OK, no need to create psa database.
Trying to backup MySQL database...
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again
Trying to start psa...
**** Product prep-install for BASE failed.
***** problem report *****
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again
STOP Bootstrapper 11.5.30 prep-install for BASE AT Tue Jun 17 04:04:48 CEST 2014
View 2 Replies
View Related
Feb 12, 2015
I'm new to Parallels Panel. I use version 11.0.9. I want to backup mysql database daily. First of all, what is the best way for daily database backup in plesk. I'm trying to do this in Scheduled Tasks and I use mysqldump command although I'm not sure.
I chose the time and day first and then I switched on the task. I typed the following command to Command line.
mysqldump -uusername -ppassword databasename | gzip -9 >/httpdocs/mydatabase.sql.gz
or
mysqldump -uusername -ppassword databasename >/httpdocs/mydatabase.sql.gz
This created only a blank file. When I use this without gzip, nothing changes.
1- Is mysqldump right command for database backup?
2- Should I define full path for mysqldump, gzip and database? If so, how can I find out the full path of mysqldump, gzip and my database? Because I can't see their locations in panel.
3- I can't see any error message. There is not any log file in httpdocs folder. Where does the log file exist?
4- It is weird but should the username be "database user" or should I write "root" ?
View 2 Replies
View Related
May 27, 2014
I need a command way of backing up my website files and Mysql databases. I no longer have access to the static ip to access the panel.
View 1 Replies
View Related
May 26, 2014
my plesk server was running OK for the last 13 months and suddenly it breaks apart on its own and I cant make it work again. [URL]
Is there a way to backup database at this stage? How?
Planning to reformat my windows server. and start over.
View 1 Replies
View Related
May 17, 2015
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 ...
View 1 Replies
View Related
Aug 15, 2014
I have 2 problems:
Firstly I wonder if there is any possibility to limit the number of cores the plesk backup zipping tool uses? This pigz takes up all my CPU. Is there any way I can reduce the amount of cores it uses because all my websites are down every time a backup takes place for around 3 minutes.
Secondly I get the following in my syslog:
1 baby plesk sendmail[20189]: Error during 'check-quota' handler
I don't know what is wrong. I think it's since the upgrade to Plesk 12. I now have 12.0.18 Update #13.
View 9 Replies
View Related
Sep 17, 2014
I have a 6GB backup file created with another Plesk Backup Manager, now I trying to upload this backup file to my Plesk Backup Manager but after upload 3% I am getting "413 Request Entity Too Large" error, I tried with disable NGINX but still getting this error.
how can I resolve this error or is their any other way to upload my file on backup manager?
I see that Backup Manager have a file size restriction of 2GB how can I increase this?
View 2 Replies
View Related
Feb 11, 2015
I have an Ubuntu 14.04 LTS 64 bit virtual private server with Plesk 12. The server is hired from a hosting provider. The server is used to run the Odoo ERP application (using postgres database).
The Odoo application is running fine and now I want to create a backup of the application using Plesks Backup manager.
I choose configurations and content option in the backup manager but the created backup is only 200kb.
I think the problem is the location where the Odoo application is installed is not included in the backup. I made a tar backup from the server and extracted it on my pc. It seems that the main parts of the Odoo application are in the var, opt, etc and usr directories (not in a domain but under root).
Installing the application in a domain would solve the Plesk backup issue I think but the installation script of Odoo puts Odoo in var, opt, etc and usr directories even if I put the install script in the directory of a created domain. Since the manual Odoo installation is complicated I am very happy to use the script.
My questions are:
1. Is it possible to include the directories var, opt, etc and usr in the Plesk backup and how and where do I do that?
2. Can I restore such a backup without no problem in Plesk?
View 1 Replies
View Related
May 25, 2015
After installing a separate SSL to domain.com and www.domain.com, for some reason host.domain.com, which is the subdomain for plesk login, isn't being secured by FTP when choosing "Secure Plesk" after choosing the correct SSL. No error occurs, nor does the dashboard respond to it. It stays the same and unsecured. I tried rebooting server, restart services, etc.
View 1 Replies
View Related
Dec 28, 2014
OS: CentOS 6.6
Plesk: 11.5.30 #48
ProFTPd: 1.3.4c
I am unable to connect over TLS/SSL using my FTP client. I have ports 989 & 990 enabled in my server's firewall. My FTP client is attempting connection on port 990, but times out waiting for the server to respond. I also tried adding "TLSProtocol TLSv1" or "TLSProtocol SSLv3" to /etc/proftpd.conf, but get the same result, except that a non-TLS/SSL connection attempt then returns "server closed the connection".
View 2 Replies
View Related
Aug 25, 2014
Recently I configured parallels 12.x on Linode Cloud with cent OS. Using DNS Settings I added 'A' record (abc.example.com) as abc and point to IP. But the record is not propagated after 24-48hrs.
View 2 Replies
View Related
Aug 23, 2014
Configuration:
Config server / Preferred domain for web sites / domain.tld
Config hosting to domain / Preferred domain / domain.tld
Problem: I've created a primary domain.tld and work without problems I type www.domain.tld and work fine redirect to domain.tld format but I've created different alias and only work www.domain.tld format don't work domain.tld format.
In google webmastertools i see this error in domain.ltd panel
Redirect
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 22 Aug 2014 18:09:28 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Location: http://www.domain.tld/
X-Powered-By: PleskLin
MS-Author-Via: DAV
Vary: User-Agent
How can solve to Alias work with domain.tld format?
View 1 Replies
View Related
Jul 9, 2015
I have a weird problem happening to only few of my domains. From web browser, any of URL below is working fine:
webmail.domain.com
ftp.domain.com (it will open up a new window asking for login info)
domain.com:8443 (it will redirect to control panel login page)
However, URL below not working:
www.domain.com
domain.com
I have checked the DNS entries, all looks alright. I even initiate DNS test from dnsgoodies.com and it return fine.
View 1 Replies
View Related
Jan 6, 2015
I have two servers with the exact same configuration, besides from the version of CentOS that they were running when I deployed Plesk using the autoinstall script. My first server was running CentOS 6.5 during Plesk installation. My second server was running CentOS 6.6. No 3rd part repos were installed before Plesk.
On the first server everything is fine, but on the second server I have issues with FTP. I have tried applying this fix: [URL] ....
Before applying the fix I got 530 Login incorrect when trying to connect to FTP. After applying the fix and restarting the entire server I got 550 /: permission denied
View 2 Replies
View Related
Dec 18, 2014
I running magento on plesk 12 and trying to configure nginx, but only home page is working and all other pages are not working with error 404.
View 6 Replies
View Related
Aug 31, 2014
I have an Issue with API.
I have mine Custom billing Panel Today my Developer start code API for it by Docs that Parallels given but we got stuck on Subscription...
if we set login name and password
API shows this error
While creating subscription
Error 2204 Unable to update hosting preferences. Unable to check system user existence: login name is empty
It happens only while creating the subscription...
Creating of user is working fine only subscription don't want work and we don't know why we tried many things and none of it works.
View 4 Replies
View Related
Nov 4, 2014
I have set up a CentoS 6 & Plesk 12.0.18 server as master and a reseller. I enabled the shared IP under IP address in the tools section.
I then added a customer and domain. then I added reseller with domain and 2 customers with domain under that. I changed the nameservers at registrar to the IP of the new server. When I use the control panel and under each domain I use the PREVIEW and each domain shows the index.html file I uploaded. When I choose OPEN it opens a new window to the domains address and I get webpage not found. And yes it has been almost 36 hours since the registrar change in case you are wondering.
Is there a setting I am missing or is the server set up wrong? Why wont it show the webpages as it does in the previews?
View 7 Replies
View Related
Aug 20, 2014
We just upgraded from Plesk 10.4.4 to 11.5.30 and can't seem to get FTPS to work.
I presume it should be running on port 990, but the server is not listening on that port (only 21 for FTP).
Code:
netstat -lptu | egrep 'ftp|990'
tcp 0 0 *:ftp *:* LISTEN 20354/xinetd
We've enabled FTPS on the Server > Security Policy page.
View 7 Replies
View Related
May 29, 2014
I have a VPS on Webfusion which auto upgraded last night to Plesk 11.5.30 #45. However, I used to have the domain registrar, 123-reg manage my DNS & now since the upgrade I've lost access to all emails & ftp access but the domains still work ok.
whether I should delete all DNS records at 123-reg & point to my VPS now? The DNS parameters in Plesk appear to be different to 123-reg. I
View 3 Replies
View Related