Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


backup-on-failure (Accounting Options)


Hierarchy Level

[edit accounting-options file filename]


Configure the router to save a copy of the accounting file locally, to the /var/log/pfedBackup directory of the relevant Routing Engine, in the event that file transfer to the remote archive sites cannot be completed.



Back up accounting files from both the primary Routing Engine and the backup Routing Engine.


Back up accounting files from only the primary Routing Engine.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.1.