Only N3048EP-ON and N3132PX switches support this feature.
N3048EP-ON uses the OverlayFS file system which doesn’t allow the user files on the switch to be saved from the RAM to the flash automatically. This results in the loss of user files when the switch is powered off. The user can add the file path (the file that you want to be saved even after power off) to the backup list, in /mnt/open/picos/backup_files file, and then run the save_config command. With this technique, the user files on the backup list are backed up to the flash ensuring that the user files are not lost when the power is turned off.
PICOS has built-in default backup files, as listed below.
If the user operation makes change to the above files, you need to manually run the configuration saving command to save these files from the RAM to the flash. For details, please refer to Configuration Saving Guide and copy running-config startup-config.
If you want to save a user files that are not in the above default backup file list, you can follow the backup operation steps described below.
Step1 Add the file path to the backup list (the file that you want to be saved even after power off), in /mnt/open/picos/backup_files file.
For example, if you want to backup /home/admin/a.txt, then add /home/admin/a.txt to the backup file list:
Step2 Under Linux bash, issue the following command manually to begin file backup.
After the above two steps, the user file /home/admin/a.txt will be backed up to the flash. This file will not be lost when the power is turned off.