How to Transfer Files/Backup from Server to Server كيفية نقل الملفات / النسخ الاحتياطي من خادم لخادم

Over the last few months, على مدى الأشهر القليلة الماضية ، Picsopedia Picsopedia has bugged me a lot. وقد تنصتت لي الكثير. It all began when I decided to move Picsopedia from DreamHost to HostGator and then from HostGator to Hostony. بدأ كل شيء عندما قررت الانتقال Picsopedia من DreamHost لHostGator ثم من HostGator لHostony. Just imagine how hard would it have been for me to transfer the whole 5GB big backup from one server to the other. فقط من الصعب تصور كيف كان يمكن أن يكون بالنسبة لي لنقل كامل 5GB احتياطية كبيرة من ملقم واحد على الآخر.

In all this time I managed to discover some tips and tricks that can be used to transfer files/backup from server to server. في كل هذا الوقت تمكنت من اكتشاف بعض النصائح والحيل التي يمكن استخدامها لنقل الملفات / احتياطية من خادم الى خادم. These tips and tricks make use of tools and utilities and are recommended for users who want to transfer huge files from one server to another in least possible time. هذه النصائح والحيل الاستفادة من المرافق والأدوات وينصح بالنسبة للمستخدمين الذين يرغبون في نقل ملفات ضخمة من ملقم واحد إلى آخر في أقل وقت ممكن.

1. cPanel Remote Backup 1. وحة التحكم النسخ الاحتياطي البعيد

This is the most easiest method used to transfer whole site backup from server to server. هذا هو الأكثر أسهل طريقة تستخدم لنقل موقع احتياطية كاملة من الملقم إلى. It makes use of the "Backups" feature in cPanel and needs to be enabled by your host. فإنه يجعل من استخدام النسخ الاحتياطي "" ميزة في وحة التحكم وهناك حاجة إلى تمكين من قبل المضيف الخاص بك.

To use this لاستخدام هذه

  1. Open the Backups manager in your cPanel and click "Generate/Download a Full Backup" فتح مدير المساعدون في وحة التحكم الخاص بك وانقر على "انتج / تحميل النسخ الاحتياطي الكامل"
  2. For Backup destination choose "Remote FTP Server (Passive Mode Transfer)" لاختيار وجهة النسخ الاحتياطي البعيد "خادم بروتوكول نقل الملفات (السلبي واسطة نقل)"
  3. Enter the FTP server, username and password أدخل خادم بروتوكول نقل الملفات ، المستخدم وكلمة السر
  4. Enter the FTP server port (this is usually "21") أدخل منفذ خادم بروتوكول نقل الملفات (عادة ما يكون هذا "21")
  5. Leave Remote Dir field empty دير البعيد ترك الحقل فارغا
  6. Hit "Generate Backup" ضرب "إنشاء النسخ الاحتياطي"

Your backup will now be passively generated and transfer from server to server using the net2ftp protocol. الاحتياطية الخاصة بك الآن سوف تكون سلبية توليد ونقل من الملقم إلى استخدام بروتوكول net2ftp. If you don't see this option in your cPanel then you need to ask your host to enable it. إذا كنت لا ترى في هذا الخيار وحة التحكم الخاص بك ثم عليك أن تسأل المضيفة لتمكينها.

2. SSH 2. سه

SSH is a network protocol that allows data to be exchanged over a secure channel between two computers. سه هو بروتوكول الشبكة التي تتيح البيانات التي يتم تبادلها عبر قناة آمنة بين جهازي كمبيوتر. Now a days nearly every web host provides this on request. الآن أيام تقريبا في كل استضافة المواقع على الشبكة يوفر على هذا الطلب. You will need the ستحتاج PuTTy المعجون client to connect to your server via SSH. العميل للاتصال الخادم الخاص بك عن طريق سه.

Once you are connected via PuTTy just follow the instructions: ذات مرة كنت متصلا عبر المعجون فقط اتبع التعليمات التالية :

  1. Login to server 1 via SSH and open the folder which you want to backup eg 1 الدخول إلى الخادم عبر سه وافتح المجلد الذي تريد مثل النسخ الاحتياطي
    cd /home/somepath/ to /yourwebsite/public_html
  2. Make a compressed archive out of this folder using the command جعل محفوظ مضغوطة للخروج من هذا المجلد باستخدام الأمر
    tar -cvf sitepack.tar ./
  3. Login to server 2 via SSH and use the command below to fetch the backup from server 2 الدخول إلى الخادم عبر سه واستخدام الأمر التالي لإحضار النسخة الاحتياطية من الملقم
    wget yourdomain.com/sitepack.tar
  4. Now uncompress the archive using the command الآن فك ضغط المحفوظات باستخدام الأمر
    tar -xvf sitepack.tar
  5. To check the hirearchy of files and their permissions, use the command للتحقق من hirearchy من الملفات والأذونات الخاصة بهم ، استخدم الأمر

