1.0.2 • Published 2 years ago

tn-backup v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Backup Steps

  • Create config file in root folder named backup.configs.json
  • Run npx backup

Config File Example

{
  "base": "./",
  "excludes": [
    { "regexp": "\\\\node_modules$" },
    { "regexp": "\\\\build$" },
    { "regexp": "\\\\dist$" },
    "./backup"
  ],
  "saves": [
    {
      "filename": "Backup",
      "path": "./backup",
      "frequency": "hourly"
    }
  ]
}

Backticks must be used when using excludes > regexp