Tagged in

Build

Rubrik -  - Introducing Rubrik API Code Capture Chrome Extension

Product

Introducing Rubrik API Code Capture Chrome Extension

If you’re familiar with Rubrik’s product suite at all, you’ve probably heard us talk about our API-driven architecture, a design principle that has been key to our technology since day 1. This architecture all boils down to our goal of helping customers leverage automation to simplify data protection and management tasks, allowing IT teams to spend time on more strategic projects.  Automation using Rubrik’s REST–and now GraphQL–endpoints can be executed for a variety of use cases. But one of the most common questions I hear from customers is how do I automate X task? One of the easiest ways to determine which APIs to use is to complete the workflow within the Rubrik UI and then monitor which APIs are being consumed during that process. To make this whole process even more efficient, I’m excited to introduce the Rubrik API Code Capture Chrome Extension, now available for anyone to download. This extension makes monitoring API calls more digestible for our end users, allowing them to easily determine which API calls should be used in their external scripts. While Rubrik API Code Capture is useful for any IT organization, it’s especially effective for those who are newer to automation and scripting. Benefits…
Rubrik -  - Bringing Flexibility and Choice to the Rubrik SDK for PowerShell

Product

Bringing Flexibility and Choice to the Rubrik SDK for PowerShell

Rubrik prides itself on delivering an API-first architecture in which anything that can be done within the user interface can also be accomplished through an API request. This design brings flexibility to our customers, extending Rubrik Cloud Data Management functionality directly into their automation workflows, offering them choice around how they would like to consume Rubrik. We’ve taken this approach one step further by providing the ability to customize exactly how our PowerShell module acts and performs. Customers can now take advantage of module options and default parameter values with the addition of a user-based options file utilized by the module. Let’s dive into each option available. Default Parameter Values Customers can now define default values to any of the parameters within SDK by using these new cmdlets: Get-RubrikModuleDefaultParameter Set-RubrikModuleDefaultParameter Remove-RubrikModuleDefaultParameter These default values are then applied globally across all the PowerShell module cmdlets. For example, the PrimaryClusterId  parameter is present on a wide range of cmdlets within the Rubrik SDK. Rather than constantly providing this value manually during cmdlet execution, a default value could be sent automatically by executing the following code: Set-RubrikModuleDefaultParameter -ParameterName PrimaryClusterId -ParameterValue “local” As shown below, once set, the local value will be sent to…
Rubrik -  - Tips and Tricks for Using Postman with Rubrik APIs

General Tech

Tips and Tricks for Using Postman with Rubrik APIs

The increasing proliferation of APIs in combination with shifting IT environments makes strong collaboration tools essential for many developer and IT teams. Postman, a collaboration platform for API development, is a top choice for many organizations. A free application, Postman is useful for exploring APIs, building workflows, and sharing use case samples with anyone, such as a teammate. It’s especially handy when building dynamic variables to use across multiple environments.  With Postman, teams are able to collaborate through the use of collections and environments. It also has the ability to use a Collection Runner, which allows automated testing to iteratively run. The Postman console checks what data has been retrieved to make test debugging easy.  Before writing a bunch of code, I will usually mock up workflows using Postman to map out the steps and identify data types like parameters and variables. In this post, I will walk through a few use cases and tips to guide you along your automation journey using Postman.  Use Collections Being able to build requests and workflows using a GUI is great, but collections are where Postman really stands out. Collections are simply groups of requests organized into folders to help organize your workflows…
Rubrik -  - Rubrik As Built Report for Easier, Automated Documentation

Product

Rubrik As Built Report for Easier, Automated Documentation

It’s in the back of your mind, lurking in the corner, consuming your every thought as you try meticulously to forget it. You may even think you can skip it or leave it for someone else. But you know that when the time comes, you and your peers will need it, and that ultimately it’s one of the most important parts of IT. Does this process of writing as-built documentation sound familiar to you? Luckily, you can now document your environment without the standard time investment and stress through a completely automated process that always provides the most up-to-date, accurate documentation. Meet the Rubrik As Built Report. Hello, As Built Report The As Built Report project, started by Tim Carman and Matt Allford back in 2017, aims to take the act of documentation and make it, well, as the title says: suck less. The project is a PowerShell based, open-source configuration document framework that can produce automated, as-built documentation in multiple document formats across a number of vendors and technologies. The As Built Report project solves three of the most common pitfalls of writing as-built documentation: Documentation is a tedious task: For many IT organizations, documentation is still a very…
Rubrik -  - Need Linux Bare Metal Protection? Rubrik’s Got You Covered!

Product

Need Linux Bare Metal Protection? Rubrik’s Got You Covered!

For many customers, Bare Metal Recovery (BMR) of Linux systems is a common use case for operations like disaster recovery and cloning since it allows a system to be completely restored from hardware with no operating system installed. With virtual machines (VMs), bare metal restores are easily accomplished by taking an image backup and restoring that image. However, for some systems, this is not possible. These include restoring to physical machines, VMs on hypervisors that do not support image-level backups, and cloud-based machines that need to be moved between clouds or back on-prem. BMR also avoids problems during recovery of finding the right operating system, patches, drivers, sizing and repartitioning disks. To address these limitations, Rubrik contributed to the open source project Relax and Recover (ReaR), a Linux bare metal recovery tool that can create a bootable ISO image from a Linux system. The integration with Rubrik CDM consists of including its RBS agent in the ISO image (step 1). The system being protected is backed up by Rubrik (step2). To restore, the recovery system is booted from the ReaR ISO image (steps 3 & 4). Rubrik CDM can be used to recover all or part of the Linux system…
Rubrik -  - Rubrik SDK for PowerShell 5.0.1 Now Available

