-
|
I'd like to run a "check --read-data-subset=2.5%" after every successful backup, but I don't know how to do it. I am doing this from a laptop, and have a systemd file that takes care of launching The standard housekeeping does not seem to accept the "read-data-subset" argument. Of course, I can run but that executes the check unconditionally, and that is not what I want. Concatenating runs the backup and exits (with success) without running the check. Using the post-execution commands with fails with the error I guess I could build more complex logic into the systemd file, like only run the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
@rdiaz02, You have read my discussion with @deajan at #123 then you will see that calling native restic directly in pre- and post execution does not work since npbackup does not pass sensitive information to the environment, so basically your restic above would not be aware of the repository location. Since npbackup does not yet support subset natively you can resort to the --raw as per examples in #123. This could go into your post execution step: hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
Well since v3.1 backup can launch housekeeping operation post backup, which van be configured to run with --read-data-subset, see #183 |
Beta Was this translation helpful? Give feedback.
Well since v3.1 backup can launch housekeeping operation post backup, which van be configured to run with --read-data-subset, see #183