Brackup::Target::Sftp - backup to an SSH/SFTP server


Brackup documentation  | view source Contained in the Brackup distribution.

Index


NAME

Top

Brackup::Target::Sftp - backup to an SSH/SFTP server

DESCRIPTION

Top

Backup to an SSH/SFTP server, using the Net::SFTP::Foreign perl module.

EXAMPLE

Top

In your ~/.brackup.conf file:

  [TARGET:server_sftp]
  type = Sftp
  path = /path/on/server
  sftp_host = server.example.com
  sftp_user = user

At this time there is no 'sftp_password' setting - you are encouraged to use ssh keys for authentication instead of passwords. Alternatively, you can enter your password interactively when prompted.

CONFIG OPTIONS

Top

type

(Mandatory.) Must be "Sftp".

path

(Mandatory). Server-side path to write backups to (may be ".").

sftp_host

(Mandatory). SSH/SFTP server hostname.

sftp_port

Port on which to connect to remote SSH/SFTP server.

sftp_user

Username to use to connect.

no_filename_colons

Flag - set to false (0/false/no) to indicate that the remote filesystem supports colons (':') in filenames. Default: 1.

SEE ALSO

Top

Brackup::Target

Brackup::Target::Ftp

Net::SFTP::Foreign

AUTHOR

Top

Gavin Carr <gavin@openfusion.com.au>.

Copyright (c) 2008 Gavin Carr.

This module is free software. You may use, modify, and/or redistribute this software under the same terms as perl itself.


Brackup documentation  | view source Contained in the Brackup distribution.