+ ÅäÔÇÁ ãæÖæÚ ÌÏíÏ
ÇáäÊÇÆÌ 1 Åáì 2 ãä 2
  1. #1
    Status
    Offline
    ÇáÕæÑÉ ÇáÑãÒíÉ Rise Company
    Engineering and Technology
    ÊÇÑíÎ ÇáÊÓÌíá
    Apr 2014
    ÇáÏæáÉ
    Egypt
    ÇáãÔÇÑßÇÊ
    4,703
    ãÚÏá ÊÞííã ÇáãÓÊæì
    10

    ÇÝÊÑÇÖí ÇáÓí ÈÇäÇá CPanel ÇÎÐ ÈÇß ÇÈ ßÇãá ÎÇÑÌ ÇáÓíÑÝÑ whm backup to Google Drive


    ÇáÓí ÈÇäÇá CPanel ÇÎÐ ÈÇß ÇÈ ßÇãá ÎÇÑÌ ÇáÓíÑÝÑ whm backup to Google Drive




    ÚäÏ ÝÊÍ ÍÓÇÈ ÌæÌá ÏÑÇíÝ åÊÌÏ Úáì ÇáíÓÇÑ ÇáãÓÇÍÉ æ ÇÓÝáåÇ Buy Storage ÇÖÛØ ÚáíåÇ


    åäÇ ÊÌÏ ÈÇÞÇÊ æÞÏ ÊÌÏ Çä ÇáÇäÓÈ 2tb ÇÐÇ ßÇä áÏíß ÓíÑÝÑ ßÈíÑ æÊÇÎÐ ÈÇß ÇÈ ÇÓÈæÚíì 4 ãÑÇÊ
    ÈÊßáÝÉ 750 Ì ÓäæíÇ æíÊã ÊÍÕíáåÇ ÇæÊæãÇÊíß ãä ÎáÇá ÌæÌá Ïæä ÊÏÎá ãäß æÊÇãä ÇáÓíÑÝÑ ÊÇãíä ÔÇãá


    ãáÍæÙÉ ÚäÏ ÔÑÇÁ ãÓÇÍÉ 2 ÊíÑÇ åÊÌÏ Çäå ãÊÇÍ Çäß ÊÚãá Upgrade áÈÇÞÇÊ ÊÕá Çáì 30tb



    ----------------------------------------------------------
    5 ÎØæÇÊ áÊÝÚíá ÇÚÏÇÏÇÊ Google Drive API
    ----------------------------------------------------------
    https://console.developers.google.com/

    ÎØæÉ ÑÞã 1 ÇäÔÇÁ ÈÑæÌßÊ ÌÏíÏ New Project
    æÇÐÇ ßÇä áÏíß ÇßËÑ ãä ÓíÑÝÑ ÇÚãá áßá ÓíÑÝÑ project ÎÇÕ Èå
    ÍÊì áÇ ÊæÇÌå ãÔßáÉ Ýì Limit æÊÊÌäÈ
    Backup transport errors
    åÐÇ åÇã ÌÏÇ áÇ ÊÌãÚ ÇßËÑ ãä ÓíÑÝÑ ÏÇÎá ãÔÑæÚ æÇÍÏ
    OAuth rate limits Your token grant rate Token grant rates limit how quickly your application can get new users. Your current per day token grant rate limit is 10,000 grants per day. The per day token grant rate resets every day.




    ÎØæÉ ÑÞã 2 ÊÝÚíá Google Drive API ãä Library





    ÎØæÉ ÑÞã 3 ÇäÔÇÁ ÇÚÊãÇÏ Create Credential æÇÎÊíÇÑ OAuth client ID ÝÞØ
    ææÖÚ ÇáÑÇÈØ ÇáÊÇáì ÈäÝÓ ÇáÔßá Ýì ÇáÕæÑÉ ÇáÇÎíÑÉ ãÚ ÊÛííÑ ÇÓã ÇáÇÍãÑ ÈÇáÎÇÕ Èß
    ßæÏ:
    https://server1.myserver.com:2087/googledriveauth/callback







    ÎØæÉ ÑÞã 4 ÇÐåÈ Çáì OAuth consent screen
    Ëã ÝÞØ ÇÖÛØ Úáì ßáãÉ publish ááãÔÑæÚ æ ÇáÇÝÊÑÇÖì åíßæä external



    ÎØæÉ ÑÞã 5 ÇÏÎá ÇáÏæãíä ÇáÎÇÕ ÈÇáÓíÑÝÑ ááÊÍÞÞ ãäå Ýì Domain Verification



    áÇ ÊäÓì publish app



    ----------------------------------------------------------
    ÎØæÇÊ áÊÝÚíá ÇáÈÇß ÇÈ ÏÇÎá whm Ýì Additional Destinations
    ----------------------------------------------------------

    ÇÏÎá ÇáÈíÇäÇÊ ãËá Ýì ÇáÕæÑÉ ÇÓã ÇáÈÇß ÇÈ / ãÌáÏ ÇáÈÇß ÇÈ




    Ýì ÇáÇÚáì Êã ÇÏÎÇá client ID æ client secret ÇáÐì Êã Úãáå Úáì ãæÞÚ ÌæÌá Ýì ÇáÇÚáì
    Ëã ÇÖÛØ Generate Credntials ÇÐÇ áã íÚãá ÇÚãá ÍÝÙ æÇÎÑÌ æ ÇÏÎá ãÑÉ ÇÎÑì æåíÚãá ãÚß

    ÕæÑÉ ãä ÇáãÝÇÊíÍ ÇáÊì Êã ÚãáåÇ Ýì ÇáÇÚáì Êã æÖÚåÇ åäÇ



    ÇáÇä ÇäÊ ãÄãä ÈÔßá ßÇãá
    ÍíË Çä ÇáÈÇß ÇÈ íÇÎÐ local æíÇÎÐ Úáì google drive
    æÇáÈÇß ÇÈ äæÚíä
    ÇáÇæá : åæ ÈÇß ÇÈ áÇÚÏÇÏÇÊ ÓíÓÊã ÇáÓíÑÝÑ ßÇãá System
    ÇáÇÎíÑ : åæ ÈÇß ÇÈ áÌãíÚ ÍÓÇÈÇÊ ÇáãæÇÞÚ áÏíß Accounts

    ãáÍæÙÉ :
    ÚäÏ ßÊÇÈÉ host Èíßæä Èå ÇáÇÒÑÞ : server1.myserver.com
    æÚäÏ ÇÎÊíÇÑ Create OAuth ÇÎÊÑ external
    ÔÇåÏ ÇíÖÇ :
    ÇÎÐ ÈÇß ááÓì ÈÇäá Úáì ÌæÌá ÏÑÇíÝ cPanel Backup to Google Drive
    ÇáÓí ÈÇäÇá WHM/cPanel ÇÖÇÝÉ ÈÇß ÇÈ ÎÇÑÌí SFTP / ftp Backup Space


    ÇáãÑÌÚ:
    https://docs.cpanel.net/knowledge-ba...l-destination/
    https://www.fastcomet.com/tutorials/...o-google-drive
    ------------------------------------------------------------------------
    ÔÑßÉ ÑÇíÒ ááåäÏÓÉ æ ÇáÊßäæáæÌíÇ Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    ÑÞã # 1 Ýì ÎÏãÇÊ ÇáÔÑßÇÊ Business Services

    ÇÓÊÖÇÝÉ ãæÇÞÚ Web Hosting - Úãá Çíãíá ÔÑßÉ Business Emails

    ÊÕãíã ãæÞÚ ÔÑßÉ Web Design - ÊÓæíÞ ÇáßÊÑæäì Úáì ÌæÌá Google Adwords

    www.rise.company | www.rise.company/emails

    ãáÍæÙÉ : ÌãíÚ ÎÏãÇÊäÇ ãÎÕÕÉ ááÔÑßÇÊ ÝÞØ æÛíÑ ãÊÇÍÉ ááÇÝÑÇÏ
    æáíÓ áäÇ Çì ãäÊÌÇÊ Çæ ÕíÇäÉ äåÇÆíÇ! íÑÌì ÇáÇäÊÈÇå Çáì Ðáß.



  2. #2
    Status
    Offline
    ÇáÕæÑÉ ÇáÑãÒíÉ Rise Company
    Engineering and Technology
    ÊÇÑíÎ ÇáÊÓÌíá
    Apr 2014
    ÇáÏæáÉ
    Egypt
    ÇáãÔÇÑßÇÊ
    4,703
    ãÚÏá ÊÞííã ÇáãÓÊæì
    10

    ÇÝÊÑÇÖí ÑÏ: ÇáÓí ÈÇäÇá CPanel ÇÎÐ ÈÇß ÇÈ ßÇãá ÎÇÑÌ ÇáÓíÑÝÑ whm backup to Google Drive

    ----------------------------------------------------------
    ÔÑÍ ÞÏíã ÇáÎØæÇÊ ÈÇáÊÝÕíá

    ----------------------------------------------------------


    ----------------------------------------------------------
    ÎØæÇÊ ÊÝÚíá Google Drive API
    ----------------------------------------------------------

    1) Visit Google Cloud Platform
    2) Click OAuth consent screen from the left-side navigation screen.
    3) Enter the domain name in the Authorized domains section and hit the ENTER key.
    4) Click Save
    5) Click Library from the left-hand side
    6) Find the Google Drive API and click on it
    7) Click on Create Project (or ENABLE if you already have one), Click Manage if already enabled.
    8) Click Credentials in the left-side navigation bar
    9) Click Create credentials drop-down button at the top and select OAuth client ID
    10) Select Web Application
    11) Enter a name (WHM to Google)
    12) In the Authorized redirect URIs text box, enter the https://server.yourcompany.com:2087/googledriveauth/callback link
    13) Click Create. The interface will display your new client ID and client secret
    14) Click Done
    --------------------------------------------------
    15) Log in to WHM as a root-enabled user
    16) Navigate to WHM => Backup => Backup Configuration) and select the Additional Destinations tab
    17) Select Google Drive from the Destination Type menu
    18) Click Create new destination
    19) Enter a destination name of your choice
    20) Enter your client ID and client secret
    21) Click Generate Credentials to generate the credentials file. A new tab will open to allow you to authorize access to your Google Drive data
    NOTE:
    Step 21 will fail if you DO NOT COMPLETE Step 2
    22) Enter the desired timeout
    23) Click Save and Validate


    Create a Google project and configure the Google Drive API

    Configuring a channel for your backups to be pushed on to your Google Drive will require a properly set project and API credentials. All of this can be done very quickly via the Google's Developers Console which you can open via your google account. To create a new project, click on the My Project/Select a Project button at the top of the page.




    If this is the first time you are opening the console, you will not have an active project, so let's create one. Click on the New Project button.



    Name your project so you can recognize it later and click on the Create button.



    Now, you will have to enable the Google Drive API, so click either on its icon if it is present or hit the Enable APIs and Services button.



    Select the Enable option to continue.




    Since later we will need 2 different strings of symbols that will act as our public/private keys,
    we have to add credentials for the API so click on the Create Credentials button.



    Here you will see a plethora of options for each field. The ones that you will need are the following:

    • Which API are you using?
      Google Drive API
    • Where will you be calling the API from?
      Web server (e.g., node.js, Tomcat)
    • What data will you be accessing?
      User data

    When you are done, click on the "What credentials do I need?" option to continue.



    As part 2 of this setup, you will be prompted to create an OAuth 2.0 client ID.
    Add a name which will be easy to remember and be descriptive of the use of credentials and in the Authorized redirect URLs
    add https://server.yourcompany.com:2087/...eauth/callback
    where hostname will be substituted with the actual hostname of your server.
    Note that using your server's IP here will not be possible.




    Click on Create OAuth client ID, and after that, you can pretty much leave part 3 of the setup as it is. On part 4 you will get the Client ID and rest of credentials for the API. Make sure to download the .JSON file as you will need it for the "private key" which in this case is called client_secret. Click Doneto finalize the setup.







    Open the downloaded file with a text editor and copy the client _secret string. You will need this for the configuration of your custom google drive destination in the second half of this tutorial.



    ----------------------------------------------------------------------------------
    Google Drive as an Additional Destination in WHM's backup configuration
    ----------------------------------------------------------------------------------

    To actually make the backup be pushed each time to your Google Drive or as referred in the past - to make a Google Drive transport, you will have to navigate to WHM → Backup → Backup Configuration and switch the to the Additional Destinations tab. Then select Google Drive as a Destination Type.





    Now if you wish to specify in what orders should the backups be kept, you can do so in the Folder field. The Client ID field should be populated with the Client ID which you got from the first part of this tutorial. The same goes for the Client Secret which you got from the .JSON file.
    Once you have copied both API credentials in the correct fields, click on the Generate Credentials button. This is a bit like a reverse of what we just did in the Google Developers console, and now you will be prompted to Authorize Access.





    We recommend you keep the default Timeout value and complete the setup by clicking on Save and Validate Destination. If you click on only Save Destination, a validation can be performed afterward at any time, but that validation is required in order for the backups to actually arrive at your Google Drive. You wouldn't want to do all of this only not to have your backups properly pushed, so validation is a must.
    ------------------------------------------------------------------------
    ÔÑßÉ ÑÇíÒ ááåäÏÓÉ æ ÇáÊßäæáæÌíÇ Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    ÑÞã # 1 Ýì ÎÏãÇÊ ÇáÔÑßÇÊ Business Services

    ÇÓÊÖÇÝÉ ãæÇÞÚ Web Hosting - Úãá Çíãíá ÔÑßÉ Business Emails

    ÊÕãíã ãæÞÚ ÔÑßÉ Web Design - ÊÓæíÞ ÇáßÊÑæäì Úáì ÌæÌá Google Adwords

    www.rise.company | www.rise.company/emails

    ãáÍæÙÉ : ÌãíÚ ÎÏãÇÊäÇ ãÎÕÕÉ ááÔÑßÇÊ ÝÞØ æÛíÑ ãÊÇÍÉ ááÇÝÑÇÏ
    æáíÓ áäÇ Çì ãäÊÌÇÊ Çæ ÕíÇäÉ äåÇÆíÇ! íÑÌì ÇáÇäÊÈÇå Çáì Ðáß.



