Zum Hauptinhalt wechseln

V2.1

Unterversionm

von Rene Weber

Einleitung

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.

Ziellinie

Rene Weber

Mitglied seit: 27.10.2016

4.122 Reputation

48 Anleitungen geschrieben

Team

FAST_Dozuki_Admins Mitglied von FAST_Dozuki_Admins

8 Mitglieder

67 Anleitungen geschrieben

0 Kommentare

Kommentar hinzufügen

Seitenaufrufe:

Letzten 24 Stunden: 0

Letzten 7 Tage: 0

Letzten 30 Tage: 0

Insgesamt: 82

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