man backup-manager-upload (Commandes) - Multiprotocol uploader for backup-manager.

NAME

backup-manager-upload - Multiprotocol uploader for backup-manager.

SYNOPSIS

 backup-manager-upload [options] date

DESCRIPTION

backup-manager-upload will upload all the archives generated on the given date to the specified host with either ftp or scp. Some metadates are available like today or yesterday.

REQUIRED ARGS

--mode=transfert-mode
Select the transfert mode to use : ftp or scp.
--host=hostname1,hostname2,...,hostnameN
Select a list of remote hosts to connect to.
--user=username
Select the user to use for connection.

OPTIONAL ARGS

--password=password
Select the ftp user's password (only needed for ftp transferts).
--key=path_to_private_key
Select the ssh private key file to use when opening the ssh session for scp transfert. Obviously, this is only needed for scp transfert mode. If you don't specify a key file, the user's default private key will be used.
--directory=directory
Select the location on the remote host where files will be uploaded. Default is /backup/uploads.
--root=directory
Select the local directory where files are. Default is /backup.
--list
Just list the files to upload.
--verbose
Flag to enable verbose mode.
date
Date pattern to select some files to upload, can be a valid date (YYYYMMDD) or 'today' or 'yesterday'.

SEE ALSO

AUTHOR

Alexis Sukrieh <sukria@sukria.net>