SFTP
Any server you can reach over SSH can be a backup destination.
1. Set up the storage
- On the server, create (or choose) a user account and a directory to hold the
backups, for example
/home/backup/nyx. - Prefer key authentication: generate an SSH key pair and add the public
key to that user’s
~/.ssh/authorized_keys. Keep the private key on the machine running Nyx Backup. - Confirm you can reach the server on its SSH port (usually 22).
2. Connect it in Nyx Backup
New backup set > destination SFTP, then enter:
- Host and Port - the server address and SSH port.
- Username - the account from step 1.
- Authentication - a private key file (recommended) or a password.
- Remote path - the directory to write into.
Once Test connection succeeds, set a schedule and retention, save the set, and choose Run now. Nyx Backup encrypts everything on your machine before upload, so this destination only ever holds encrypted blobs. Give each machine its own bucket or folder - see Connecting storage.
Tip: key authentication is more secure than a password and does not break when a password policy changes. Make sure the user can write to the remote path.