docs/guide/config-backup.md
The backup section of the Nginx UI configuration controls the security and access permissions for backup operations. This section ensures that backup functionality operates within defined security boundaries while providing flexible storage options.
Nginx UI provides comprehensive backup functionality that includes:
[]string[] (empty array)>= v2.0.0This is the most critical security setting for backup operations. It defines a list of directory paths that are allowed for backup operations, including both backup source paths and storage destination paths.
The GrantedAccessPath setting serves as a security boundary that:
[backup]
GrantedAccessPath = /var/backups
GrantedAccessPath = /home/user/backups
../ sequences)/tmp allows /tmp/backup but not /tmpfoo to prevent confusionWhen backing up Nginx or Nginx UI configurations:
For custom directory backups:
GrantedAccessPath boundariesGrantedAccessPath boundariesFor S3-compatible object storage:
Automatic backups use a visual cron editor interface that allows you to:
This configuration enables backup operations while maintaining strict security boundaries, ensuring that backup functionality cannot be misused to access unauthorized system areas.