Understanding Snapshots and Pruning

Hi guys,

I’m new on the scene and I’m just trying to understand how Pruning and Snapshots work. What does Pruning do exactly?

The Keep 1 snapshot feature makes sense however how does this work with ‘if older than’? What I’m trying to achieve is have a daily snapshot backup each day for 30 days. Then keep 1 Snapshot each week for 3 months. Any snapshots older than 3 months to be deleted. Would my setup look like this?:

Delete snapshots older than 90 days
Keep 1 snapshot every 7 days if older than 30 days
Keep 1 snapshot every 1 days if older than 1 days

I’m kind of having trouble understanding the ‘if older than’ part. ‘If older than’ what?

Also, is a ‘revision’ the same thing as a ‘snapshot’?

I’m totally confusing myself. I don’t see a manual or I would have gone digging.

Thanks!

Yes, the setup is correct.

Delete snapshots older than 90 days means any backups created more than 90 days ago will be deleted.

Also, is a ‘revision’ the same thing as a ‘snapshot’?

Yes, sometimes I used them interchangeably (including ‘backup’ as well). This is bad – ‘revision’ should only be used when referring to the ‘revision number’, and ‘snapshot’ is used over ‘backup’ mainly to differentiate from the ‘backup’ command.

Thanks!

how would i keep a maximum of 2 backup’s?

There isn’t a way to limit the number of backups to keep, but ff you run backup daily, then duplicacy prune -k 0:2 will remove backups older than 2 days thus will likely keep 2 backups at most.

i dont use the CLI version… do what do i do in the GUI?

I think this should work:

Delete snapshots older than 2 days
Keep 1 snapshot every 1 days if older than 1 days
Keep 1 snapshot every 1 days if older than 1 days