Plesk 11.x / Linux :: Restore Cronjobs From Backup For Particular Domain?
Dec 22, 2014
I have to restore only the cronjobs for a spcecific domain from a plesk backup which is stored on another server. I searched in all the full backup structure but impossible to retrieve the data.
i have make a full Plesk Backup on my Old Server with Plesk 12.0(Ubuntu) and will restore the Backup on my new Server with Plesk 12.0(CentOS).When i will restore the backup i get this error: "Error: The source file is not a valid XML file. If you supplied an archive file containing a backup from Plesk version 9 or later, then extract the contents of this archive, and process the extracted XML file with the converter. If you want to convert a backup file from a Plesk version earlier than 9, then you first need to process it with the pre9-backup-convert utility, and then process the resulting file with the pre10-backup-convert utility."
I made a backup of my website with plesk backup manager on an external FTP, now I want to restore this backup on a new server which isn't using plesk, for test purposes. I've downloaded the backup (which is in .tar) on my PC, and extracted all files firstly from the general .tar archive, then the user_data from .tgz. Then to extract all the databases (they were in a folder "databases" after I've extracted the general .tar file), I extracted them from database_name_145536536.tgz, then from database_name_145536536.tar, so that now I've a series of "database_name_145536536" files. (145536536 are some example numbers).
I'm interested in restoring both files and mysql databases.
To restore the files, I can simply use the extracted files from the user_data archive.
To restore the mysql databases, I tried to do "mysql -p -u username database_name < file" and everything seemed to work fine.
Is this process ok? Is it 100% safe and sure or I could face some bugs?
I've generated migration files on a source server that runs plesk11.5..I've transfer these files to my new server (plesk 12).I've logged into plesk on the new server, go to migration tool and create a new migration using local files.with chrome dev tools. i can see the following a post request is sent to :
/plesk/ server/migration/start/ the response is a redirection ( http status 303 , location = /admin/backup/restore/type/import/id/migration )a
After several attempts to this url I've got : admin/backup/restore/type/import/id/migration net::ERR_TOO_MANY_REDIRECTS..is there a way to restore the data using the command line ?
I am trying to restore a backup that Parallels Plesk made (latest version) and I used to get the option at some point to replace everything. Now, I only get the options to select what I want to restore and it fails because it says certain things, domains, content is already there.
I can't find the option anymore that allows me to say replace everything during the backup. Was that removed? If so, I'd really....really like it back.
Warning: Failed deployment of domain localhost.localdomain Warning: Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create localhost.localdomain -owner admin -do-not-apply-skeleton -notify false -guid 4fe5de63-3103-4fa0-a01c-04894e167107 -vendor-guid 75b2fa01-6c6e-4cb2-8f1b-9c69757fd3ec -creation-date 2014-02-13 -ip 46.165.251.98 -ignore-nonexistent-options failed with return code 1. Stderr is An error occurred during domain creation: There are no available resources of this type (domains) left. Requested: 1; available: 0.
I cant restore my back up. Get following warnings:
Warning:
php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following service plans: Unlimited, Admin Simple, Default Domain, Default Simple, Web Presence Builder, SiteBuilder
Warning:
python is not supported. It will be disabled for the following objects: Service plan 'Unlimited', Service plan 'Admin Simple', Service plan 'Default Domain', Service plan 'Default Simple'
Warning:
The component fail2ban is not installed. It will be disabled for the following objects: Server settings
Warning:
php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following websites: swen.flugzeugbilder.orgClick to expand...
I have a repository backup that I want to partially restore. I see the option "Selected Objects" but it cannot be selected. I'm wondering why that is not an option? I'm also wondering what "restore this backup despite the fact that it does not have a valid signature" means. I see a check box. Is Plesk telling me my backup doesn't have a valid signature? What is the meaning of a "signature"?
I am using Plesk 12.0.18 Update #51 on Ubuntu 14.04.2 LTS.
I want to restore a single Domain from Plesk GUI but it failed:
Archiver error: from /private-backup/plesk/clients/WSKunde/domains/domainname.de/backup_domainname.de_conf_1506200200.tgz: forkExecvPipes: execv() failed: No such file or directory System error 2: No such file or directory Warning: domain "domainname.de"
I have a VPS running Plesk 11.x and yesterdady I tried adding a new domain to my subscription and received this error:
Error: Unable to update domain data: Unable to restore the DNS zone: an error occurred while adding the DOMAINNAME IN A DOMAINNAME record: Incorrect DNS record values were specified.
I have one subscription and under that a few domains. I've not had any DNS issues before so I'm a little stumped as to where to start looking. I suspect DNS template issues but I'm not that au fait with the DNS template so I don't want to start fiddling. My service provider suggested I look at [URL] ... which doesn't appear to be related as I have no duplicate domains under my subscription.
Following on from this the VPS is my personal server and I host a few sites for friends consequently I only have the one subscription. I've been advised that I should have one subscription per domain. Is that correct information?
Would like to know what are the dangers of backing up and restoring full entire system backups (with plesk installed) to another server with a different ip address? Will the restored plesk setup operate properly and offer an ip address change in the system, or will there be any pre-requisites required such as manual ip changing within the system core files?
I would like to have the Backup Manger run a full server backup but exclude one domain that has tons of material which does not need to be backed up as often.
Years ago, Plesk did have the option to choose the domains to backup (Admin login). However, It was a problem at times because I would forget to include new domains.
I do not know of any similar option present now to exclude a domain from the full Scheduled Backup.
I am thinking that I could set up a reseller (myself), put all of the sites I would like to backup more often in that account and run backup from that level.
The Problem with including all of the sites is that the SUPER LARGE site, bogs downs the backup process and I really do not knew it included as often.
Seems if I want to back up a domain's emails to a remote server (3x a week) I might be able to accomplish that with a Scheduled Task / Cronjob? I have a weekly full domain backup from the Plesk scheduled backup. But I can only set one backup per client. So I'd like to backup email separately, several times a week.
I make full backup from my Plesk 11 server and Copy All files over %plesk_dir%/Backup to New server. When I tried to restore them I received this error !
Warning:reseller "banipersia" Failed deployment of domain baqdad.com Warning: Execution of "C:Program Files (x86)ParallelsPleskbindomain.exe" --create baqdad.com -owner "" -do-not-apply-skeleton -notify false -guid D854C8FC-19DE-4256-A172-888155D012A9 -vendor-guid 194764FD-2B44-4F82-BA33-988DFF49FCFE -creation-date 2013-05-23 -ip 78.138.101.47 -ignore-nonexistent-options failed with return code 1. Stderr is Wrong syntax for command's '-owner' parameter. '' does not match the pattern '/^[^s]{1,255}$/'.
After a server migration, some critical Plesk settings were not copied across, even though the option to backup/restore panel configuration was used. e.g.
skeleton (vhosts.skel folder) php.ini (Program Files (x86)ParallelsPleskAdditionalPleskPHP5* folder) Default site (vhostsdefault folder) health config (Program Files (x86)ParallelsPleskadminconfcustom-health-config.xml) Additional Administrator accounts
Is there a way to get these things to backup and restore that I am doing wrong?
Are there other important settings/data that I have missed from that list? I am still paying to keep the old server in case I discover something else!
Using Plesk Backup & Restore for disaster recovery will lose these settings unless they take extra steps. e.g. I now have a simple batch file that copies these files to a private folder on one of the domains before the daily backup kicks in.
I deleted my databases unconsciously in Parallels Plesk 12 for CentOS.I want to restore all data because it's more important for my activities.Is it possible to restore or others possibilities for my problem ?
Yesterday we upgraded V.11 to V.11.5.30. And now we are not able to restore our backups anymore from our main server on our failover server by CLI (we have automated this with cronjobs and need the CLI backup/restore). We have a failover sulotion with two servers and restore the backups of our main server on our failover server!
If we try to create the map file on our failover server, we get the error:
The dump specification '/home/backups/plesk_partnerserver/dumps/backup_info_1308030132.xml' should be inside of dump directory '/home/backups/plesk/dumps'. /home/backups/plesk_partnerserver/dumps is the path on our failoverserver where we store the backups of our main server and /home/backups/plesk/dumps ist the regular dump path of the failover server.
And if we try to restore the file without creating a map file on our failover server with /usr/local/psa/bin/pleskrestore --restore backup_info_1308030132.xml -level server: Unable to resolve all conflicts
What happend? Now after upgrading to 11.5 our backup- and failover-solutions are in big trouble!
After restore (without any errors) some of my files are missing from one particular domain. The files are present in the backup however, they just don't restore. In this case it is a Wordpress installation and the complete wp-content folder did not restore one one of the domains.
I'm working on a plan for restoring my whole Plesk server fast in a worst case scenario. Which will never happen hopefully.
The backup is a full backup done by the Backup Manager in Plesk. It lies on a remote FTP server.
Right now I'm fetching the whole backup directory with wget while in the background the Plesk Installation is running. These actions take about 1h to complete.
Afterwards I would restore with /usr/local/psa/bin/pleskrestore.
Is there a better way? For example installing Plesk directly out of a full backup?