root@84a47a1b67e1:/root/backup >>> ls 16-03-16 9:11
hins394821_xtra_20160314072632.tar.gz rds_backup_extract.sh
root@84a47a1b67e1:/root/backup >>> sh rds_backup_extract.sh -f hins394821_xtra_20160314072632.tar.gz 16-03-16 9:11
rds_backup_extract.sh: 76: rds_backup_extract.sh: [[: not found
chmod: cannot access '/tmp/rds_backup_tools/xbstream': No such file or directory
Error: unknown backup file format, only xxx.tar.gz and xxx.xb.gz file format are supported.
Extract RDS data backup file.
Usage:
rds_backup_extract.sh -f backupfile [-C dest_dir]
Options:
-h, Dispaly this help and exit.
-f, file Extract the specified backup file (only support tar.gz and xb.gz file format).
-C, directory Extract to the specified directory (default is current directory).
root@84a47a1b67e1:/root/backup >>>
这个文件找不到tmp/rds_backup_tools/xbstream 建议您重新下载
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。