mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-10 13:40:15 +08:00
Update README.md
This commit is contained in:
parent
ff9d6fbabc
commit
154bab6b15
1 changed files with 11 additions and 8 deletions
19
README.md
19
README.md
|
@ -46,6 +46,7 @@ Please check https://github.com/netinvent/npbackup/releases
|
||||||
- Remote connectivity concurrency settings*
|
- Remote connectivity concurrency settings*
|
||||||
- Per repo / group retention policies
|
- Per repo / group retention policies
|
||||||
- Will also avoid wrong date data destruction via optional NTP queries
|
- Will also avoid wrong date data destruction via optional NTP queries
|
||||||
|
- Housekeeping option which will perform check, forget and prune in one run
|
||||||
- Comes with full exclusion lists for Linux and Windows
|
- Comes with full exclusion lists for Linux and Windows
|
||||||
- First class prometheus support
|
- First class prometheus support
|
||||||
- Restic results metric generation
|
- Restic results metric generation
|
||||||
|
@ -76,13 +77,14 @@ Please check https://github.com/netinvent/npbackup/releases
|
||||||
So, a new backup solution out of nowhere, packed with too much features for it's own good ? Not really !
|
So, a new backup solution out of nowhere, packed with too much features for it's own good ? Not really !
|
||||||
|
|
||||||
NPBackup relies on the well known [restic](https://restic.net) backup program, which has been battle proven for years.
|
NPBackup relies on the well known [restic](https://restic.net) backup program, which has been battle proven for years.
|
||||||
While restic is a fanstastic program, NPBackup expands restic by offering a wider set of features.
|
While restic is a fanstastic program, NPBackup expands restic by offering a wider set of features.
|
||||||
|
Still, NPBackup repos are basically managed by restic, and can be viewed / restored / maintained by restic.
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
NPBackup consists of four programs:
|
NPBackup consists of four programs:
|
||||||
- npbackup-cli: CLI version of the backup program
|
- npbackup-cli: CLI version of the backup program
|
||||||
- npbackup-gui: GUI version of the backup program, useful to create YAML config files
|
- npbackup-gui: GUI version of the backup program, useful to create YAML config files and for end users, can also act as cli
|
||||||
- npbackup-viewer: View and restore restic repositories without configuration
|
- npbackup-viewer: View and restore restic repositories without configuration
|
||||||
- upgrade_server: Separate server to provide npbackup clients with newer binaries
|
- upgrade_server: Separate server to provide npbackup clients with newer binaries
|
||||||
|
|
||||||
|
@ -126,7 +128,7 @@ The YAML configuration file encrypts sensible data so the end user doesn't have
|
||||||
|
|
||||||
## Quickstart GUI
|
## Quickstart GUI
|
||||||
|
|
||||||
Just run the npbackup executable and configure it.
|
Just run the npbackup-gui executable and configure it.
|
||||||
Prebuilt binaries can be found [here](https://github.com/netinvent/npbackup/releases)
|
Prebuilt binaries can be found [here](https://github.com/netinvent/npbackup/releases)
|
||||||
|
|
||||||

|

|
||||||
|
@ -177,10 +179,9 @@ Once done, NPBackup can send backup results in Prometheus format directly to a p
|
||||||
|
|
||||||
## A good server backup solution
|
## A good server backup solution
|
||||||
|
|
||||||
Server backups can be achieved by setting up a scheduled task / cron job.
|
Server backups can be achieved by setting up a scheduled task / cron job manually or via integrated task creation.
|
||||||
|
|
||||||
Of course, since NPBackup supports pre-exec and post-exec commands, it can be used to backup various services like virtual hosts or databases where snapshot/dump operations are required.
|
Of course, since NPBackup supports pre-exec and post-exec commands, it can be used to backup various services like virtual hosts or databases where snapshot/dump operations are required (especially with new stdin_from_command parameter).
|
||||||
When run on a server, prometheus support can be shifted from a push gateway to a file, which will be picked up by node_exporter file collector.:
|
|
||||||
|
|
||||||
## Monitoring
|
## Monitoring
|
||||||
|
|
||||||
|
@ -205,6 +206,8 @@ It also has a `--json` parameter which guarantees parseable output.
|
||||||
`--repo-name` allows to specify one or multiple comma separated repo names
|
`--repo-name` allows to specify one or multiple comma separated repo names
|
||||||
`--repo-group` allows to specify one or multiple comme separated repo group names
|
`--repo-group` allows to specify one or multiple comme separated repo group names
|
||||||
|
|
||||||
|
`npbackup-gui` can also act as cli if run with `--run-as-cli` parameter, allowing to use a single executable for GUI and tasks.
|
||||||
|
|
||||||
## Security
|
## Security
|
||||||
|
|
||||||
NPBackup inherits all security measures of it's backup backend (currently restic with AES-256 client side encryption including metadata) and all security options from it's storage backends.
|
NPBackup inherits all security measures of it's backup backend (currently restic with AES-256 client side encryption including metadata) and all security options from it's storage backends.
|
||||||
|
@ -241,7 +244,8 @@ Permissions are:
|
||||||
## Logs
|
## Logs
|
||||||
|
|
||||||
On Unix, logs will be found in `/var/log` unless the directory is not writable. In that case, we'll write into a temporary directory.
|
On Unix, logs will be found in `/var/log` unless the directory is not writable. In that case, we'll write into a temporary directory.
|
||||||
On Windows, logs will be found in the temp directory defined in `%TEMP%` variable or `%WINDIR%\TEMP` for system tasks.
|
On Windows, logs will be found in the current directory, or in temp directory defined in `%TEMP%` variable or `%WINDIR%\TEMP` when current directory isn't writable.
|
||||||
|
You can also use `--log-file` to specify an alternative log file path.
|
||||||
|
|
||||||
## Upgrade server
|
## Upgrade server
|
||||||
|
|
||||||
|
@ -254,7 +258,6 @@ NPBackup is fully customizable and branding can be done easily.
|
||||||
You'll find all images and icons in the `resources` directory. Feel free to update those files. Once updated, you must run `update_custom_resources.py` to regenerate the `customization.py` file corresponding entries.
|
You'll find all images and icons in the `resources` directory. Feel free to update those files. Once updated, you must run `update_custom_resources.py` to regenerate the `customization.py` file corresponding entries.
|
||||||
The file `customization.py` also contains OEM strings that can be safely changed, except for the license text which must stay unaltered.
|
The file `customization.py` also contains OEM strings that can be safely changed, except for the license text which must stay unaltered.
|
||||||
|
|
||||||
|
|
||||||
## Compilation
|
## Compilation
|
||||||
|
|
||||||
In order to fully protect the AES key that is needed to support NPBackup, one can compile the program with Nuitka.
|
In order to fully protect the AES key that is needed to support NPBackup, one can compile the program with Nuitka.
|
||||||
|
|
Loading…
Add table
Reference in a new issue