1BACKUP-MANAGER-UPLOAD(8)     backup-manager-upload    BACKUP-MANAGER-UPLOAD(8)
2
3
4

NAME

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

SYNOPSIS

9       backup-manager-upload [options] date
10

DESCRIPTION

12       backup-manager-upload will upload all the archives generated on the
13       given date to the specified host with either ftp or scp.  It's also
14       possible to use this program for uploading data to an Amazon S3
15       account.  Some metadates are available like "today" or "yesterday".
16

REQUIRED ARGS

18       --mode=transfer-mode
19           Select the transfer mode to use : ftp, scp, or s3.
20
21       --host=hostname1,hostname2,...,hostnameN
22           Select a list of remote hosts to connect to.
23
24       --user=username
25           Select the user to use for connection.
26

OPTIONAL ARGS

28       --password=password
29           Select the ftp user's password (only needed for ftp transfers).
30
31       --key=path_to_private_key
32           Select the ssh private key file to use when opening the ssh session
33           for scp transfer.  Obviously, this is only needed for scp transfer
34           mode.  If you don't specify a key file, the user's default private
35           key will be used.
36
37       --directory=directory
38           Select the location on the remote host where files will be
39           uploaded.  Default is /backup/uploads.
40
41       --bucket=bucket
42           Sets the bucket name for the Amazon S3 service backup into.
43
44       --root=directory
45           Select the local directory where files are.  Default is
46           /var/archives
47
48       --gpg-recipient=gpg-recipient
49           Select the gpg public key for encryptiong the archives when
50           uploading with the method ssh-gpg. This can be a short or long key
51           id or a descriptive name. The precise syntax is described in the
52           gpg man page.
53
54       --list
55           Just list the files to upload.
56
57       --ftp-purge
58           Purge the remote directory before uploading files in FTP mode.
59
60       --s3-purge
61           Purge the remote directory before uploading files in FTP mode.
62
63       --ssh-purge
64           Purge the remote directory before uploading files in SSH mode.
65
66       --verbose
67           Flag to enable verbose mode.
68
69       date
70           Date pattern to select some files to upload, can be a valid date
71           (YYYYMMDD) or 'today' or 'yesterday'.
72

ERROR CODES

74       If something goes wrong during an upload, backup-manager-upload will
75       exit with a non null value. In such a case every error messages are
76       sent to STDERR.
77
78       Here are the possible error codes:
79
80       bad command line (wrong arguments) : 10
81       FTP transfer failure : 20
82       SCP transfer failure : 21
83       S3 transfer failure : 22
84       Unknown upload method: 23
85

SEE ALSO

87       backup-manager(3)
88

AUTHORS

90       Alexis Sukrieh - main code and design
91
92       Brad Dixon - Amazon S3 upload method
93
94       Jan Metzger - ssh-gpg upload method
95
96
97
98perl v5.10.0                      2009-02-01          BACKUP-MANAGER-UPLOAD(8)
Impressum