ÇáãæÇÖíÚ ÇáãÊÔÇÈåå

  1. ÇáÓí ÈÇäÇá CPanel ÇÎÐ ÈÇß ÇÈ ßÇãá ÎÇÑÌ ÇáÓíÑÝÑ whm backup to Amazon S3
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 29-10-2020, 15:46
  2. ÇáÓí ÈÇäÇá CPanel ããíÒÇÊ ÇáÌíÊ ÈÇß ÇÈ ÇáãÊØæÑ Backup / Restore with JetBackup
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 29-10-2020, 14:47
  3. ÇÎÐ ÈÇß ááÓì ÈÇäá Úáì ÌæÌá ÏÑÇíÝ cPanel Backup to Google Drive
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 08-12-2018, 02:46
  4. ÔÑÍ Úãá ÈÇß ÇÈ ÊáÞÇÆì Úáì ÇáÓíÑÝÑ Automatically backup all cPanel/WHM Accounts
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 08-12-2018, 02:32
  5. ÇÎÐ ÈÇß ÇÈ ÔÇãá whm accounts backup ááÓíÑÝÑ Úáì Google Drive
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 08-12-2018, 02:27

ÇáãÝÖáÇÊ

ÇáãÝÖáÇÊ

ÖæÇÈØ ÇáãÔÇÑßÉ

  • áÇ ÊÓÊØíÚ ÅÖÇÝÉ ãæÇÖíÚ ÌÏíÏÉ
  • áÇ ÊÓÊØíÚ ÇáÑÏ Úáì ÇáãæÇÖíÚ
  • áÇ ÊÓÊØíÚ ÅÑÝÇÞ ãáÝÇÊ
  • áÇ ÊÓÊØíÚ ÊÚÏíá ãÔÇÑßÇÊß
  •