duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Found 3 secondary backup chains + 1 Found primary b


From: Сергей Цаболов
Subject: Re: [Duplicity-talk] Found 3 secondary backup chains + 1 Found primary backup chain
Date: Mon, 2 Aug 2021 15:24:57 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

hey Edgar,

Sorry if my description is not clear.

After read some manual and see from man some parameters I found how I remove older backups from one month and keep what I need.

duplicity remove-all-but-n-full 2 --no-encryption --force file:///srv/back-rsync/srv1/duplicity/  --log-file /root/duplicity.log

And after remove collection-status is correct show what I need.

Collection Status
-----------------
Connecting with backend: BackendWrapper
Archive dir: /root/.cache/duplicity/eb710fcd623091d4f03ec686ba4ad69e

Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------------------------
Chain start time: Sun Jul 25 19:10:02 2021
Chain end time: Sat Jul 31 20:10:01 2021
Number of contained backup sets: 8
Total number of contained volumes: 20
 Type of backup set:                            Time:      Num volumes:
                Full         Sun Jul 25 19:10:02 2021                13
         Incremental         Sun Jul 25 20:10:05 2021                 1
         Incremental         Mon Jul 26 20:10:03 2021                 1
         Incremental         Tue Jul 27 20:10:01 2021                 1
         Incremental         Wed Jul 28 20:10:01 2021                 1
         Incremental         Thu Jul 29 20:10:01 2021                 1
         Incremental         Fri Jul 30 20:10:01 2021                 1
         Incremental         Sat Jul 31 20:10:01 2021                 1
-------------------------


Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Sun Aug  1 19:10:01 2021
Chain end time: Sun Aug  1 20:10:04 2021
Number of contained backup sets: 2
Total number of contained volumes: 14
 Type of backup set:                            Time:      Num volumes:
                Full         Sun Aug  1 19:10:01 2021                13
         Incremental         Sun Aug  1 20:10:04 2021                 1
-------------------------
No orphaned or incomplete backup sets found.

Thank you.

P.S. Now the command is in crontab and I see how is run correct in next Monday.


02.08.2021 15:03, edgar.soldin--- via Duplicity-talk пишет:
On 02.08.2021 10:39, Сергей Цаболов via Duplicity-talk wrote:
Hello,

I need you advice about how remove old backup full and Incremental.

All my backup working well.

Every day I take Incremental backups for some hosts and once a week I make Full 
backup.

Now for one month I have for Full backup  Found 3 secondary backup chains + 
Incremental for the first week.

All backups command I add to cron  jobs and is working.

Now I want to add for test to delete 2 chain backups from 3 chain backup.

And leave on storage one Secondary chain 3 of 3 and last Found primary backup 
Full and  Incremental for one host to test.

Thanks.


hey Sergey,

please post the output of 'duplicity collection-status ...' and mark in there 
the backups you want to purge. i am not sure after reading your description 
above :)

..regards ede/duply.net

_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

--
-------------------------

Best Regards




reply via email to

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