Legally required notice: I work for Dell.
This is how to do it on OS10: https://grantcurell.github.io/Backup%20OS10%20Config%20with%20Ansible/ using Ansible
Playbook
---
- name: Setting up localhost for saving config
hosts: localhost
gather_facts: yes
tasks:
- block:
- name: Generating backup folder name in localhost
set_fact:
target_folder: "{{ backup_folder }}/{{ ansible_date_time.iso8601 }}"
- name: Create config_backup folder
file:
path: "{{ target_folder }}"
state: directory
- debug:
msg: "Config files are to be backed up at {{target_folder}}"
delegate_to: localhost
run_once: True
- name: Backup os10 running configurations
hosts: os10
gather_facts: False
connection: network_cli
tasks:
- name: Fetch OS10 running configuration
dellos10_command:
commands: show running
register: sh_runn
- name: Save config to file
copy:
content: "{{ sh_runn.stdout | replace('\\n', '\n') }}"
dest: "{{hostvars.localhost.target_folder}}/{{inventory_hostname}}_os10_show_run"
delegate_to: localhost
- debug:
msg: "Config files are to be backed up at {{hostvars.localhost.target_folder}}"
run_once: true
Inventory
all:
vars:
backup_folder: "/root/backup"
children:
os10:
hosts:
192.168.1.169:
ansible_become: 'yes'
ansible_become_method: enable
ansible_command_timeout: 120
ansible_connection: ansible.netcommon.network_cli
ansible_network_os: dellemc.os10.os10
ansible_password: admin
ansible_user: admin
192.168.1.170:
ansible_become: 'yes'
ansible_become_method: enable
ansible_command_timeout: 120
ansible_connection: ansible.netcommon.network_cli
ansible_network_os: dellemc.os10.os10
ansible_password: admin
ansible_user: admin
Future Methods
I also put in a request with our product group recently to make it so that you could have a backup created on a remote target whenever a user enters configure mode. We're super early in that process and I didn't ask for a high priority so extremely rough estimate (don't hold me to it) is sometime next year for that.
Other Vendors
Pretty much every network vendor supports Ansible these days so that would be my go to choice. Have the playbook launch via a cron job against your infrastructure and put it all in a timestamped backup folder on a remote target.
Minor Note
Dell bought Force10 so Force10 = Dell unless you mean the really old switches that are still branded as Force10 pre-acquisition.