Brackup::Target::Sftp - backup to an SSH/SFTP server
Backup to an SSH/SFTP server, using the Net::SFTP::Foreign perl module.
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.
(Mandatory.) Must be "Sftp".
(Mandatory). Server-side path to write backups to (may be ".").
(Mandatory). SSH/SFTP server hostname.
Port on which to connect to remote SSH/SFTP server.
Username to use to connect.
Flag - set to false (0/false/no) to indicate that the remote filesystem supports colons (':') in filenames. Default: 1.
Brackup::Target
Brackup::Target::Ftp
Net::SFTP::Foreign
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.
To install Brackup, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Brackup
CPAN shell
perl -MCPAN -e shell install Brackup
For more information on module installation, please visit the detailed CPAN module installation guide.