Restore Full Backup or cpmove File in cPanel Web Host שחזור קובץ הגיבוי או מלאה cpmove מארח אינטרנט ב cPanel
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. המארח אינטרנט או שרת אינטרנט המופעל על ידי לוח הבקרה cPanel יש תכונה מאוד נוחה לשחזר גיבויים במקרה של צורך של התאוששות מאסון, מקרי של נתונים או לאבד את אירוח חשבון עובר לשרת אחר. 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. ב cPanel, אפשר להגדיר באמצעות גיבוי מתוזמן WHM (למארח Manager) אשר אירוח להציל את כל החשבונות (אלא אם כן נשלל), מסדי נתונים MySQL ו / או קבצי תצורה, או גיבוי מלא של המשתמש החשבון האישי אשר משליכה על בספריית השורש של המשתמש כמו זפת. . בארכיון GZ באמצעות ממשק cPanel.
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? מה כדאי לעשות עם הקובץ גיבוי מלא במקרה כאשר אתה באמת צריך להשתמש בו כדי לשחזר חשבון או להעביר מתארח אתר מן הישן על אירוח השרת?
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). לשחזר קובץ גיבוי מלא, פשוט להעביר את הקובץ (בדרך כלל בשם כמו username.tar.gz או username.tar.gz cpmove-) ל / ספריית הבית (או usr / הביתה, / אינטרנט, / home2, / home3, / , שורש / usr המדריך אם רלוונטי). Then login to cPanel WHM (WebHost Manager), and click on Restore a Full Backup/cpmove file link under the Backup section. ואז להתחבר ל cPanel WHM (למארח מנהל), ולחץ על שחזור גיבוי מלאה / קישור קובץ cpmove תחת הסעיף גיבוי. Enter the user name for the account to restore in the text field after “Enter the username for the account you wish to restore”. הזן את שם המשתמש עבור החשבון לשחזר בשדה הטקסט לאחר "הזן את שם המשתמש עבור החשבון שברצונך לשחזר". Finally click on Restore button and wait for the restoration process to complete. לבסוף לחץ על כפתור שחזור ולחכות תהליך שיקום כדי להשלים.
Alternatively, administrator can also login to the server via SSH as root, and then run the following command in shell: לחלופין, מנהל מערכת יכול גם להתחבר לשרת באמצעות SSH כמו השורש, ולאחר מכן הפעל את הפקודה הבאה במעטפת:
/scripts/restorepkg username / סקריפטים / restorepkg שם המשתמש
There is no need to create the account prior to restore as the account will be automatically created if it does not exist. אין צורך ליצור את החשבון לפני לשחזר כחשבון ייווצר באופן אוטומטי אם זה לא קיים. All the user files and folders including databases will be restored to the correct locations. כל משתמש קבצים ותיקיות כולל מסדי נתונים ישוחזר למקומות הנכונים. There is not need to untar or extract the backup file. אין צורך untar או לחלץ את קובץ הגיבוי.
IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף מכונת תירגם מתפרסם "כמות שהוא" ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to נא עיין original English article המאמר המקורי באנגלית whenever possible. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- How to Change Hostname in cPanel Web Host כיצד לשנות את שם המארח של מארח האינטרנט cPanel
- Cannot FTP to Web Host or Server running cPanel/WHM לא יכול cPanel FTP כדי אינטרנט או שרת מארח פועל / WHM
- cPanel Invalid License File After Changing Hostname Error cPanel חוקית קובץ הרישיון לאחר שינוי שם המארח שגיאה
- Auto Delete Forwarded Emails in cPanel Web Host מחיקה אוטומטית של הודעות דוא"ל שהועברה מארח אינטרנט cPanel
- How to Restart (Stop or Start) cPanel Service (cpsrvd) via Telnet or SSH איך להפעיל מחדש (עצור או התחלה) cPanel שירות (cpsrvd) דרך Telnet או SSH
- Restore Windows XP and 2003 .bkf Backups in Windows Vista and Longhorn Server with NT Backup Restore Utility לשחזר את Windows XP ו -2003. גיבויים bkf ב-Windows Vista ו Longhorn Server NT עם כלי השירות 'שחזור גיבוי
- How to Backup and Restore (Export and Import) MySQL Databases Tutorial כיצד גיבוי ושחזור (ייצוא וייבוא) MySQL Databases Tutorial
- Account Locks Out Due to Brute Force Protection in cPanel WebHost Manager (WHM) חשבון מנעולים עקב Brute כוח הגנה במנהל למארח cPanel (WHM)
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM) כיצד להוסיף כתובות IP Server עם מנהל למארח cPanel (WHM)
- Back Up, Restore And Clone or Image Disk With Free EASEUS Todo Backup הגיבוי, השחזור ומה שיבוט או דיסק עם תמונה חינם EASEUS Todo גיבוי










































August 18th, 2009 04:20 18 אוגוסט 2009 04:20
In my case, i want to transfer my site of providor. במקרה שלי, אני רוצה להעביר את האתר שלי של providor. I have any solution is in 3o. יש לי כל פתרון הוא 3o. Pass: סיסמא:
First you go to CPANEL and CLICK the BUTTON: Files / Backups / Download or Generate a Full Web Site Backup ראשית, עליך ללכת CPanel ולחץ על הלחצן: קבצים / גיבויים / הורדה מלאה או צור גיבוי אתר אינטרנט
Generate a Full Backup and put on NEW site. צור גיבוי מלאה ולשים על האתר החדש.
And put the login, password, remote server, its can transfer big places (My file is 2,6 Giga) והכנסתי את שם המשתמש, הסיסמה, השרת המרוחק, ניתן להעביר למקומות שלה גדול (הקובץ שלי הוא Giga 2,6)
Second: Go to the New Providor, and open the file in FILE MANAGER, because the space RESTORE BACKUP get the file of internet and come to bee too slow!!!!! שנית: עבור אל Providor חדש לפתוח את הקובץ ב מנהל הקבצים, משום מקום RESTORE BACKUP לקבל את הקובץ של האינטרנט ולבוא דבורה !!!!! איטי מדי In FILE MANAGER extrat to file /HOME2 and get the file called homedir.tar (My HOMEDIR.TAR have 2325 M), and extrat anytime more to /HOME3 dir and going to /PUBLIC_HTML and move to original /public_html director. בשנת extrat מנהל הקבצים לקובץ / HOME2 ולקבל את הקובץ בשם homedir.tar (HOMEDIR.TAR שלי יש ז 2325), ו extrat בכל עת יותר / Dir HOME3 וללכת / public_html ולעבור הבמאי המקורי / public_html.
Third: Make the MYSQL backup step by step and restore one by one. השלישי: לעשות את הצעד MYSQL גיבוי ושחזור צעד אחד אחד.
God Bless You. אלוהים יברך אותך. Sorry my english, i am Brazilian. מצטער האנגלית שלי, אני ברזילאי. My msn: MSN שלי: danielc@yawl.com.br danielc@yawl.com.br
July 20th, 2009 02:21 20 יולי 2009 02:21
Hey thanks it worked היי תודה זה עבד
July 17th, 2009 21:52 17 יולי 2009 21:52
Restore a Full Backup/cpmove file שחזור גיבוי מלאה / קובץ cpmove
Link not found!!! קישור לא נמצא!
I'm used hostgator and cpanel 11 אני רגיל HostGator ו cpanel 11
April 27th, 2009 02:28 27 אפריל 2009 02:28
Annoying but the hard return quote doesn't show up in the messages above. מעצבן אבל קשה להחזיר את הציטוט לא יופיע בהודעות לעיל. (maybe the editor can correct this) So the following should read as: (אולי העורך יכול לתקן את זה) אז הבא בתור צריך לקרוא:
“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) "להחליף את כל שם חשבון עם חיפוש והחלפה עם השיבה (קשה) / סקריפטים / restorepkg" (הולך ממש מהר, אותו הדבר נכון גם עבור חיפוש והחלפה / סקריפטים / pkgacct)
April 27th, 2009 02:22 27 אפריל 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 סליחה, חוזרת זה: הבא "שם חשבון עם כל עם להחליף / סקריפטים / restorepkg" צריך לקרוא כמו "שם חשבון עם כל חיפוש והחלפה עם / סקריפטים / restorepkg
April 27th, 2009 02:17 27 אפריל 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. היו לי הרבה חשבונות שלא להעביר cPanel המשיך להגיד לי את הסיסמה לא היתה נכונה. All the solutions I found on the web didn't work. כל הפתרונות שמצאתי באינטרנט לא עובד. I had copied the list of accounts which didn't migrate. היה לי להעתיק את רשימת חשבונות אשר לא נודדים. In a text editor which could also find and replace hard returns, I first replace all the …. בעורך טקסט כלשהו אשר יכול גם למצוא ולהחליף מחזיר קשה, אני הראשון להחליף את כל .... 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. נכשל עם מחרוזת ריקה, ואז הוספתי / סקריפטים / restorepkg לפני כל שם חשבון עם להחליף עם / סקריפטים / restorepkg ו עשה את אותו הדבר בקובץ אחר עם / סקריפטים / pkgacct מול שם כל חשבון.
On the old server I executed in the directory /scripts the command ./cpbackup –force בשרת הישן אני להורג בספרייה / סקריפטים הפקודה. / Cpbackup כוח
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. ובהתאם הזנב-F / usr/local/cpanel/logs/cpbackup/1240680453.log (להחליף את קובץ היומן עם מראה אחד cpbackup) כדי לראות פעם אחת זה נגמר.
Then I pasted the second list with /scripts/pkgacct username on the old server and went out to fetch a beer. ואז אני הדביקה את הרשימה השניה עם / סקריפטים / pkgacct שם המשתמש בשרת הישן ויצא להביא בירה. After a long time and several beers when all the accounts were finished I did the following: אחרי הרבה זמן, כמה בירות, כאשר כל החשבונות נגמרו עשיתי את הפעולות הבאות:
tar zcvf – /home/cpmove* | ssh root@ip_of_your_new_server “cat > /complete.tar.gz” zcvf זפת - / home / cpmove * | שורש ששש @ ip_of_your_new_server "החתול> / complete.tar.gz"
(all on one line) (הכל בשורה אחת)
It will ask for a password of the new server and after entering that you can get another beer. זה יבקש סיסמא של השרת החדש לאחר הזנת שאתה יכול להשיג עוד בירה.
Once finished you can go to / on the new server and execute the following command לאחר גמר אתה יכול ללכת / בשרת החדש להפעיל את הפקודה הבאה
tar -zxvf complete.tar.gz זפת complete.tar.gz zxvf
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. ברגע זה סיים אתה יכול להעתיק ולהדביק את הרשימה עם / סקריפטים / restorepkg accountname לתוך חלון SSH של השרת החדש וסיימת.
Open two windows of WHM (old and new server) and click on both “Show Reseller Accounts”. פתח שני חלונות של WHM (הישן והחדש שרת) ולחץ על שניהם "הצג חשבונות למשווק". You can compare them pretty quick to see if they match. אתה יכול להשוות אותם די מהר כדי לראות אם הן תואמות. (reseller so and so has so many accounts) if they match, you're good. (המשווק כך וכך יש כל כך הרבה חשבונות) אם הם תואמים, אתה טוב. The ones missing you can easily delete all the cpmove files and create one for the ones still missing. אלה חסרים אתה יכול בקלות למחוק את כל הקבצים cpmove וליצור אחד עבור אלה עדיין נעדר. (in my case only 2 out of 300) and repeat the steps described above. (במקרה שלי רק 2 מתוך 300) וחזור על הצעדים שתוארו לעיל.