Restore Full Backup or cpmove File in cPanel Web Host Restore Full Backup ali cpmove datoteke 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. Spletna gostiteljice ali spletnega strežnika, ki jih napaja cPanel nadzorna plošča je zelo priročno funkcijo za hitro ponovno vzpostavitev kakršne koli varnostne kopije v primeru, da je treba o nesrečah, nenamerno izgubili podatkov ali gostovanje računu gibljejo na drugem strežniku. 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 mogoče konfigurirati redne backup preko WHM (webhost Manager), ki gosti shranite vse račune (razen izključeni), MySQL podatkovnih baz in / ali konfiguracijske datoteke, ali popolno varnostno kopijo uporabnik lasten račun, ki stresa za uporabnika root direktorij kot. Katrana . gz arhiva preko cPanel vmesnik.
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? Kaj storiti s popolno varnostno kopijo datoteke v primeru, ko je res treba, da ga uporabi za obnovitev računa ali migrirajo v gosti spletne strani preko starih gostiteljski strežnik?
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). Če želite obnoviti celoten backup file, enostavno premaknete datoteko (običajno imenovan kot username.tar.gz ali cpmove-username.tar.gz) za / home direktorij (ali / usr / home, / web, / home2, / home3, / root, / usr directory če je primerno). Then login to cPanel WHM (WebHost Manager), and click on Restore a Full Backup/cpmove file link under the Backup section. Potem prijavo v cPanel WHM (webhost Manager), in kliknite na gumb Obnovi a Full Backup / cpmove datoteke povezavo pod Backup oddelku. Enter the user name for the account to restore in the text field after “Enter the username for the account you wish to restore”. Vnesite uporabniško ime za račun obnoviti v besedilno polje po "Vnesite uporabniško ime za račun, ki ga želite obnoviti." Finally click on Restore button and wait for the restoration process to complete. Na koncu kliknite na gumb Obnovi in počakajte za obnovo postopka za njegovo dokončanje.
Alternatively, administrator can also login to the server via SSH as root, and then run the following command in shell: Druga možnost je, da skrbnik lahko tudi prijavite na strežnik preko SSH, kot root, potem pa zaženite naslednji ukaz v lupini:
/scripts/restorepkg username / skripte / restorepkg uporabniško ime
There is no need to create the account prior to restore as the account will be automatically created if it does not exist. Nobene potrebe ni, da se ustvari račun pred obnoviti kot račun se bo samodejno ustvarila, če ne obstajajo. All the user files and folders including databases will be restored to the correct locations. Vse uporabniške datoteke in mape, vključno z zbirkami podatkov se bo ponovno pravilno lokacijah. There is not need to untar or extract the backup file. Ni treba, da untar ali izpisek varnostne datoteke.
IMPORTANT : The page is machine translated and provided "as is" without warranty. POMEMBNO: Ta stran je stroj prevod in če "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumeti. Please refer to Prosimo, da original English article original English članek whenever possible. kadar je to mogoče.
Related Articles Sorodni članki
- How to Change Hostname in cPanel Web Host Kako spremeniti Hostname v cPanel Web Host
- Cannot FTP to Web Host or Server running cPanel/WHM Can't FTP s spletnega gostitelja ali strežnika teče cPanel / WHM
- cPanel Invalid License File After Changing Hostname Error cPanel Neveljaven licenčni datoteke Po Spreminjanje Hostname Napaka
- Auto Delete Forwarded Emails in cPanel Web Host Auto Delete Posredovano e-v cPanel Web Host
- Restore Windows XP and 2003 .bkf Backups in Windows Vista and Longhorn Server with NT Backup Restore Utility Obnovitev operacijskega sistema Windows XP in 2003. Bkf Backupi v operacijskem sistemu Windows Vista in Longhorn Server z NT Restore Backup Utility
- How to Restart (Stop or Start) cPanel Service (cpsrvd) via Telnet or SSH Kako Znova (Ustavi ali Start) cPanel Service (cpsrvd) preko Telnet ali SSH
- How to Backup and Restore (Export and Import) MySQL Databases Tutorial Kako varnostno kopiranje in obnovitev (izvoz in uvoz) MySQL Databases Tutorial
- Account Locks Out Due to Brute Force Protection in cPanel WebHost Manager (WHM) Račun Ključavnice Out Zaradi Surovež Force varstvo v cPanel webhost Manager (WHM)
- How to Backup And Restore Email In Gmail Account Easily Kako varnostno kopiranje in obnovitev Email v Gmail račun zlahka
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM) Kako dodati naslov IP strežnika s cPanel webhost Manager (WHM)










































