Skip to main content

V2.1

Minor Versionm

by Rene Weber

Introduction

This guide describes the easy steps to realize a continuous snapshotting for SNAS by the use of the API.

Be aware that Snapshots will need disk space depending on the interval and the data change rate.

  1. Visit http://github.com/fastlta/sb-public Switch to the Folder scripts -> windows
    • Visit http://github.com/fastlta/sb-public

    • Switch to the Folder scripts -> windows

    • Download the following files by opening them, choosing "Raw" and saving the file:

    • FAST.ps1

    • SB-ContinousSnapshot.ps1

    • Store the files to a folder on your Windows host ( we use C:\scripts )

    • The Windows host must have access to the management port of your Silent Brick System

  2. Open a powershell and switch to scripts folder Run the script with  the desired parameters Hostname: IP/Name of the Silent Brick System
    • Open a powershell and switch to scripts folder

    • Run the script with the desired parameters

    • Hostname: IP/Name of the Silent Brick System

    • Username: UI User with admin rights for the Volume

    • Password: UI Users' password

    • Volume: Name of your Volume

    • Minutes: Maximum Age of Snapshots before deletion

    • Verify snapshot creation in the volume view of your Silent Brick System

  3. Open Windows Task Scheduler Select "Create Task" Define a Trigger as desired
    • Open Windows Task Scheduler

    • Select "Create Task"

    • Define a Trigger as desired

    • Here it will create a Snapshot every 10 Minutes

    • Make sure your plan is enabled

  4. Switch to Action and add a new action Command: Powershell.exe
    • Switch to Action and add a new action

    • Command: Powershell.exe

    • Arguments: Full commandline of the Snapshot-script including the arguments

    • Start in: Your scriptsfolder

  5. Adjust the task settings as displayed
    • Adjust the task settings as displayed

  6. Right click the task and choose "run now" Verify that a Snapshot is created
    • Right click the task and choose "run now"

    • Verify that a Snapshot is created

    • Your task is ready. Wait for the first Snapshots and make sure it runs as expected.

Finish Line

Rene Weber

Member since: 10/27/2016

3,684 Reputation

44 Guides authored

Team

FAST_Dozuki_Admins Member of FAST_Dozuki_Admins

7 Members

51 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 0

All Time: 43

© 2019 FAST LTA | Alle Rechte vorbehalten | Änderungen jederzeit ohne vorherige Ankündigung möglich