Difference between revisions of "Backup and Restore"

From Hubitat Documentation
Jump to: navigation, search
(Updated backup and restore steps)
Line 1: Line 1:
{{Top}}
+
{{Top}}<big>Your Hubitat Elevation hub automatically generates a backup every day at 2:15am by default, in your local time zone. These backups are stored on the hub for '''5 days'''. After making changes to your hub (adding devices, automations, etc.), it is a good idea to save a manual backup to your computer or the cloud.</big>
  
<big>Your Hubitat Elevation hub automatically generates a backup of the database every day at 2:00 AM in your local time zone by default. These backups are stored on the hub for '''5 days'''. After making changes to your hub (adding devices, automations, etc.), it is a good idea to do a manual backup and download it to your computer or storage device.</big>  
+
===<big>Backup your hub</big>===
  
===<big>How to backup your hub database</big>===
+
*<big>'''NOTE:''' You may backup and restore files from a local disk anytime, but manual and automatic backup to the Hubitat cloud, including restore from cloud backup and Z-Wave radio migration requires a [https://docs.hubitat.com/Hub_Protect Hub Protect] subscription.</big>
  
#<big>Go to the ''Settings'' page in your Hubitat Web Interface.</big>
+
#<big>Select '''Settings''' in the sidebar of your hub.</big>
#<big>Select the '''Backup and Restore''' button.</big>[[File:Backup and Restore v3.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/5/5f/Backup_and_Restore_v3.png
+
#<big>Press the '''Backup and Restore''' card.</big>[[File:Backup and Restore card 3.0.png|none|thumb|600x600px]]
]]
+
#<big>Select the '''Download''' button under the '''Create New Backup and Download Manually''' section (you can also download any of the automatic backups that have been stored). The backup will be saved on your computer, which can be uploaded later to restore your hub to a previous state if you desire.</big>[[File:Backup manually and download auto backup.png|none|thumb|600x600px]]
#<big>Select the '''Download''' button under the '''Create New Backup''' '''and Download''' '''Locally''' section.</big>
+
#<big>You may set the time for when database maintenance and backup to take place</big>.[[File:Set local backup time and frequency.png|none|thumb|600x600px]]
#*<big>'''NOTE:''' You can also download any of the automatic backups that have been stored. The backup will be saved on your computer, which can be uploaded later to restore your hub to its current state if you desire</big>.[[File:Backup database v3.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/5/53/Backup_database_v3.png
+
#<big>You may also set the frequency for automatic backups.</big>[[File:Local backup frequency options.png|none|thumb|329x329px]]
]]
 
  
===<big>How to set automatic database backup time</big>===
+
===<big>How to restore from backup</big>===
<big>Your Hubitat Elevation hub automatically generates a database backup every day at 2:00 AM in your local time zone by default. You have the choice of when your hub automatically saves a backup.</big>
+
<big>If you have made changes to your hub and want to go back to a previous saved backup, Hubitat Elevation makes it easy.</big>
  
#<big>Specify the time for automatic database backup to occur.</big>[[File:Set Auto Backup time.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/b/bf/Set_Auto_Backup_time.png
+
#<big>Select '''Settings''' in the sidebar of your hub.</big>
]]
+
#<big>Press the '''Backup and Restore''' card.</big>[[File:Backup and Restore card 3.0.png|none|thumb|600x600px]]
#<big>Set how often your hub should automatically create a database backup.</big>
+
#<big>If you want to restore from one of the automatic backup files, select the '''Restore''' button for the database backup you want to restore to your hub.</big>[[File:Restore from backup on hub 3.0.png|none|thumb|600x600px]]
#<big>Choose how frequently the hub should automatically save the backup. Disabled is an option, but not recommended.</big>
+
#<big>If you want to restore the hub database from a backup file saved on your computer, select the '''Restore File''' button and choose the backup file you want to use.</big>[[File:Restore from locally saved backup 3.0.png|none|thumb|600x600px]]
#*<big>'''<span style="color: red;;">WARNING !</span>''' Although you hub will automatically backup the database to its internal storage, we still recommend that you also save a local backup to your computer or a storage device. If the hub were to ever suffer a total hardware failure, a local copy will maintain access to a database backup that can be restored to a new hub.</big>[[File:Set Auto Backup frequency.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/b/bb/Set_Auto_Backup_frequency.png
+
#<big>Confirm the restore selection, and your Hubitat Elevation hub will return to the previously saved state.</big>
]]
 
