暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

华为GaussDB A SyncDataToStby.py 帮助命令

墨天轮 2019-10-12
898

帮助命令

功能

help命令用于提供SyncDataToStby.py工具支持的命令的帮助信息。

命令格式

python SyncDataToStby.py --help | -h

参数说明

使用指南

命令示例

查看双集群自动备份恢复工具的帮助信息。

python SyncDataToStby.py --help

系统回显

multi_roach@lfgp000602258:~/db/bin/script> python SyncDataToStby.py -h Usage: python SyncDataToStby.py -h --help python SyncDataToStby.py -t backup --config-file configFile python SyncDataToStby.py -t restore --config-file configFile [--latest] python SyncDataToStby.py -t stop-backup --config-file configFile [-F] python SyncDataToStby.py -t stop-restore --config-file configFile [-F] python SyncDataToStby.py -t show --config-file configFile python SyncDataToStby.py -t show-cluster-role --config-file configFile python SyncDataToStby.py -t switchover --config-file configFile --switchover-config-file switchoverConfigFile [--autosync] python SyncDataToStby.py -t set-independent --config-file configFile --enable-write --enable-write-object object python SyncDataToStby.py -t set-writable --config-file configFile python SyncDataToStby.py -t check-standby-avaiable --config-file configFile python SyncDataToStby.py -t build-all-standbys --config-file configFile Common options: -h --help Show this help, then exit. -t The operation for backup, restore, stop-backup, stop-restore, show, switchover, set-independent, show-cluster-role, set-writable, check-standby-avaiable, build-all-standbys --config-file The config file that include information that operation must to know. -F Stop sync thread forcelly without waitting for backup or restore finished --latest Restore from newest full backup to newest incremental backup --autosync Start sync thread in new primary cluster and new standby cluster after switchover finished. --switchover-config-file The new config file for switchovered cluster to sync data --enable-write To enable cluster to be writable when set the cluster to be independent --enable-write-object Which cluster to be independent. primary/standby information in config-file: life-cycle The validity of backup files backuprestoreinfo-file The csv file that records backup information username The cluster user name for primary and standby cluster primary-env The primary cluster seperate environment file standby-env The standby cluster seperate environment file full-backup-exec-time-interval Time interval between each full backup, unit: min backup-exec-time-interval Time interval between each incremental backup, unit: min primary-host-ip The host that execute backup media-type The media type of medium that restore backup files parrallel-process The number of process that should be used. Range is (1~32) compression-level The compression level that should be used for backup. Range is (0~9) primary-media-destination Media destination where the mediadata be stored in primary cluster primary-metadata-destination Metadata destination where the metadata be stored in primary cluster local-backup-flag The flag that means local backup exists backup-port The master-port in which the primary executed backup primary-cluster-logging-level Logging level for the log contents of backup thread:FATAL,ERROR,INFO,DEBUG restore-interval Time interval between each restore, unit: min restore-host-ip The host that execute restore restore-media-destination Media destination where the mediadata be stored in standby cluster restore-metadata-destination Metadata destination where the metadata be stored in standby cluster restore-port The master-port in which the standby executed restore standby-cluster-logging-level Logging level for the log contents of restore thread:FATAL,ERROR,INFO,DEBUG

查看更多:华为GaussDB 200 SyncDataToStby.py 命令行参考
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论