Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Version 80 - Restore backups from a remote destination via FTP transport in WHM

Discussion in 'Data Protection' started by grabyourhosting, Mar 24, 2019.

  1. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    72
    Likes Received:
    3
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @grabyourhosting,

    The ability to restore a cPanel account backup from a remote destination is limited to the FTP destination type in version 80. Support for additional remote destination types may come in future versions, but there's no specific time frame to offer on the SFTP destination type at this time. I encourage you to vote for and follow the feature request below to receive updates on the implementation of additional destination types:

    Restore from remote backups

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. HostXNow_Chris

    HostXNow_Chris Active Member

    Joined:
    Jan 22, 2016
    Messages:
    27
    Likes Received:
    6
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Twitter:
    There was a feature request for this at Restore from remote backups

    But how to use it?

    80 Release Notes - Version 80 Documentation - cPanel Documentation

    Restore backups from a remote destination via FTP transport in WHM
    In cPanel & WHM version 80, we added the ability to restore a cPanel account backup from a remote destination via FTP transport. You can restore these backups through WHM's Backup Restoration interface (WHM >> Home >> Backups >> Backup Restoration).

    I set up Remote FTP and sent backup to remote server which completed fine, but at

    Home » Backup » Backup Restoration

    It still shows "The system cannot restore backups because it does not store those backups locally".

    Of course, can use JetBackup and I do for servers that whole a lot of cPanel accounts, but for a VPS with just 1 or two cPanel accounts JetBackup can be overkill especially when the file size of the data is so small.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 HostXNow_Chris, May 22, 2019
    Last edited by a moderator: May 22, 2019
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @HostXNow_Chris,

    It looks like the Restore From Remote Backups feature request was closed based on the inclusion of this feature in cPanel & WHM version 80. Since support for this feature is limited to the FTP remote destination type, I recommend opening a separate feature request for the specific remote destination type you'd like to see this feature expanded with (e.g. SFTP). Let me know the feature request URL once it's opened and I'll ensure to encourage others to vote for it whenever the topic is mentioned.

    You can still perform this task, however we recommend using the command line to do this since the command line is the most common method used to manually transfer the backup archives to the server. You'd follow the steps listed under "Step 6" on the document linked below instead of using WHM >> Backup Restoration:

    Full Disaster Recovery - cPanel Knowledge Base - cPanel Documentation

    Here are the commands you can use if you need to restore backups for all accounts:

    Code:
    cd BACKUPDIRECTORY/TYPE/DATE/accounts/
    for archive in `ls`; do /scripts/restorepkg $archive; done
    Note you can still use WHM >> Backup Restoration if you prefer, however to use this feature you must first enable the Retain Backups in the Default Backup Directory setting in WHM's Backup Configuration (WHM >> Home >> Backup >> Backup Configuration) interface. Then, once you've moved the backups to the correct location and restored them, open WHM >> Backup Configuration, adjust the Retain Backups in the Default Backup Directory setting to it's previous state, and then remove the backup archives from the location you moved them to.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice