Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

File menu shows all userspace files on the router. It is possible to see and edit file content or delete file. file creation is not possible from this menu.  If RouterOS ".npk" package is uploaded, the file menu will also show package-specific information, for example, architecture, build date and time, etc.

...

Note

For multicore devices with a NAND flash memory (e.g. CCR series routers, RB4011iGS), RouterOS uses a write-back which that will cache file changes into RAM memory instead of writing them straight away into flash media. The file changes will be stored on the flash when it is absolutely necessary, the writing can be delayed by up to 40 seconds. This helps to reduce CPU cycles which results in better performance. However, this can cause empty or zero-length files when a device experience experiences a sudden power loss, because files were not fully saved on a flash.

Properties

PropertyDescription
contents (string; Default: )The actual content of the file
creation-time (time)A time when the file was created
name (string)Name of the file
package-architecture (string)Architecture that package is built for. Applies only to RouterOS ".npk" files
package-built-time (string)A time when the package was built. Applies only to RouterOS ".npk" files
package-name (string)Name of the installable package that. Applies only to RouterOS ".npk" files
package-version (string)A version of the installable package that. Applies only to RouterOS ".npk" files
size (integer)File size in bytes
file type (string)Type of the file. For folders, the file type is the directory

Backups

RouterOS backup feature allows you to save the current device's configuration, which then can be re-applied on the same or a different identical model. This is very useful since it allows you to effortlessly restore the device's configurations or to re-apply the same configuration on a backup device. The system's backup file also contains the device's MAC addresses, which are also restored when the backup file is loaded. 

...