Restore Full Backup or cpmove File in cPanel Web Host Obnoviť plnú zálohu alebo cpmove Súbor v cPanel Web Host
Web host or web server powered by cPanel control panel has a very convenient feature to easily restore any backups in case of the need of disaster recovery, accidental lose of data or hosting account moving to another server. Web hostiteľa alebo webový server, powered by cPanel ovládací panel má veľmi pohodlné funkcie pre jednoduché obnovenie akékoľvek preddavky v prípade, že je potrebné na zotavenie, náhodné stratiť dát alebo hosťovaní do úvahy sťahovanie na iný server. In cPanel, it's possible to configure scheduled backup via WHM (WebHost Manager) which save all hosting accounts (unless excluded), MySQL databases and/or configuration files, or full backup of user own account which dumps to user's root directory as a .tar.gz archive via cPanel interface. V cPanel, je to možné nastaviť pravidelné zálohovanie pomocou WHM (webhost Manager), ktorá ušetrí všetkým hosting účtov (ak nie je vylúčený), MySQL databáz a / alebo konfiguračných súborov, alebo úplnú zálohu užívateľského účtu, ktorý vlastné skládky na užívateľov ako koreňový adresár. Tar . gz archívu cez cPanel rozhranie.
What should you do with the full backup file in case when you really need to use it to restore an account or migrate a hosted website over from old hosting server? Čo by ste mali robiť s plným preddavky v prípade, že ho naozaj potrebujete používať ho obnoviť účet alebo migrovať hosťované webové stránky po starej hosting server?
To restore a full backup file, simply move the file (usually named as username.tar.gz or cpmove-username.tar.gz) to /home directory (or /usr/home, /web, /home2, /home3, /root, /usr directory if applicable). Ak chcete obnoviť plnú zálohu súboru, jednoducho presunúť súbor (zvyčajne pomenované ako username.tar.gz alebo cpmove-username.tar.gz) na domovskej adresára (alebo / usr / home / web / home2 / home3 / root / usr adresár ak ho používate). Then login to cPanel WHM (WebHost Manager), and click on Restore a Full Backup/cpmove file link under the Backup section. Potom prihlásení do cPanel WHM (webhost Manager), a kliknite na Obnoviť úplnú zálohu / cpmove súbor pod Preddavok oddielu. Enter the user name for the account to restore in the text field after “Enter the username for the account you wish to restore”. Zadajte svoje užívateľské meno pre účet obnoviť do textového poľa po "Zadajte meno pre účet, ktorý chcete obnoviť." Finally click on Restore button and wait for the restoration process to complete. Nakoniec kliknite na tlačidlo Obnoviť a čakať na obnovenie procesu s cieľom dokončiť.
Alternatively, administrator can also login to the server via SSH as root, and then run the following command in shell: Alternatívne možno aj správcu prihlásení na server cez SSH ako root, a spustite nasledujúci príkaz v shellu:
/scripts/restorepkg username / Scripts / restorepkg meno
There is no need to create the account prior to restore as the account will be automatically created if it does not exist. Nie je potreba vytvoriť účet pred obnoviť ako "účet" bude vytvorený automaticky v prípade, že neexistuje. All the user files and folders including databases will be restored to the correct locations. Všetky súbory a priečinky používateľa vrátane databáz bude obnovená do správneho miesta. There is not need to untar or extract the backup file. Nie je potreba untar alebo výpis záložný súbor.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: Stránka je stroje preložené a poskytované "tak ako sú" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Obráťte sa prosím na original English article Anglický originál článku whenever possible. kedykoľvek je to možné.
Related Articles Súvisiace články
- How to Change Hostname in cPanel Web Host Ako zmeniť Hostname v cPanel Web Host
- Cannot FTP to Web Host or Server running cPanel/WHM Nedá sa na FTP alebo Web Host Server cPanel / WHM
- cPanel Invalid License File After Changing Hostname Error cPanel Neplatná Licencia súborov po zmene Hostname Chyba
- Auto Delete Forwarded Emails in cPanel Web Host Auto Odstrániť postúpené Emaily v cPanel Web Host
- Restore Windows XP and 2003 .bkf Backups in Windows Vista and Longhorn Server with NT Backup Restore Utility Obnovenia systému Windows XP a 2003. BKF zálohovanie v systéme Windows Vista a Longhorn Server s NT Backup Utility Obnoviť
- How to Restart (Stop or Start) cPanel Service (cpsrvd) via Telnet or SSH Ako Restart (Stop alebo Štart) cPanel Service (cpsrvd) alebo cez Telnet, SSH
- How to Backup and Restore (Export and Import) MySQL Databases Tutorial Ako sa na zálohovanie a obnovenie (Export a Import) Databáza MySQL Tutorial
- How to Backup And Restore Email In Gmail Account Easily Ako sa na zálohovanie a obnovenie Email Gmail účtu Jednoducho
- Account Locks Out Due to Brute Force Protection in cPanel WebHost Manager (WHM) Účet Zámky v dôsledku hrubej sily ochrany v cPanel webhost Manager (WHM)
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM) Ako sa k Pridať IP adresy na server s cPanel webhost Manager (WHM)










































