Skip to content

hosts backup

vpd hosts backup

Create a backup of the hosts file

vpd hosts backup [flags]

Options

  -f, --file string     Path to hosts file (default "/etc/hosts")
  -h, --help            help for backup
  -o, --output string   Output path (default: <hosts>.<timestamp>.bak)

SEE ALSO

  • vpd hosts - Manage /etc/hosts file profiles
Auto generated by spf13/cobra on 26-Mar-2026