Move state/backups.go into its own package.