duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Remove everything before doing a new full backup


From: Scott Hannahs
Subject: Re: [Duplicity-talk] Remove everything before doing a new full backup
Date: Fri, 17 Nov 2023 14:28:09 -0500

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]