3. FlashFXP 3. منتدى مسابقة أمير

FlashFXP is one of those few FTP clients which allow you to transfer files through FTP from one server to another without downloading them to your local PC first. منتدى مسابقة أمير هو واحد من هؤلاء العملاء بروتوكول نقل الملفات القليلة التي تسمح لك لنقل الملفات عن طريق بروتوكول نقل الملفات من خادم واحد إلى آخر دون الحاجة لتنزيلها على الكمبيوتر الخاص بك أولا المحلية.

I haven't ever tried it myself but it is one of the most recommended FTP software across the Internet. ليس لدي أي وقت مضى حاولت بنفسي ولكنها واحدة من أكثر أوصى بروتوكول نقل الملفات البرمجيات عبر الإنترنت. You can download it from يمكنك تحميل البرنامج من here هنا . .

4. SST Web Script 4. التليسكوب ويب النصي

SST is basically a server to server file transfer PHP web script. طائرة أسرع من الصوت هو أساسا الملقم إلى نقل الملف النصي [فب] على شبكة الإنترنت. It is really useful as I have used it myself several times however it is recommended for small backup/file transfers. فمن المفيد حقا ولقد استخدم هذا بنفسي عدة مرات ومع ذلك فمن المستحسن للنسخ الاحتياطي الصغيرة / نقل الملفات. It has a complete GUI which lets you operate it easily. انها واجهة المستخدم الرسومية الكاملة التي تمكنك من تشغيله بسهولة. You need to install this on server 2 (the server where you want to download your backup) تحتاج إلى تثبيت هذا على الخادم 2 (الملقم حيث تريد تحميل الاحتياطية الخاصة بك)

Download تنزيل the script from Sizlopedia. البرنامج النصي من بيتية.

Thats all! Thats جميع! I knew only 4 best techniques to transfer files/backup from server to server. كنت أعرف سوى 4 أفضل التقنيات لنقل الملفات / احتياطية من خادم الى خادم. If you have any more, please share in the comments. إذا كان لديك أي أكثر من ذلك ، يرجى حصة في هذه التعليقات.

  • Wow! واو! Thanks for the great tips! شكرا للنصائح كبيرة! I might need them anytime for my image hosting site أنا قد يحتاجون إليها في أي وقت لصورتي استضافة الموقع
  • It must be hard work for you managing such large sites (though Picsopedia is not yet large). لا بد من العمل الشاق للكم إدارة مثل هذه المواقع الكبيرة (على الرغم من Picsopedia ليست كبيرة حتى الآن). Kudos! مجد!

    On a side note, don't you think Sizlopedia's current theme is too minimalist? على الجانب علما ، لا تظن بيتية في الموضوع الحالي هو الحد الأدنى للغاية؟ I like the logo, but everything else is just gray/white/black. أحب الشعار ، ولكن كل شيء آخر هو مجرد الرمادي / أبيض / أسود. wtf, no colors? ترحيبكم ، أي الألوان؟
  • @Haris @ حاريص

    You are welcome! مرحبا بك!

    @Sumesh @ Sumesh

    I know Picsopedia, as compared to a good image hosting site, is still not large enough but with time it will get really big and I am sure of that. وأنا أعلم Picsopedia ، بالمقارنة مع صورة جيدة استضافة الموقع ، لا تزال ليست كبيرة بما فيه الكفاية ولكن مع الوقت انها لن تحصل في الواقع كبيرة وأنا متأكد من ذلك.

    I just like the way Sizlopedia looks now. أنا أحب الطريقة التي تبدو الآن بيتية. Less ads and more content for users. اعلانات اقل والمزيد من المحتوى للمستخدمين.
  • Thanks for the tip Dj. الشكر للمعلومات دي جي. It will be helpful when i will move my site to a new server. انها سوف تكون مفيدة عندما كنت في موقعي سوف ينتقل إلى ملقم جديد.
  • Thanks DJ For these Tips. دي جي الشكر لهذه النصائح.

    Very soon am going to transfer my 2GB Data to some other server. قريبا جدا انا ذاهب الى بلدي 2GB نقل البيانات إلى خادم بعض الآخر. So this will help me a lot. ولذلك فإن هذا سيساعدني كثيرا.
  • Hi, مرحبا ،
    As I am having limited bandwidth here in India so does the above mentioned process gonna affect that...Or it will just transferred without any connection to the PC? كما أنني أواجه محدودة النطاق الترددي هنا في الهند حتى لا العملية المذكورة أعلاه ستعمل يؤثر ذلك... أو أنه سوف ينقل فقط دون أي اتصال بجهاز الكمبيوتر؟

    Thanks! شكرا! for creating sizlopedia لخلق بيتية
  • @ Mayank @ مايانك

    All these methods use passive server to server connections so you don't need to worry about your local Internet bandwidth جميع هذه الأساليب استخدام ملقم سلبي للاتصالات الخادم لذلك لا داعي للقلق بشأن عرض النطاق الترددي الخاص بك المحلية الإنترنت
  • Hi, مرحبا ،
    i used the above php script , but it's not working for me properly لقد استخدمت السيناريو أعلاه [فب] ، لكنها لا تعمل بشكل صحيح بالنسبة لي
    Request Status : حالة الطلب :
    Error downloading from من الخطأ تحميل http://www.songspedia.com/abc.exe http://www.songspedia.com/abc.exe

    I want to transfer my site to another sever, i got about 70 Gb data , أريد أن أقوم بنقل موقع إلى آخر قطع ، وحصلت على حوالي 70 جيجابايت ،
    Thanks, شكرا ،
    Regards Sumair فيما يتعلق Sumair
  • 70GB is a little too big to handle as the script will need a lot of memory to do this transfer and will eventually end up in a timeout. 70GB قليلا كبير جدا للتعامل مع مثل السيناريو سوف تحتاج إلى الكثير من الذاكرة للقيام بذلك ، وسيتم نقل في نهاية المطاف في مهلة.

    You should use the cPanel Backup method, perhaps thats the only method that can handle the transfer of such big amount of data. يجب عليك استخدام الأسلوب وحة التحكم النسخ الاحتياطي ، وربما ثت الطريقة الوحيدة التي يمكن التعامل مع نقل كمية كبيرة من هذه البيانات.
  • SST (Server to Server Transfer) is a great script. طائرة أسرع من الصوت (خادم لخادم نقل) هو السيناريو الكبير. Just that i was thinking to find a edited copy / editing it with someone so that it could be freed of that 5 MB filesize transfer restriction. فقط كنت أفكر في أن العثور على نسخة تحريره / تحريره مع شخص بحيث يمكن اطلاق سراحه من ذلك تقييد حجم الملف 5 ميغا بايت نقل. If that could be done, things would be quite sweet than they are at the moment. إذا ما يمكن عمله ، لكانت الأمور قد حلوة جدا عما هي عليه في الوقت الراهن. Please assist if you can, ill be more that pleased than ever if this happens !!! الرجاء المساعدة إذا كنت تستطيع ، وسوء سروره بأن تكون أكثر من أي وقت مضى اذا كان هذا يحدث!
  • Antonimo Antonimo
    @RD @ العملي


    SST file, "downloader.php" - line 155: طائرة أسرع من الصوت الملف ، "downloader.php" -- سطر 155 :

    Changing this line: تغيير هذا السطر :
    $maxsize=1048576*5;
    to إلى
    $maxsize=1048576*20;
    gives a 20 MB limit. يعطي 20 ميغا بايت.

    If you go too large, you will run out of memory. اذا ذهبت كبيرة جدا ، سوف نفدت الذاكرة. I ran out at approximatey 120 MB لقد نفد في approximatey 120 ميغابايت
  • Salman سلمان
    Hi DJ, مرحبا دي جي ،
    I made backup successfully using cPanel Remote Backup now can you plz tell me how to restore that backup file on to my new server so that everything become correct as it is on previous server. أنا جعلت احتياطية بنجاح وحة التحكم عن بعد باستخدام النسخ الاحتياطي الآن يمكنك بلز تخبرني كيفية استعادة النسخ الاحتياطي على هذا الملف لخدمة بلدي جديد بحيث يصبح كل شيء كما هو الصحيح على الخادم السابقة.
  • To restore the backup the best thing to do is contact your web hosting support as they are more skilled in this mapper. لاستعادة النسخ الاحتياطي أفضل شيء نفعله هو الاتصال استضافة الويب الخاص بك الدعم لأنهم أكثر مهارة في هذا مخطط.

    Otherwise you can simply extract the TAR and use your files and folders the way you want. على خلاف ذلك يمكنك ببساطة استخراج تقرير التقييم الثالث واستخدام الملفات والمجلدات بالطريقة التي تريدها.
  • Can anyone suggest me a way to sync my local back files with the server files? يمكن لأي شخص أن يوحي لي وسيلة لمزامنة بلدي المحلية الملفات مرة أخرى مع خادم الملفات؟ And if I can sycn it everyday? واذا كنت استطيع sycn كل يوم؟ I need a local backup files, up-to-day. أحتاج إلى الملفات المحلية احتياطية ، حتى ليوم. :) Thanks! :) شكرا!
  • I used SSH commands to transfer 1.5gb over to my new server, it worked a treat. أنا استخدم لنقل أوامر سه 1.5GB إلى أكثر من خدمة بلدي جديد ، لأنها عملت على علاج. Thanks for this great info, it saved me a lot of time, hassle and bandwidth شكرا لهذه المعلومات العظيمة ، أنها وفرت لي الكثير من الوقت ، ومشاحنات وعرض النطاق الترددي
  • Abdul Wahid عبد الواحد
    Hi مرحبا

    I get this for a 52mb file. أحصل على هذا الملف ل52MB.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 31196379 bytes) in /home2/funk999/public_html/siteadmin/downloader.php on line 166 خطأ فادح : يسمح الذاكرة حجم 33554432 بايت استنفدت (حاول تخصيص 31196379 بايت) في / home2/funk999/public_html/siteadmin/downloader.php على خط 166

    I increased the memory limit aswell, it use to be fine untill i upgraded to php5 أنا زيادة الحد الذاكرة وكذلك ، فإن استخدام ليكون على ما يرام حتى ط بالترقية إلى php5
    Help! مساعدة!

    Thanks شكرا
  • Exactly what I was looking for with the SSH. بالضبط ما كنت أبحث عنه مع سه.
    Thanks for posting that stuff. شكرا لنشر تلك الاشياء.
  • salman سلمان
    Dear I used your first method to transfer data, means I used cPanel remote data backup and given all the info like FTP server IP, user name, password, port of the new server. عزيزتي أنا استخدم طريقتك الأولى لنقل البيانات ، يعني كنت وحة التحكم عن بعد الحفظ الاحتياطي للبيانات وإعطاء كل المعلومات مثل خادم بروتوكول نقل الملفات الملكية الفكرية واسم المستخدم وكلمة السر ، المنفذ من الملقم الجديد. But after 10 minute, I got the email that the backup completed successfully. ولكن بعد 10 دقيقة ، وحصلت على رسالة البريد الإلكتروني التي النسخ الاحتياطي بنجاح. But this process generated backup on old server, instead of new bought server. ولكن هذه العملية تولد احتياطية على ملقم القديمة ، بدلا من شراء خادم جديد.

    I was thinking that backup will be saved at the new hosting account. كنت أفكر في أن احتياطية سيتم حفظها في استضافة جديدة الاعتبار. Please help me what should I do, or it will slowly transfer at new server ? الرجاء مساعدتي ، ماذا أفعل ، أو أنه سيتم نقل ببطء في الخادم الجديد؟
  • Actually sir! في الواقع يا سيدي! thats what its supposed to do. ثاتس ما من المفترض القيام به.

    It first generates the backup on the local server and then transfers it over the web to the new server through Remote backup facility. لأول مرة يولد النسخ الاحتياطي على الملقم المحلي ثم تنقله عبر الويب إلى الخادم الجديد من خلال تسهيلات النسخ الاحتياطي البعيد.
  • I use net2ftp, a web based ftp client for server to server file transfers. أنا استخدم net2ftp ، على شبكة الإنترنت يقوم العميل لخادم بروتوكول نقل الملفات إلى خادم نقل الملفات. You can download it and install at your server, its a complete FTP client and most important its free. يمكنك تحميل البرنامج وتثبيته على الخادم الخاص بك ، وبروتوكول نقل الملفات العميل كاملة وأهم من الخطوط.
blog comments powered by Disqus بلوق التعليقات مدعوم من هارد