home-assistant.io/source/_integrations/sftp_storage.markdown
2025-10-05 20:06:18 +02:00

2.3 KiB

title, description, ha_category, ha_release, ha_quality_scale, ha_domain, ha_codeowners, ha_iot_class, ha_config_flow, ha_integration_type, related
title description ha_category ha_release ha_quality_scale ha_domain ha_codeowners ha_iot_class ha_config_flow ha_integration_type related
SFTP Storage Allows storing backups created with Backup system onto remote SFTP host.
Backup
2025.10 silver sftp_storage
@maretodoric
Local Polling true service
docs title
/common-tasks/general/#backups Backups
docs title
/more-info/backup-emergency-kit/ Backup emergency kit

The SFTP Storage {% term integration %} works with the core Backup integration. When you enable SFTP Storage in the Locations section of your Backup integration settings, Home Assistant automatically stores manual and automatic backups on your remote SSH/SFTP server.

To learn how to create and restore a backup, refer to the backup section under common tasks.

{% include integrations/config_flow.md %}

{% configuration_basic %} Host: description: Hostname or IP address of SSH/SFTP Server to connect to. required: true type: string Port: description: Port of your SSH/SFTP Server. This is usually 22. required: true type: integer default: 22 Username: description: Username to authenticate with. required: true type: string Password: description: Password to authenticate with. Provide this or a private key file. required: true type: string Private Key File: description: Upload a private key file used for authentication. Provide this or password. required: true type: selector Remote path: description: Remote path where to upload backups. Directory must already exist and user provided in Username must have write access to it. required: true type: string {% endconfiguration_basic %}

If both Password and Private Key File are provided, service will try to login with private key first, then fallback to password-based authentication if private key authentication fails.

Removing the integration

This integration follows standard integration removal. No extra steps are required.

{% include integrations/remove_device_service.md %}

  • After you remove the integration, all Home Assistant backups stored on the remote server are not automatically deleted. You need to manually delete them from the remote filesystem.