Product

Rubrik SDK for PowerShell 5.0.1 Now Available

We recently released the latest version (5.0.1) of Rubrik’s most popular SDK, the Rubrik SDK for PowerShell. The module allows you to interact with your Rubrik Clusters and automate tasks such as assigning SLAs, taking snapshots, and pausing backups to allow for patching or to generate customized reports retrieved from the Rubrik Cluster. About the Module The PowerShell module was originally created in 2015 and has been widely adopted with over 9,000 downloads. Last summer, we began formulating a strategy to make the module more maintainable and accessible, which we dubbed “Project Quokka.” This included migrating the module to Azure DevOps for CI, creating unit tests that allow for simplified validation if future changes in the code are breaking existing functionality, and providing updated and complete documentation for all private and public functions in the module. One of the project’s first initiatives was to update the module to be compatible with PowerShell Core, allowing it to be used on macOS and Linux, as well as Windows.  Release Highlights Over a thousand codebase changes were made in our latest release, with some great contributions made by community members such as Nick Shores who provided a number of functions to help with…
Rubrik -  - Introducing rbkcli: Rubrik’s Command Line Interface

Product

Introducing rbkcli: Rubrik’s Command Line Interface

With the rise of public cloud and pay-as-you-grow services, IT environments and data management workflows have changed dramatically. While the cloud brings a variety of benefits–cost savings, mobility, and stronger DR– it also comes with some scary challenges, such as maintaining a cost-efficient infrastructure and meeting retention SLAs. Rubrik was built specifically to solve these challenges and is designed to protect and manage data, irrespective of where that data resides. We’re constantly talking to our customers so that we can continue to develop solutions that address their biggest pain points with cloud adoption. Cloud Innovation Can Lead to Management Headaches  While the cloud presents a multitude of benefits, managing multiple archival configurations and SLAs becomes tricky and often requires a number of tools. To help address this challenge and others, we’re thrilled to introduce rbkcli, a command line interface based on Rubrik APIs. This post walks through how to use a default rbkcli script that’s tailored to assist in managing Rubrik snapshots through APIs. This use case enables users to easily locate snapshots at massive scale within a single interface. Before diving in, let’s go over the basics of rbkcli. All APIs available on Rubrik systems are also available as…
Rubrik -  - Advanced Protection for vCD with Rubrik and PowerShell

Product

Advanced Protection for vCD with Rubrik and PowerShell

Hot off the announcement of being VMware certified for vCloud Director (vCD), we have two more exciting capabilities for our vCD users. First, we have added extensive support for vCD to our PowerShell SDK. Second, our Andes 5.1 release includes the ability to protect vCD Templates in a manner similar to our existing vCD vApp protection. This post will explore both of these new features. PowerShell SDK Updates Since its release, the Rubrik SDK for PowerShell has been a powerful and popular tool for managing day-to-day data protection tasks. Adding the ability to manage vCD protection via our SDK allows users and administrators to script protection and recovery tasks by providing reliable, repeatable automation of otherwise tedious workflows. Here are the newest cmdlets: Export-RubrikVApp: Exports a snapshot from a protected vApp to a new or existing vApp. Export-RubrikVCDTemplate: Exports a snapshot from a protected vCD Template to a catalog. Get-RubrikVApp: Provides information about a vApp, including ID and assigned SLA Domain. Get-RubrikVCD: Provides information about vCD instances connected to Rubrik. Get-RubrikVAppExportOptions: Provides metadata needed to perform a vApp export. Get-RubrikVAppRecoverOptions: Provides metadata needed to perform a vApp recovery. Protect-RubrikVApp: Assigns or removes an SLA Domain from a vApp. Restore-RubrikVApp: Performs…
Rubrik -  - Rubrik Collection to Be Certified in Ansible 2.9!

Company

Rubrik Collection to Be Certified in Ansible 2.9!

Many of our customers leverage APIs and consume Rubrik Build projects to seamlessly automate and operate within a hybrid cloud environment. To provide the highest-quality integrations, we take a partner-focused approach when developing innovative solutions for the modern enterprise. To provide the best user experience, Rubrik has closely collaborated with Red Hat to design and develop our Ansible integration for Cloud Data Management.  Collections were announced as a part of Red Hat Ansible Engine 2.8 and are designed to provide a consistent format that allows partners, such as Rubrik, to ship a bundle of modules, plugins, roles, and documentation together. Using Collections simplifies management of Ansible content while maintaining ease of consumption. The Rubrik Collection for Ansible empowers customers to more tightly integrate configuration management, provisioning, and data protection. With our latest Ansible release, I am pleased to announce that Rubrik’s integration with Red Hat Ansible will be certified against Ansible 2.9. “Rubrik worked with Red Hat as a launch partner to certify their Ansible Collection, giving our joint customers robust support when using Ansible to automate mission-critical services. The integration follows Ansible’s best practices and enables Ansible and Rubrik customers to make data protection a component of their automation…