Plesk 12.x / Linux :: Full System Restore With Rsync - Restore Safe?
Mar 23, 2015
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?
Backing up a server is obviously very important. Lets say I do a daily rSync backup and eventually my server HDD crashes, I know it isn't just a 'one click' job to restore my backup but what is it necessary to do in order to carry out a complete and effective restore back to how it was?
A step-by-step 'tutorial' on restoring an rSync backup would be helpful not just to me but to many 'would-be' server administrators.
I have a server with openSuSE 13.1 and Plesk 12.0.18#7 and get following Warnings:
Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts
Warning: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts/s535829144.online.de/httpdocs/contenido/includes/pseudo-cron.inc.php on line 306
I set php.ini from UTC to Europe/Berlin and restart the Server, thats no Effect.
I have inherited a server that has somewhat non-standard config, e.g. NFS mount and lighthttpd. I don't have a handle on all the way it is setup quite yet.
So my question is: If I rsync backup the hard disk to an offsite backup, then in case of a crash, can I restore the whole thing (again using rsync) without any tweaking necessary (which I may not be able to do). In other words, would the webserver start working without any tweaks?
when i want to Restore full backup see this error Restore for cpmove-wwwpakh.tar.gz Searching /home.... checked 25 files..... No Restorable archives found! Searching /usr/home.... checked 0 files..... No Restorable archives found! Searching /web.... checked 0 files..... No Restorable archives found! Searching /home2.... checked 0 files..... No Restorable archives found! Searching /home3.... checked 0 files..... No Restorable archives found! Searching /root.... checked 12 files..... No Restorable archives found! Searching /usr.... checked 16 files..... No Restorable archives found! No archives where found for user wwwpakh.tar.gz! This feature will restore full backups, cpanel backups and cpanel move files in the format of: cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz The files must be in one of these directories on the server: /home,/usr/home,/web,/home2,/home3,/root,/usr
You must upload the file to one of the above locations before using this feature.
I have just used rsync to backup a dedicated server to a new cloud server. I put the files in a plesk webspace 'Backup' folder for ease of use (gui). In File Manager for that webspace it shows the folder user and group as root, which is obviously correct as rsync maintains users etc?
Thats fine, I just wanted to be able to back them up along with the rest of the server configuration and content.
However, when I run backup it says "For security reasons, backing up is performed on behalf of subscription's system user. This system user has no read access to:" and "So it was not backed up. All other data was backed up successfully. To fix this issue you may grant access read/write to the file or directory for system user "(username)" or "apache"."
I don't know how to give read/write access to the system user? Through file manager there is no option to change permissions.
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 ?
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?
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'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 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'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?
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 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...