Understanding Snapshots and Pruning

Bluebeep     Jan 7 1:04PM 2018 GUI

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!


gchen    Jan 7 10:23PM 2018

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.


Bluebeep    Jan 8 9:06AM 2018

Thanks!


Word to the Bird    Jan 8 9:57PM 2018

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


gchen    Jan 9 11:26AM 2018

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.


Word to the Bird    Jan 10 12:15AM 2018

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


gchen    Jan 10 11:21AM 2018

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