April 27th, 2009 02:28 27. apríla 2009 02:28
Annoying but the hard return quote doesn't show up in the messages above. Obťažujúce, ale tvrdý návrat citovať neukáže v správach vyššie. (maybe the editor can correct this) So the following should read as: (Možno sa môže tento editor) Takže nasledujúce by mal znieť takto:
“replace every account name with search and replace with (hard return) /scripts/restorepkg” (Goes really quickly, the same is true for searching and replacing /scripts/pkgacct) "Nahradí každý názov účtu sa hľadať a nahradiť (hard vrátiť) / scripts / restorepkg" (Goes naozaj rýchlo, že to isté platí pre vyhľadávanie a nahrádzanie / scripts / pkgacct)
April 27th, 2009 02:22 27. apríla 2009 02:22
Sorry, rereading it: the following “every account name with replace with /scripts/restorepkg ” should read as “every account name with search and replace with /scripts/restorepkg Ospravedlňujeme sa, že opakované načítanie: nasledujúci: "Každý názov účtu sa nahradiť / scripts / restorepkg" znie ako "každý názov účtu sa hľadať a nahradiť / scripts / restorepkg
April 27th, 2009 02:17 27. apríla 2009 02:17
I had a lot of accounts which didn't transfer and cPanel kept on telling me that the password wasn't correct. Mal som veľa účty, ktoré nepřenesla a cPanel chovaných na to, aby hovorila mi, že heslo nie je správne. All the solutions I found on the web didn't work. Všetky riešenia som našiel na webe nefunguje. I had copied the list of accounts which didn't migrate. Musel som kopírovány zoznam účtov, ktoré neboli migrovať. In a text editor which could also find and replace hard returns, I first replace all the …. V textovom editore, ktorý by tiež mohol nájsť a nahradiť ťažko vráti, já prvý nahradiť všetky .... failed with an empty string, then I added /scripts/restorepkg before every account name with replace with /scripts/restorepkg and did the same in another file with /scripts/pkgacct in front of every account name. nepodarilo sa prázdny reťazec, potom som pridal / scripts / restorepkg pred každý názov účtu sa nahradiť / scripts / restorepkg a robil to isté v inom súbore / scripts / pkgacct pred každý názov účtu.
On the old server I executed in the directory /scripts the command ./cpbackup –force Na starý server jsem vykonávajú v adresári / scripts príkaz. / Cpbackup-force
and accordingly tail -f /usr/local/cpanel/logs/cpbackup/1240680453.log (replace the logfile with the one cpbackup shows)to see once it was finished. a preto chvost-f / usr/local/cpanel/logs/cpbackup/1240680453.log (nahradí logfile s jedným cpbackup ukazuje), aby potom, čo bola ukončená.
Then I pasted the second list with /scripts/pkgacct username on the old server and went out to fetch a beer. Potom som vložili druhý zoznam / scripts / pkgacct meno na starom serveri a vyšiel sehnat pivo. After a long time and several beers when all the accounts were finished I did the following: Po dlhú dobu a niekoľko pív, keď všetky účty boli hotové som urobil nasledujúce:
tar zcvf – /home/cpmove* | ssh root@ip_of_your_new_server “cat > /complete.tar.gz” tar zcvf - / home / cpmove * | ssh root @ ip_of_your_new_server "mačka> / complete.tar.gz"
(all on one line) (všetko na jednom riadku)
It will ask for a password of the new server and after entering that you can get another beer. Bude sa pýtať na heslo na nový server a po zadaní, ktoré je možné získať ďalšie pivo.
Once finished you can go to / on the new server and execute the following command Potom, čo absolvoval môžete ísť do / z nového servera a spustite nasledujúci príkaz
tar -zxvf complete.tar.gz tar-zxvf complete.tar.gz
Once that is finished you can copy and paste the list with /scripts/restorepkg accountname into the ssh window of the new server and you're done. Akonáhle to je hotové môžete skopírovať a vložiť zoznam / scripts / restorepkg accountname do ssh okná na nový server a máte hotovo.
Open two windows of WHM (old and new server) and click on both “Show Reseller Accounts”. Otvoriť dve okná WHM (starý a nový server) a kliknite na oboch "Zobraziť Reseller účty". You can compare them pretty quick to see if they match. Môžete porovnať je dosť rýchly, aby sa zistilo, či sa zhodujú. (reseller so and so has so many accounts) if they match, you're good. (predajcu, tak a tak má toľko účtov), ak sa zhodujú, že ste dobre. The ones missing you can easily delete all the cpmove files and create one for the ones still missing. Ty chýba, môžete ľahko odstrániť všetky súbory a cpmove vytvoriť jednu pre tých, stále chýba. (in my case only 2 out of 300) and repeat the steps described above. (v mojom prípade len 2 zo 300) a opakujte postup opísaný vyššie.