FortiNAC-F
FortiNAC-F is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks. For legacy FortiNAC articles prior to FortiNAC-F 7.2, see FortiNAC.
rmaccalla
Staff
Staff
Article Id 417794
Description

 

This article discusses a potential cause of large system backups on FortiNAC-F and how to reduce the large backup files.

 

Scope

 

FortiNAC-F.

 

Solution

 

FortiNAC-F backups include the /home/admin directory. Care should be taken not to write/store large files in this directory, as they will be included in backups moving forward. Additionally, after a migration, this directory should be cleaned of the migration bundle data.

All commands are Linux shell commands. Use the following command to access the underlying Linux shell from the 'fortinac-OS' shell:


execute enter-shell

To see what files are in /home/admin/ directory, use the 'ls' command: 


ls -lah /home/admin

 

home_admin_bundle.png

To remove large files use the 'rm' command(use the -ri or -rf argument for directories. *Use caution when using the -rf argument as it will not prompt for confirmation.


rm /home/admin/(file name)

 

Or,


rm -ri /home/admin/(directory)

Once the /home/admin directory is cleaned up, every subsequent system backup will be less than the amount removed.

The built-in backup system will remove the inflated older backups, and new backups will be taken, and over time, the appliance will recover the used storage.

 

If the appliance does not have enough remaining storage, some of the large system backup files will need to be cleared out.

The same commands can be used to list and remove the large backups from the system backup directory. The system backup directory should contain the appliance's hostname; the 'hostname' command can be used to determine the path to the system backups.


hostname


hostname.png

ls -lah /bsc/backups/(appliance hostname)
rm /bsc/backups/(appliance hostname)/(file name)

After both directories have been cleaned, a fresh system backup can be initiated to ensure the system backups are the expected size via the Admin GUI. Browse to System -> Settings, then select System Management -> System Backups, and select 'Run Now'.

If the system backups are large and there are no large files in the /home/admin directory, contact support for additional assistance. 

Contributors