rustic-rs / rustic_scheduler Goto Github PK
View Code? Open in Web Editor NEWSchedule rustic backups for many clients to a common repository
Home Page: https://rustic.cli.rs/ecosystem/rustic-scheduler/
License: Apache License 2.0
Schedule rustic backups for many clients to a common repository
Home Page: https://rustic.cli.rs/ecosystem/rustic-scheduler/
License: Apache License 2.0
Allow to configure the total number of backup jobs backing up in parallel into the repository managed by rustic_scheduler.
Maybe also add the possibility to specify the number of total backups run which are allowed to run in parallel on each client - configured per client group.
Hi,
I'm trying to migrate from restic
to rustic
and get some benefits of config files.
There are tons of wrappers around restic
. I'm personally using my own that also stores configuration on remote side. And I want to get rid of it :)
So I want to propose some discussion about this feature. What I would like to have is:
self-update
if needed using my own build (basically tested/approved build)Ideally I would like to just add rustic poll-do-geverything
to /etc/cron.hourly
and let it do everything needed (basically just check and do backup if needed). cron.hourly
is used here to make sure backup is retried in case of network failure.
Right now I've custom wrapper for restic and I'm using rest-server
as backend for this. Just extra restic
-like repo is hijacked and reused to serve this. But I think we can think about extra directory layout.
PS. Most likely I'll try to contribute code if it's interesting
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
serde
, serde_derive
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Cargo.toml
anyhow 1
axum 0.7.3
chrono 0.4.31
clap 4
clap_derive 4.4.7
cron 0.12
env_logger 0.10
gethostname 0.4.3
log 0.4.20
rustic_core 0.1
sailfish 0.8
serde 1
serde_derive 1.0.194
serde_json 1
serde_with 3
tokio 1
toml 0.8.8
tungstenite 0.21
url 2.5
.github/workflows/audit.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
dtolnay/rust-toolchain v1@1482605bfc5719782e1267fd0c0cc350fe7646b8
Swatinem/rust-cache v2@a95ba195448af2da9b00fb742d14ffaaf3c21f43
rustsec/audit-check v1.4.1@dd51754d4e59da7395a4cd9b593f0ff2d61a9b95
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
EmbarkStudios/cargo-deny-action v1@1e59595bed8fc55c969333d08d7817b36888f0c5
.github/workflows/ci.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
dtolnay/rust-toolchain v1@1482605bfc5719782e1267fd0c0cc350fe7646b8
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
dtolnay/rust-toolchain v1@1482605bfc5719782e1267fd0c0cc350fe7646b8
Swatinem/rust-cache v2@a95ba195448af2da9b00fb742d14ffaaf3c21f43
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
dtolnay/rust-toolchain v1@1482605bfc5719782e1267fd0c0cc350fe7646b8
Swatinem/rust-cache v2@a95ba195448af2da9b00fb742d14ffaaf3c21f43
.github/workflows/cross-ci.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
rustic-rs/cross-ci-action main
.github/workflows/lint-docs.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
dprint/check v2.2@2f1cf31537886c3bfb05591c031f7744e48ba8a1
.github/workflows/nightly.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
rustic-rs/create-binary-artifact-action main
actions/download-artifact v4@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110
.github/workflows/prebuilt-pr.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
rustic-rs/create-binary-artifact-action main
.github/workflows/release-cd.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
rustic-rs/create-binary-artifact-action main
.github/workflows/release-ci.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
dtolnay/rust-toolchain v1@1482605bfc5719782e1267fd0c0cc350fe7646b8
Swatinem/rust-cache v2@a95ba195448af2da9b00fb742d14ffaaf3c21f43
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
dtolnay/rust-toolchain v1@1482605bfc5719782e1267fd0c0cc350fe7646b8
Swatinem/rust-cache v2@a95ba195448af2da9b00fb742d14ffaaf3c21f43
obi1kenobi/cargo-semver-checks-action v2@e275dda72e250d4df5b564e969e1348d67fefa52
.github/workflows/release-pr.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
chainguard-dev/actions main
Swatinem/rust-cache v2@a95ba195448af2da9b00fb742d14ffaaf3c21f43
taiki-e/install-action v2@56ab7930c591507f833cbaed864d201386d518a8
cargo-bins/release-pr v2@deeacca5a38bacc74a3f444b798f4b9bba40f6ad
.github/workflows/triage.yml
Allow a possibility to manually start a specific backup out-of-schedule.
This could be done, e.g. using a web-interface, for instance the dasboard #4 .
Analogous to restic/restic#299.
It would be great if the backup server could initiate the connection for a backup operation.
Main use case is probably the backup server being behind a firewall without open ports. This feature would then either enable operation in the first place or enhance security (by not forcing an open port on the backup server).
Allow to manually start a restore of a chosen snapshot+path onto a client to a given directory.
Maybe also allow to schedule this restore to a given time.
Add a dashboard webpage which shows state of of backups of each client but also some overall state like "all backups schedules did run OK" or even allow digging into it by client groups, etc...
related to #3
Statistics about backup runs (OK/disconnected/failed with error on the client) are already saved, but not used so far. They should be accessible by the web-server on the rustic_scheduler server.
When clients are not connected, but reconnect, the last missing backup for each source should be re-scheduled.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.