digint / btrbk

Tool for creating snapshots and remote backups of btrfs subvolumes
https://digint.ch/btrbk/
GNU General Public License v3.0
1.64k stars 120 forks source link

Archive, need to have more details #451

Open citronbleuv opened 2 years ago

citronbleuv commented 2 years ago

I'm not sure to understand something.

I have this config :

Today, I have 3 backups

I run a archive command, so I should have in archive folder :

Now, we are the 2020-01-12, I run a new backup. So I should have

Now I run archive, logicaly I should have :

But how that work, archive command will remove the old and will resend all ? Or the system can still do the difference between the last archive 2020-01-03 and send the difference only ?

luxagen commented 2 years ago

IIUC, that example should make btrbk

Therefore, I believe btrbk will, in your example:

Anyone please correct me if I've got this wrong.

Edit: on reviewing the question, I notice that you've defined only the targetpreserve config but are using the archive command. If my answer is correct, it applies only if you change your example targetpreserve config to archivepreserve*.