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 (مدير مضيف ويب) التي استضافتها انقاذ جميع الحسابات (ما لم تكن مستبعدة ، وقواعد البيانات 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 أو cpmove - username.tar.gz) / المنزل دليل (أو / 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: بدلا من ذلك ، يمكن أيضا أن المدير العام للدخول إلى الخادم عبر غطاء المني كما الجذرية ، ثم تشغيل الأمر التالي في قوقعة :
/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 / WHM
- cPanel Invalid License File After Changing Hostname Error cPanel ملف رخصة صالحة بعد تغيير اسم المضيف خطأ
- Auto Delete Forwarded Emails in cPanel Web Host وقدم السيارات وحذف الرسائل الالكترونية في cPanel الإنترنت المضيف
- Restore Windows XP and 2003 .bkf Backups in Windows Vista and Longhorn Server with NT Backup Restore Utility استعادة ويندوز إكس بي و 2003. bkf المساعدون في ويندوز فيستا وقرون طويلة مع خادم الإقليم الشمالي استعادة النسخ الاحتياطي المنفعة
- How to Backup and Restore (Export and Import) MySQL Databases Tutorial كيفية النسخ الاحتياطي واستعادة (الصادرات والواردات) وقواعد البيانات MySQL دروس
- How to Restart (Stop or Start) cPanel Service (cpsrvd) via Telnet or SSH كيفية استئناف (أوقفوا أو ابدأ) cPanel دائرة cpsrvd) عبر التلنت أو غطاء المني
- How to Backup And Restore Email In Gmail Account Easily كيفية النسخ الاحتياطي واستعادة البريد الالكتروني بسهولة وفي حساب Gmail
- Restore Windows NT Backup (ntbackup) .bkf in Vista and 'Longhorn' Server 2008 استعادة النسخ الاحتياطي ويندوز الإقليم الشمالي (ntbackup). bkf في ويندوز فيستا 'قرون طويلة' خادم 2008
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM) كيفية إضافة إلى عناوين بروتوكول الإنترنت مع خادم مدير cPanel استضافة ويب (WHM)










































April 27th, 2009 02:28 نيسان / أبريل 27th ، 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 نيسان / أبريل 27th ، 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 نيسان / أبريل 27th ، 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. وتبعا ل- الذيل و / 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 -- / الوطن / 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 القطران - 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. بمجرد أن انتهى يمكنك نسخ ولصق قائمة / مخطوطات / restorepkg accountname غطاء المني في نافذة جديدة للخدمة ، والانتهاء من ذلك.
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) ، وتكرر الخطوات المذكورة أعلاه.