v4.x · v3.x
Model Components
store_with SFTP do |server|
server.username = 'my_username'
server.password = 'my_password'
server.ip = '123.45.678.90'
server.port = 22
server.path = '~/backups/'
# Use a number or a Time object to specify how many backups to keep.
server.keep = 5
# Additional options for the SSH connection.
# server.ssh_options = {}
end