July 20th, 2009 02:21 20. julij 2009 02:21
Hey thanks it worked Hey thanks to delal
July 17th, 2009 21:52 17. julij 2009 21:52
Restore a Full Backup/cpmove file Restore a Full Backup / cpmove datoteke
Link not found!!! Link not found!
I'm used hostgator and cpanel 11 Jaz sem se uporabljajo hostgator in cpanel 11
April 27th, 2009 02:28 27. april 2009 02:28
Annoying but the hard return quote doesn't show up in the messages above. Moteč, vendar je težko vrniti quote ne prikažejo v zgoraj navedenih sporočil. (maybe the editor can correct this) So the following should read as: (morda je urednik lahko popravi to) Torej naslednji bi se moral glasiti:
“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) "Nadomestiti vsako ime v iskanje in nadomestiti z (težko vrniti) / skripte / restorepkg" (gre res hitro, isto velja tudi za iskanje in zamenjavo / skripte / pkgacct)
April 27th, 2009 02:22 27. april 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 Oprosti, rereading to: naslednji "vsak račun z imenom nadomestiti s / skripte / restorepkg" se glasi "vsak račun z imenom iskanje in nadomestiti s / skripte / restorepkg
April 27th, 2009 02:17 27. april 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. Imela sem veliko knjig, ki niso za prenos in cPanel hrani na mi da geslo ni pravilno. All the solutions I found on the web didn't work. Vse rešitve, sem našel na spletu, ni delo. I had copied the list of accounts which didn't migrate. Imel sem kopirati seznam knjig, ki ne migrirajo. In a text editor which could also find and replace hard returns, I first replace all the …. V urejevalnik besedila, ki bi lahko prav tako poiščete in zamenjate trdi poročilih, sem najprej zamenjati vse .... 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. ni s prazen niz, potem sem doda / skripte / restorepkg pred vsako ime s nadomestiti s / skripte / restorepkg in je enako v drugo datoteko s / skripte / pkgacct pred vsako ime.
On the old server I executed in the directory /scripts the command ./cpbackup –force Na starem strežniku sem izvršena v imenik / skripte ukaz. / Cpbackup veljavnosti
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. in zato repu-f / usr/local/cpanel/logs/cpbackup/1240680453.log (logfile nadomestiti z eno cpbackup kaže) za prikaz, ko je bilo končano.
Then I pasted the second list with /scripts/pkgacct username on the old server and went out to fetch a beer. Potem sem prilepili drugi seznam / skripte / pkgacct uporabniško ime za strežnik, stare in šel ven, da prinesi pivo. After a long time and several beers when all the accounts were finished I did the following: Po dolgem času in nekaj piva, če so vsi računovodski izkazi so bili končni sem naredil naslednje:
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 "cat> / complete.tar.gz"
(all on one line) (vse v eni vrstici)
It will ask for a password of the new server and after entering that you can get another beer. To bo prosil za geslo za novega strežnika in po vstopu, da boste lahko dobili še eno pivo.
Once finished you can go to / on the new server and execute the following command Ko končate, lahko greste v / na novi strežnik in izvršiti naslednji ukaz
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. Ko je končal jo lahko kopirate in prilepite seznam / skripte / restorepkg accountname v ssh okno novega strežnika in končali ste.
Open two windows of WHM (old and new server) and click on both “Show Reseller Accounts”. Odpri dva okna WHM (stari in novi strežnik) in kliknite na "Prikaži Reseller računov". You can compare them pretty quick to see if they match. Lahko jih primerjajo kar hitro videli, če se ujemajo. (reseller so and so has so many accounts) if they match, you're good. (prodajalcu tako in tako je toliko računov), če se ujemata, ste dobri. The ones missing you can easily delete all the cpmove files and create one for the ones still missing. Tiste, manjka vam lahko preprosto izbrišite vse datoteke ter ustvarjate cpmove ena za tiste, so še vedno pogrešani. (in my case only 2 out of 300) and repeat the steps described above. (v mojem primeru samo 2 od 300) in ponovite korake, opisane zgoraj.