Back to FAQ

Can I clone a repository backup from BackHub servers?

Yes, you can clone any repository backup snapshot available for your backup directly from BackHub servers.

For this feature to work, you must have

  1. An SSH key stored in your GitHub account
  2. “Clone from BackHub” activated in the user settings of your account (activated by default).

Note: All accounts created after Oct 5, 2018 have “Clone from BackHub” switched on by default.

To activate/deactivate the “Clone from BackHub” feature:

  1. Choose “Settings” in the User menu.
  2. Click “Clone from BackHub” to toggle on or off.

After the feature has been switched on, BackHub fetches the SSH key into your GitHub account within 24 hours.

Clone repository backup from BackHub servers

To clone a repository backup from BackHub servers:

  1. Open the panel of a backup.
  2. Choose the snapshot to clone (default: “current”).
  3. Copy the clone URL.
  4. Open Terminal.
  5. Change the current working directory to the location where you want the cloned directory to be made.
  6. Type git clone and then paste the URL you copied in Step 3.
  7. Press Enter. Your local clone is created.

Copy backup clone URL