نمایش نتایج: از شماره 1 تا 4 , از مجموع 4

موضوع: آموزش گرفتن بک آپ و ریستور کردن اکانت از طریق ssh

  1. #1
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,975
    تشکر شده در
    2,085 پست

    پیش فرض آموزش گرفتن بک آپ و ریستور کردن اکانت از طریق ssh

    Sometimes there is a need to backup a CPanel account without logging into the endusers CPanel yourself. In those situations the account can also be backed up via SSH. Every CPanel server comes with scripts that can be executed via SSH. In this case we will use the script:

    pkgacct

    from the /scripts folder on your server.

    1. Log into your server by using SSH

    * Change to the root user
    su - root

    (See our server security tutorial for more information on this login procedure)

    2. Change directories to the script directory by executing the following command: cd /scripts

    3. Execute the CPanel script for the account backup:

    ./pkgacct username
    (replace the username with the actual acount username that you are going to backup)

    The screen output will look similar to this:

    Copying domain Config...Done
    Copying Mail files....Done
    Copying proftpd file....Done
    Copying www logs...Done
    Grabbing mysql dbs...Done
    Grabbing mysql privs...Done
    Copying mailman lists....Done
    Copying mailman archives....Done
    Copying homedir....Done

    4. The backup file will be placed in the users home directory.

    You can now access the file and copy or move it to your backup drive or download it via ftp.


    How to restore a Domain Account via SSH


    1. Upload or copy the backup file (Example File Name: cpmove-joeuser.tar.gz) to the domain account Home directory via FTP.

    2. Log into your server by using SSH

    * Change to the root user
    su - root

    (See our server security tutorial for more information on this login procedure)

    3. Change directories to the script directory by executing the following command: cd /scripts


    4. Execute the appropriate CPanel script for the account restore:

    /scripts/restorepkg username
    (replace username with the domain account username)
    (make sure that the file name matches the necessary naming convention - follow the naming scheme seen in our example)

    This will restore the domain account from the backup, as well as it will create the CPanel account. We have not tried to do a restore on top of an existing CPanel account yet, but we have heard that this should work just fine. Please test accordingly
    سوالی در این مورد داشتید من در خدمتم
    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

  2. تعداد تشکر ها ازVahid به دلیل پست مفید


  3. # ADS




     

  4. #2
    عضو جدید nasleweb آواتار ها
    تاریخ عضویت
    May 2009
    محل سکونت
    Tehran
    نوشته ها
    22
    تشکر تشکر کرده 
    170
    تشکر تشکر شده 
    35
    تشکر شده در
    18 پست

    پیش فرض پاسخ : آموزش گرفتن بک آپ و ریستور کردن اکانت از طریق ssh

    اگر بک آپ ها در سرور دیگری باشد (سرویس بک آپ جداگانه در دیتاسنتری دیگر) و بخواهیم آنها را Restore کنیم چه باید کرد؟

  5. تعداد تشکر ها ازnasleweb به دلیل پست مفید


  6. #3
    عضو انجمن
    تاریخ عضویت
    Jan 2010
    محل سکونت
    International Network
    نوشته ها
    669
    تشکر تشکر کرده 
    1,245
    تشکر تشکر شده 
    1,541
    تشکر شده در
    882 پست

    پیش فرض پاسخ : آموزش گرفتن بک آپ و ریستور کردن اکانت از طریق ssh

    دوستان یکی نیست جواب این دوستمون نسل وب رو بده؟
    منم سوال ایشون رو دارم!

  7. #4
    کاربر اخراج شده
    تاریخ عضویت
    Jan 2011
    محل سکونت
    Linux
    نوشته ها
    780
    تشکر تشکر کرده 
    1,172
    تشکر تشکر شده 
    2,723
    تشکر شده در
    1,460 پست

    پیش فرض پاسخ : آموزش گرفتن بک آپ و ریستور کردن اکانت از طریق ssh

    نقل قول نوشته اصلی توسط nasleweb نمایش پست ها
    اگر بک آپ ها در سرور دیگری باشد (سرویس بک آپ جداگانه در دیتاسنتری دیگر) و بخواهیم آنها را Restore کنیم چه باید کرد؟
    اول با ftp انتقال بدید به سرور اصلی بد ریستور کنید
    http://www.webhostingtalk.ir/f56/16952/

  8. تعداد تشکر ها ازfaranetwork به دلیل پست مفید


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. آموزش ریستور کردن بکاپ سی پنل
    توسط roozbeh837 در انجمن سی پنل CPanel
    پاسخ ها: 0
    آخرين نوشته: September 15th, 2014, 00:09
  2. آموزش ریستور فول بک آپ
    توسط lnspiron در انجمن مباحث و منابع آموزشي
    پاسخ ها: 3
    آخرين نوشته: July 24th, 2014, 22:47
  3. اموزش کامل ریستور
    توسط firebax در انجمن سی پنل CPanel
    پاسخ ها: 2
    آخرين نوشته: February 5th, 2013, 18:00
  4. آموزش ریستور کردن بکاب : دایرکت ادمین
    توسط pc.rootall در انجمن دايرکت ادمين DirectAdmin
    پاسخ ها: 12
    آخرين نوشته: September 25th, 2012, 23:58
  5. آموزش کامل ریستور کردن بک آپ در دایرکت ادمین
    توسط ALI-US در انجمن دايرکت ادمين DirectAdmin
    پاسخ ها: 1
    آخرين نوشته: August 3rd, 2012, 01:15

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •