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?
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
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.
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