This commit is contained in:
timeshifter
2026-05-16 22:04:54 +02:00
parent 3a2b8b6c53
commit 6e41a8e49d
+3 -2
View File
@@ -10,6 +10,7 @@ use zfs_backup::todo;
use zfs_backup::zfs::ZPool;
fn main() -> Result<()> {
// TODO clean old snapshots
verify_running_as_root()?;
let config = config::Config::read("config.toml")?;
@@ -57,12 +58,12 @@ fn do_backup(
backup_pool: &ZPool,
snapshot_tag: String,
snapshot_interval: String,
datasets: Vec<String>,
do_not_backup_datasets: Vec<String>,
) -> Result<bool> {
let todos = todo::Todo::plan(
local_pool,
backup_pool,
datasets,
do_not_backup_datasets,
snapshot_tag,
snapshot_interval,
)