#<big>Select the desired backup frequency.</big>[[File:Backup frequency selection.png|none|thumb|320x320px|link=https://docs.hubitat.com/images/6/63/Backup_frequency_selection.png
 
]]
 
 
 
===<big>How to restore the database from backup</big>===
 
<big>If you have made changes to your hub and want to go back to a previous saved database backup, Hubitat Elevation makes it easy.</big>
 
 
 
#<big>Go to the ''Settings'' page in your Hubitat Web Interface.</big>
 
#<big>Select the '''Backup and Restore''' button.</big>[[File:Backup and Restore v3.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/5/5f/Backup_and_Restore_v3.png
 
]]
 
#<big>If you want to restore to one of the Automatic database backups stored on your hub, select the '''Restore''' button next to the backup file.</big>[[File:Restore Daily Backups v3.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/e/e8/Restore_Daily_Backups_v3.png
 
]]
 
#<big>If you want to restore from a database backup saved on your computer, select the '''Choose file''' button and select the database you want to restore.</big>[[File:Restore from local backup v3.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/f/fe/Restore_from_local_backup_v3.png
 
]]
 
#<big>Confirm the restore selection, and your Hubitat Elevation hub will reset with those settings.</big>
 
  
 
#
 
#
Line 41: Line 25:
 
<big>If you are experiencing issues after updating your hub, you can try reverting to a previous hub Platform Version.</big>
 
<big>If you are experiencing issues after updating your hub, you can try reverting to a previous hub Platform Version.</big>
  
#<big>Choose the link as shown here. This will open the [[Hubitat Diagnostic Tool]].</big>[[File:Backup and Restore - Restore previous version.png|none|thumb|600x600px|link=https://docs.hubitat.com/images/2/2b/Backup_and_Restore_-_Restore_previous_version.png]]
+
#<big>Choose the link as shown here. This will open the [[Hubitat Diagnostic Tool]].</big>[[File:Restore Previous platform version.png|none|thumb|600x600px]]
 
#<big>Follow the instructions in the [[Hubitat Diagnostic Tool#Restore Previous Version|Restore Previous Version]] section of the Hubitat Diagnostic Tool document.</big>
 
#<big>Follow the instructions in the [[Hubitat Diagnostic Tool#Restore Previous Version|Restore Previous Version]] section of the Hubitat Diagnostic Tool document.</big>
 
__FORCETOC__
 
__FORCETOC__

Revision as of 15:56, 31 March 2021

Go to the top of the page

Your Hubitat Elevation hub automatically generates a backup every day at 2:15am by default, in your local time zone. These backups are stored on the hub for 5 days. After making changes to your hub (adding devices, automations, etc.), it is a good idea to save a manual backup to your computer or the cloud.

Backup your hub

  • NOTE: You may backup and restore files from a local disk anytime, but manual and automatic backup to the Hubitat cloud, including restore from cloud backup and Z-Wave radio migration requires a Hub Protect subscription.
  1. Select Settings in the sidebar of your hub.
  2. Press the Backup and Restore card.
    Backup and Restore card 3.0.png
  3. Select the Download button under the Create New Backup and Download Manually section (you can also download any of the automatic backups that have been stored). The backup will be saved on your computer, which can be uploaded later to restore your hub to a previous state if you desire.
    Backup manually and download auto backup.png
  4. You may set the time for when database maintenance and backup to take place.
    Set local backup time and frequency.png
  5. You may also set the frequency for automatic backups.
    Local backup frequency options.png

How to restore from backup

If you have made changes to your hub and want to go back to a previous saved backup, Hubitat Elevation makes it easy.

  1. Select Settings in the sidebar of your hub.
  2. Press the Backup and Restore card.
    Backup and Restore card 3.0.png
  3. If you want to restore from one of the automatic backup files, select the Restore button for the database backup you want to restore to your hub.
    Restore from backup on hub 3.0.png
  4. If you want to restore the hub database from a backup file saved on your computer, select the Restore File button and choose the backup file you want to use.
    Restore from locally saved backup 3.0.png
  5. Confirm the restore selection, and your Hubitat Elevation hub will return to the previously saved state.

How to restore the hub Platform to a previous version

If you are experiencing issues after updating your hub, you can try reverting to a previous hub Platform Version.

  1. Choose the link as shown here. This will open the Hubitat Diagnostic Tool.
    Restore Previous platform version.png
  2. Follow the instructions in the Restore Previous Version section of the Hubitat Diagnostic Tool document.