Page 1 of 1


Posted: Sat Apr 22, 2017 9:33 am
by basiktyler

I am trying to create a backup config file as following but getting an error :

/opt/vertica/bin]$ ./ --setupconfig
Snapshot name (backup_snapshot):
Backup vertica configurations? (n) [y/n]: y
Number of restore points (1):
Specify objects (no default): yes
Vertica user name (vertica): DataStore
Save password to avoid runtime prompt? (n) [y/n]: y
Password to save in vbr config file (no default):
Node v_datastore_node0001
Backup host name (no default): v_datastore_node0005
Backup directory (no default): /vert_backups/backups
Node v_datastore_node0002
Backup host name (no default): v_datastore_node0006
Backup directory (no default): /vert_backups/backups
Node v_datastore_node0003
Backup host name (no default): v_datastore_node0007
Backup directory (no default): /vert_backups/backups
Node v_datastore_node0004
Backup host name (no default): v_datastore_node0008
Backup directory (no default): /vert_backups/backups
Config file name (backup_snapshot.ini):
Change advanced settings? (n) [y/n]: n
Traceback (most recent call last):
File "./", line 2232, in <module>
File "./", line 2125, in work
File "./", line 376, in setupConfig
with open(configFileName, 'wb') as configfile:
IOError: [Errno 13] Permission denied: 'backup_snapshot.ini'

Any ideas?


Re: Backups

Posted: Sat Apr 22, 2017 12:26 pm
by JimKnicely

Looks like you don't have the rights to create a new file in the directory you're currently in when you ran

Try changing the owner/group or rights on that directory, or simply switching to a directory where you have write access, and then run ./ --setupconfig again.