From 92e690ca35c8618d10b955c8a49211aa84845161 Mon Sep 17 00:00:00 2001 From: jwrauch Date: Tue, 24 Jun 2025 18:33:51 +0000 Subject: [PATCH] --- ...firming_my_preferred_content_understanding.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/Confirming_my_preferred_content_understanding.mdwn diff --git a/doc/forum/Confirming_my_preferred_content_understanding.mdwn b/doc/forum/Confirming_my_preferred_content_understanding.mdwn new file mode 100644 index 0000000000..67ca20d911 --- /dev/null +++ b/doc/forum/Confirming_my_preferred_content_understanding.mdwn @@ -0,0 +1,14 @@ +I've been using git-annex for a little while now to keep two copies of my data backed up across three and soon to be four external hard drives. I recently came across the preferred content expressions and realized that they could make my life a lot easier, but I want to make sure I understand them correctly first. + +As I mentioned, I want two copies of my data stored across several external hard drives. Right now I keep track of this manually and I don't try to balance the data between drives. From what I understand, I can add the repository from each drive to the archive group. And then call + +``` + git annex groupwanted archive (not (copies=archive:2 and balanced=archive:lackingcopies)) + git annex wanted here groupwanted +``` + +And then when I sync the repositories it will try and balance the data between themselves while ensuring there are at least two copies of the data. I can also easily add hard drives to the system by cloning a repository on them and then adding it to the group. + +Do I have the correct understanding here or am I missing something? Are there any suggestions or advice you have for this setup? Is using `fullybalanced` or `sizebalanced` better? + +