App::MBUtiny::Storage::SFTP - App::MBUtiny::Storage subclass for SFTP storage support
Version 1.01
<Host "foo"> <SFTP> FixUP on URL sftp://user@example.com:22/path/to/backup/dir1 URL sftp://user@example.com:22/path/to/backup/dir2 Set timeout 180 Set key_path /path/to/private/file.key Comment SFTP storage said blah-blah-blah # Optional for collector </SFTP> # . . . </Host>
App::MBUtiny::Storage subclass for SFTP storage support
NOTE! For initialization SSH connection please run follow commands first:
ssh-keygen -t rsa ssh-copy-id -i /path/to/private/file.pub user@example.com
Removes the specified file. This is backend method of "del" in App::MBUtiny::Storage
Gets the backup file from storage and saves it to specified path. This is backend method of "get" in App::MBUtiny::Storage
The method performs initialization of storage. This is backend method of "init" in App::MBUtiny::Storage
Gets backup file list on storage. This is backend method of "list" in App::MBUtiny::Storage
my @list = $storage->sftp_storages;
Returns list of SFTP storage nodes
Sends backup file to storage. This is backend method of "put" in App::MBUtiny::Storage
Storage testing. This is backend method of "test" in App::MBUtiny::Storage
See Changes file
Changes
See TODO file
TODO
* none noted
App::MBUtiny::Storage
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE file and https://dev.perl.org/licenses/
LICENSE
To install App::MBUtiny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MBUtiny
CPAN shell
perl -MCPAN -e shell install App::MBUtiny
For more information on module installation, please visit the detailed CPAN module installation guide.