0
我嘗試在Vertica數據庫上執行完整備份。當我執行命令:Vertica備份錯誤
/opt/vertica/bin/vbr.py --debug 3 --task backup --config-file vertica_backup.ini
我收到以下錯誤:
/bin/sh: 1: ulimit: Illegal option -u
Traceback (most recent call last):
File "/opt/vertica/bin/vbr.py", line 2526, in backup
prepareAll()
File "/opt/vertica/bin/vbr.py", line 1888, in prepareAll
configCheck()
File "/opt/vertica/bin/vbr.py", line 506, in configCheck
concurrency_upperboud = int(subprocess.Popen(['ulimit -u'],
shell=True, stdout= subprocess.PIPE).communicate()[0].strip())
ValueError: invalid literal for int() with base 10: ''
backup failed unexpectedly!
我vertica_backup.ini文件:
[Misc]
snapshotName = vertica_backup
restorePointLimit = 1
passwordFile = vertica
[Database]
dbName = dwh_vertica
dbUser = dbadmin
[Transmission]
[Mapping]
v_dwh_vertica_node0001 = vertica1:/home/dbadmin/backups
這是Debian的喘息:
Linux vertica1 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt11-1~bpo70+1 (2015-06-08) x86_64 GNU/Linux
/bin/sh指向/ bin/sh - >破折號