Login to participate
Backup and Archiving IdeasRSS
1

VBR View importing

John_Nardello's picture
1 Agree, 0 Disagree

When importing servers to a View in VBR, you should have an option whether to overwrite or append to an existing View. Currently if you do an import of a csv/tsv file using the name of an existing View, it will overwrite anything existing entirely. That's handy sometimes, but sometimes it'd be nice to be able to append an extra 25 servers to that View you have that already has 200 in it. Why waste the time redoing the entire thing if you don't have to ?

Oguzhan Eris's picture

Hi John, I think this is a

Hi John,

I think this is a great suggestion.   View importing via csv files was designed to be very easy to use without requiring any type of commands or tags that dictate what kind of operation should be used while modifying the view.  If you have any ideas on how the csv file could be tagged with doing an update to a pre-existing view, we can certainly consider it.

Thanks

John_Nardello's picture

possibilities

Hey Oguzhan, been a while. =)

Possibilities:
1) When the GUI prompts you for the import file location, include a checkbox in that window that determines whether the operation does an append or an overwrite.

2) First line of the import file determines the operation type.
i.e.
APPEND
mygroup,myserver15
mygroup,myserver16

or

OVERWRITE
mygroup,myserver1
mygroup,myserver2

3) Insert an operation type before the start of each group. Although this seems overly complex and messy, feels like I have to include this possibility just to be complete about things. =) And hey, maybe there are people who deliberately save up all their View creations and modifications for nightly runs or such and would benefit from this.
i.e.
APPEND
importantgroup,server32
importantgroup,server65
OVERWRITE
brokengroup,server1
brokengroup,server2
OVERWRITE
newgroup,server13
newgroup,server6a
APPEND
mailgroup,HR,newmailserver

In any of the above examples, if the group doesn't exist to begin with, APPEND or OVERWRITE commands would be ignored and it would just get created like normal.

One of those sound workable ? I'm pretty much only concerned with the end functionality so whatever way is easiest to code for you guys is fine with me. =)

- "Your backups are only as good as your restores."