Backups

Forum to discuss general Vertica database administration topics

Moderator: NorbertKrupa

Post Reply
basiktyler
Newbie
Newbie
Posts: 1
Joined: Sat Apr 22, 2017 9:17 am

Backups

Post by basiktyler » Sat Apr 22, 2017 9:33 am

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
Hello all ;)

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1738
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Backups

Post by JimKnicely » Sat Apr 22, 2017 12:26 pm

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!
Jim Knicely

Image

Note: I work for HPE. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica Database Administration”

Who is online

Users browsing this forum: No registered users and 1 guest