tn-backup
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tn-backup

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

20.3 kB

Total Files

31

Last publish

Collaborators

  • turnova