BACKUP-MANAGER-UPLOAD(8)
π BACKUP-MANAGER-UPLOAD π
okay bestie, welcome to backup-manager-upload β this is the backup-manager-upload manual page from section 8, and she's here to scoot your backup archives up to a remote host. multiprotocol, multi-vibe, no cap. π¦
β¨ NAME β¨
backup-manager-upload β Multiprotocol uploader for backup-manager. π
πΈ SYNOPSIS πΈ
backup-manager-upload [options] date
π DESCRIPTION π
So here's the tea: backup-manager-upload will upload all the archives generated on the given date to the specified host, using either ftp or scp. π
And it's not just those two, bestie β you can also use this program for uploading data to an Amazon S3 account. main character energy fr fr.
Some metadates are available too, like "today" or "yesterday", because remembering actual dates is lowkey a lot. π
π REQUIRED ARGS π
These ones are not optional, queen. you will be providing them.
--mode=transfer-modeβ Pick the transfer mode you wanna use:ftp,scp, ors3.--host=hostname1,hostname2,...,hostnameNβ Give a whole list of remote hosts to connect to. the more the merrier β¨--user=usernameβ The user to use for the connection.
π OPTIONAL ARGS π
the little extras. the garnish. the accessories. π«Ά
--password=passwordβ The ftp user's password. only needed forftptransfers, so if you're not doing ftp you can literally just not.--key=path_to_private_keyβ The ssh private key file to use when opening the ssh session forscptransfer. obviously only needed forscptransfer mode. if you don't specify a key file, the user's default private key will be used. ποΈ--directory=directoryβ Where on the remote host the files get uploaded. Default is/backup/uploads.--bucket=bucketβ Sets the bucket name for the Amazon S3 service backup into. πͺ£--root=directoryβ The local directory where files are. Default is/var/archives.--gpg-recipient=gpg-recipientβ Select the gpg public key for encryptiong the archives when uploading with the methodssh-gpg. This can be a short or long key id or a descriptive name. The precise syntax is described in the gpg man page. π--listβ Just list the files to upload. no uploading, just looking. window shopping, if you will. π--ftp-purgeβ Purge the remote directory before uploading files in FTP mode. bye bye old files β¨--s3-purgeβ Purge the remote directory before uploading files in FTP mode.--ssh-purgeβ Purge the remote directory before uploading files in SSH mode.--verboseβ Flag to enable verbose mode. she will talk. a lot. π£οΈdateβ Date pattern to select some files to upload. can be a valid date (YYYYMMDD) or'today'or'yesterday'.
ngl bestie, --s3-purge says "in FTP mode" in the original page and I am simply reporting the lore as written. don't come for me π
π ERROR CODES π
If something goes wrong during an upload, backup-manager-upload will exit with a non null value. In such a case every error messages are sent to STDERR. not the vibe, but at least you'll know. π
Here are the possible error codes:
- bad command line (wrong arguments) :
10 - FTP transfer failure :
20 - SCP transfer failure :
21 - S3 transfer failure :
22 - Unknown upload method:
23
π SEE ALSO π
backup-manager(3)
π AUTHORS π
- Alexis Sukrieh β main code and design
- Brad Dixon β Amazon S3 upload method
- Jan Metzger β ssh-gpg upload method
and that's the whole page, bestie!! this one lives in the backup-manager-upload source, perl v5.40.1, dated 2025-04-11. go forth and upload responsibly πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- debian trixie: backup-manager 0.7.14-3 Β· GPL-2.0-or-later
- ubuntu resolute: backup-manager 0.7.14-3 Β· GPL-2.0-or-later
- ubuntu stonking: backup-manager 0.7.14-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms