Hi,
I am trying to create a backup config file as following but getting an error :
/opt/vertica/bin]$ ./vbr.py --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 "./vbr.py", line 2232, in <module>
work()
File "./vbr.py", line 2125, in work
setupConfig()
File "./vbr.py", line 376, in setupConfig
with open(configFileName, 'wb') as configfile:
IOError: [Errno 13] Permission denied: 'backup_snapshot.ini'
Any ideas?
Cheers
Backups
Moderator: NorbertKrupa
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Backups
Hi,
Looks like you don't have the rights to create a new file in the directory you're currently in when you ran vbt.py.
Try changing the owner/group or rights on that directory, or simply switching to a directory where you have write access, and then run ./vbr.py --setupconfig again.
Thanks!
Looks like you don't have the rights to create a new file in the directory you're currently in when you ran vbt.py.
Try changing the owner/group or rights on that directory, or simply switching to a directory where you have write access, and then run ./vbr.py --setupconfig again.
Thanks!
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.