帮助命令
功能
help命令用于提供Roach工具支持的命令的帮助信息。
命令格式
python GaussRoach.py --help | -h
参数说明
无
使用指南
无
命令示例
查看Roach工具的帮助信息。
python GaussRoach.py --help
系统回显
GaussRoach.py is a utility to backup GaussDB100 to NBU/disk and restore GaussDB100 from NBU/disk. Usage: python GaussRoach.py -h | --help python GaussRoach.py -v | --version python GaussRoach.py -t start python GaussRoach.py -t backup [options] python GaussRoach.py -t restore [options] python GaussRoach.py -t stop python GaussRoach.py -t delete [options] python GaussRoach.py -t show [options] python GaussRoach.py -t validate [options] Common options: -t The step of GaussRoach, include config, clean and start,backup,restore,delete,stop -h --help Show this help, then exit -v --version Display the current roach version. --master-port <master port> The port in which master roach should be started. --media-type <media type> Mention type of media either disk or NBU --media-destination <media destination> The path or policy that should be used for backup/restore as per media-type. --metadata-destination <path-name> The path where the metadata file is to be kept in backup --group backup,restore,start database group in SingleService --nbu-policy <nbu policy> The NBU policy that should be used for backup/restore. --nbu-schedule <nbu schedule> The NBU schedule that should be used for backup/restore. Options for backup --compression-level The compression level that should be used for backup. --compression-mode The compression mode that should be used for backup. --archivelog Backup archive log --prior-backup-key Previous Full Backup key to be considered as the base for Incremental Backup Options for Restore --backup-key <backup key> The key for restoring. --clean For cluster restore,performs clean up activity internally. --restore-new-cluster Restore data to new cluster --archivelog Restore archive log --restore-target-time Time(<=) to be used for restore, format '<YYYY-MM-DD HH:MM:SS>' --nbu-backup-host Specify NBU backup host. Options for Show --all-backups Show complete backup catalogue information. Default action if no option given. --backup-key <backup_key> Show restore path upto a given backup key. --nbu-backup-host Specify NBU backup host. Options for Validate --backup-key <backup key> The key for validate. Options for Delete --cascade To delete all descendant backups of the provided backup key. ###Refer user manual for more details ###
相关命令
无
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」关注作者【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。评论