Skip to content

Modes: configs-only vs full

MinaConfigGuard supports two backup modes.

configs-only (default)

Purpose

  • Fast and safe backups focused on config files

Behavior

  • Only files listed in backup.configFiles are copied
  • For plugin targets, it copies:
    • plugins//
  • For plugins target, it scans the entire plugins folder and picks only matching config file names

Best for

  • Daily backups
  • Production servers
  • Minimizing disk usage

full (--full)

Purpose

  • Snapshot of everything under the target (with filters)

Behavior

  • Copies all files under the target
  • Applies include and exclude filters:
    • backup.full.include.folderNames / fileExtensions
    • backup.full.exclude.folderNames / fileExtensions
  • Mina runtime paths are always excluded:
    • backups
    • reports

Best for

  • Debugging plugin state issues
  • Migrations
  • Rare snapshots when you know what you are doing

Warning

  • Full backups can be large and slow
  • On Windows, some files may be locked and skipped See Windows locked files