From 6e41a8e49d751e0d8278e87e639355b8c8d7ed77 Mon Sep 17 00:00:00 2001 From: timeshifter Date: Sat, 16 May 2026 22:04:54 +0200 Subject: [PATCH] add todo --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6c51fc9..8c84bf6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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, + do_not_backup_datasets: Vec, ) -> Result { let todos = todo::Todo::plan( local_pool, backup_pool, - datasets, + do_not_backup_datasets, snapshot_tag, snapshot_interval, )