Some rework / corrections in README

This commit is contained in:
Yorick Barbanneau 2021-01-15 12:22:24 +01:00
parent cce27559b1
commit b1ca51aa8f

View file

@ -71,7 +71,7 @@ All actions performed by the script are defined by `actions [...]` object :
in `compress` type (see below)
- `source` : the source path, can be `{{tmpdir}}` to give the temporary folder
or a powershell expression if `source_eval` is set to `true`
- `source_eval` : evaluate the powershell expression in source for example
- `source_eval` : evaluate the powershell expression in source, for example
`$env:HOMEDATA\Music` will be interpreted as `C:\Users\name\Music`
- `dest` : the destination path, can be a network path (like `\\<host>\<path>`
) can be `{{tmpdir}}` to give the script temporary folder.
@ -136,13 +136,13 @@ Copy-paste the result in your json file into `pass` (in example, replace
## Log
This backup script log information to you console, but it can log it to a file,
useful when tou execute it in scheduled task for example. Log are in the `log/`
directory. Script create a logfile per day named with the configuration file
basename plus date of execution (eg `example.20210112.log`)
This backup script log information to your terminal, but it can also log to a
file, useful when you execute it in scheduled task for example. Log are in the
`log/` directory. Script create a logfile per day named with the configuration
file basename plus date of execution (eg `example.20210112.log`)
If a logfile is older that 15 day, it will be move to a compressed file
(`example.log.archives.7z`)
(`example.log.archives.<year>.<month>.7z`)
## disclaimer