Just to be weird can you do a "remove-all-but-n-full 0” ? Then do a normal backup?
On Nov 17, 2023, at 06:58, edgar.soldin--- via Duplicity-talk <duplicity-talk@nongnu.org> wrote: On 17.11.2023 08:25, Aitor Soroa via Duplicity-talk wrote: My backup scheme consists of creating a full backup at the beginning of each month and then daily incremental backups. The problem is that my remote storage does not have enough space to store two full backups, so at the beginning of each month I need to erase everything before starting the new full backup. So I need something like:
IF the full backup is older than one month THEN - remove all backups - start a new full backup. ELSE - do an incremental backup
I know that this schema is sub-optimal, and that there exists a window where I can lose everything, but I can live with that.
indeed,so maybe find more space or a second/local location?Is there any way to do this with duplicity?
no. closest would be `backup --full-if-older-than <time>` followed by a `remove-all-but-n-full <n>` but that'd would lead to _two_ backup chains on the remote, which you say is not an option.
|