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

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

Threaded View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #1
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,976
    تشکر شده در
    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 به دلیل پست مفید


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

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

در حال حاضر 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

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

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