UNSOLVED

amberb

updated

8 years ago

A

amberb

3 Posts

0

1029

October 10th, 2018 02:00

Can we take backup of a Snapshot schedule on Isilon

Hi Team,

Is there any way where we can take a backup of the Snapshot schedule on Isilon.

Please assist with the procedure if any.

Regards

Amber

  • crklosterman

    450 Posts

    711

    0

    Posted October 10th, 2018 03:00

    This is a strangely worded question to be honest.  Do you mean a take the backup of the "configuration" of the schedule? Or take a backup "of" a snapshot, rather than the live filesystem?  And if it's a backup of a snap, is this a 1-time thing, or are you looking for a longer-term, take a backup of a weekly snap or something like that?

    ~Chris

  • anuragschandra

    1 Rookie

    •

    14 Posts

    711

    0

    Posted October 10th, 2018 11:00

    I assume the question is if somebody has a ton of schedules created , is there a way those can be backed up ?

    So that they dont need to recreate them again.

  • crklosterman

    450 Posts

    711

    0

    Posted October 10th, 2018 12:00

    In what situation would the configuration of the schedules themselves need to be backed up?  If you upgrade the cluster you don't lose them.  If you failover, well the DR cluster would have different snapshot schedules typically anyway (usually longer retention on cheaper nodes).

    Anyway I guess to directly answer the question, you could certainly easily dump the settings all to a .json format or a table, or whatever you want via a single command (2 variations of the output shown below):

    isilon-1# isi snapshot schedules list --v --format=json

    [{"next_run": 1539259200, "name": "demo_daily_snaps", "schedule": "every 1 days at 12:00 PM", "pattern": "ScheduleName_duration_%Y-%m-%d_%H:%M", "alias": null, "duration": 604800, "path": "/ifs/demozone", "id": 1, "next_snapshot": "ScheduleName_duration_2018-10-11_12:00"}, {"next_run": 1539201600, "name": "demo_hourly_snaps", "schedule": "every 1 days every 1 hours between 12:00 AM and 11:59 PM", "pattern": "ScheduleName_duration_%Y-%m-%d_%H:%M", "alias": null, "duration": 86400, "path": "/ifs/demozone", "id": 2, "next_snapshot": "ScheduleName_duration_2018-10-10_20:00"}]

    isilon-1# isi snapshot schedules list --v --format=table

    isilon-1# isi snapshot schedules list --v

               ID: 1

             Name: demo_daily_snaps

             Path: /ifs/demozone

          Pattern: ScheduleName_duration_%Y-%m-%d_%H:%M

         Schedule: every 1 days at 12:00 PM

         Duration: 1W

            Alias: -

         Next Run: 2018-10-11T12:00:00

    Next Snapshot: ScheduleName_duration_2018-10-11_12:00

    --------------------------------------------------------------------------------

               ID: 2

             Name: demo_hourly_snaps

             Path: /ifs/demozone

          Pattern: ScheduleName_duration_%Y-%m-%d_%H:%M

         Schedule: every 1 days every 1 hours between 12:00 AM and 11:59 PM

         Duration: 1D

            Alias: -

         Next Run: 2018-10-10T20:00:00

    Next Snapshot: ScheduleName_duration_2018-10-10_20:00

    -------------------------------------------------------------------------------------------------------------------

    Alternatively you can likely reach out to the guys at Gallium for some information on isi_backup (up in Montreal).  Odds are that it could take care of this for you.

    http://gallium-it.com

    Cool demo video here:

    https://www.youtube.com/watch?v=l_aD6oRN8eo

    Hope this helps,

    ~Chris Klosterman

    Principal SE, Datadobi

    chris.klosterman@datadobi.com