better usage text for tags
This commit is contained in:
parent
d49246a823
commit
8c61f8001d
14
bare.sh
14
bare.sh
|
@ -29,14 +29,24 @@ function log() {
|
|||
}
|
||||
|
||||
function usage-repo() {
|
||||
echo "Should be of this format:"
|
||||
echo " reponame1:/path/to/files1/:tag1,tag2,...,tagX"
|
||||
echo " reponame2:/path/to/files2/:tag1,tag2,...,tagX"
|
||||
echo " ..."
|
||||
echo " reponameX:/path/to/filesX/:tag1,tag2,...,tagX"
|
||||
echo ""
|
||||
echo "Backup method tags:"
|
||||
echo " restic Backup using restic to Backblaze B2 bucket \$B2_BUCKET_PREFIX-<reponame>"
|
||||
echo " rclone Backup using rclone to Backblaze B2 bucket \$B2_BUCKET_PREFIX-<reponame>"
|
||||
echo " rsync Backup using rsync to \$RSYNC_USER@\$RSYNC_SERVER:\$RSYNC_DIR/<reponame>."
|
||||
echo ""
|
||||
echo "Pre-backup commands to access local files:"
|
||||
echo " nfs Mount \$NFS_SERVER:\$NFS_SERVER_BASE/<sharename> to <repopath>"
|
||||
echo " before running. Sharename determined by stripping \$NFS_PREFIX"
|
||||
echo " from start of repo path."
|
||||
echo " usmb Run 'usmb reponame' to mount \$USMB_PREFIX/<sharename> before running."
|
||||
echo " Sharename determined by stripping \$NFS_PREFIX from start of <repopath>."
|
||||
}
|
||||
function usage-rc() {
|
||||
echo "Should be of this format:"
|
||||
echo " export B2_ACCOUNT_ID=xxx"
|
||||
echo " export B2_ACCOUNT_KEY=xxx"
|
||||
echo " export B2_APP_ID=xxx"
|
||||
|
|
Loading…
Reference in New Issue