Incremental backups not deleted automatically

Questions about Cobian Backup 11 (Gravity)
Post Reply
supportaf
Posts: 9
Joined: 02 May 2022, 15:30

Incremental backups not deleted automatically

Post by supportaf »

I am having trouble with old incremental backups clogging ip my disks, so I created a new backup job using test data and did a BACKUP FULL to start the whole process off.

I've probably got some sort of configuration problem but cant see where that is.

Properties File
Task Properties.PNG
Task Properties.PNG (51.81 KiB) Viewed 9767 times
I ran the task several times and see that the incremental files remain in both Cobian History and the destination top directory, (adding a new file to the source each time).

Log File
Log.PNG
Log.PNG (40.88 KiB) Viewed 9767 times

History File
History.PNG
History.PNG (35.69 KiB) Viewed 9767 times

Target Directory
Backup Directory.PNG
Backup Directory.PNG (20.02 KiB) Viewed 9767 times
CBU file

{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={F071E383-1E7E-44DC-8DD0-36D1EF089ED4}
History parent ID=
History backup kind=0
History date time=0100000011100101110100010111001101111001110001110100000110111010
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=true
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;36;18 (Full)"""
History size=112003
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={9456B671-AA50-4166-88D9-2A4CD736C380}
History parent ID={F071E383-1E7E-44DC-8DD0-36D1EF089ED4}
History backup kind=1
History date time=0100000011100101110100010111001110000010110100110000000111111010
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;37;56 (Incremental)"""
History size=0
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={4F519C4A-27B7-47C3-A5B4-782D59A4E7BE}
History parent ID={F071E383-1E7E-44DC-8DD0-36D1EF089ED4}
History backup kind=1
History date time=0100000011100101110100010111001110001111110011101101001011100000
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;40;12 (Incremental)"""
History size=0
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={CC6CAD11-44B1-4373-8464-306D5C27A883}
History parent ID={F071E383-1E7E-44DC-8DD0-36D1EF089ED4}
History backup kind=1
History date time=0100000011100101110100010111001110010110000001010001000100100001
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;41;18 (Incremental)"""
History size=0
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={0C827B72-A99A-4636-9975-60BE6D032023}
History parent ID=
History backup kind=0
History date time=0100000011100101110100010111001110011011001110000011111110101011
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;42;10 (Full)"""
History size=112003
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={6A5F8BFC-B588-407F-AF66-E1D553D5F5FE}
History parent ID={0C827B72-A99A-4636-9975-60BE6D032023}
History backup kind=1
History date time=0100000011100101110100010111001110110110100110111111111001101111
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;47;01 (Incremental)"""
History size=0
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={7F04AD5D-97DF-42D4-AF34-F40C65F77277}
History parent ID={0C827B72-A99A-4636-9975-60BE6D032023}
History backup kind=1
History date time=0100000011100101110100010111001110111110001100010110111111101101
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;48;21 (Incremental)"""
History size=0
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={1B67C685-B548-454A-970B-712ABEC6B061}
History parent ID={0C827B72-A99A-4636-9975-60BE6D032023}
History backup kind=1
History date time=0100000011100101110100010111001111000010000001001010101010011010
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;49;01 (Incremental)"""
History size=0
//11}
{11//
History task ID={2AC676A6-209A-48B6-9B5C-9288DFB51E1E}
History backup ID={CA54CA3A-817F-4442-905A-4D16800C2A16}
History parent ID=
History backup kind=0
History date time=0100000011100101110100010111001111001100001010101111100110000001
History next backup=0000000000000000000000000000000000000000000000000000000000000000
History source="1,C:\Users\jmartins\Documents"
History destination=1,\\AFND\GIT\TEST
History compression=0
History encryption=0
History schedule=6
History parked=false
History files="1,""\\?\UNC\AFND\GIT\TEST\Documents 2022-05-02 14;50;45 (Full)"""
History size=112003
//11}


Have I configured it incorrectly?

Thanks for any help
User avatar
cobian
Site Admin
Posts: 4992
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Incremental backups not deleted automatically

Post by cobian »

What is in your Dynamics tab?
--
Luis Cobian
Cobian Backup's creator
supportaf
Posts: 9
Joined: 02 May 2022, 15:30

Re: Incremental backups not deleted automatically

Post by supportaf »

Thanks for your quick reply.
At the moment I am not in the office so I can't get the "Dynamics" information but as soon as I get there I will post it here.
Thanks
supportaf
Posts: 9
Joined: 02 May 2022, 15:30

Re: Incremental backups not deleted automatically

Post by supportaf »

Here are the contents of the "Dynamics" tab:
Dynamics
Dynamics
Dynamics.PNG (23.89 KiB) Viewed 9734 times

I've also attached a few other tabs that may be relavant.
General
General
General.PNG (32.42 KiB) Viewed 9734 times
Files
Files
Files.PNG (17.82 KiB) Viewed 9734 times
Advanced
Advanced
Advanced.PNG (21.96 KiB) Viewed 9734 times
I hope this helps.
Thanks
supportaf
Posts: 9
Joined: 02 May 2022, 15:30

Re: Incremental backups not deleted automatically

Post by supportaf »

Bump

Any further information on this issue?
User avatar
cobian
Site Admin
Posts: 4992
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Incremental backups not deleted automatically

Post by cobian »

History.PNG
History.PNG (35.69 KiB) Viewed 9672 times
I don't see any problem... The program is doing a full backup and then 3 differential, then one more full, etc...The differentials are only deleted together with it corresponding backup.
--
Luis Cobian
Cobian Backup's creator
supportaf
Posts: 9
Joined: 02 May 2022, 15:30

Re: Incremental backups not deleted automatically

Post by supportaf »

I think ther is some mis-communication between us.

As you can see on the screen shot I am running an INCREMENTAL backup not DIFFERENTIAL.

On the production site this failure to delete old, FULL, (and subsequent INCREMENTAL), backups resulted in huge amounts of disk space being used by old backups which is what prompted me to raise the issue on INCREMENTAL backups.

I created the TEST backup job with test data in order to test the issue.

I find no mention of a deletion process on the logs on the production site.

Since writing this query I have changed the TEST job to a DIFFERENTIAL backup;
  • Make one full every... 2
  • Full copies to keep 2
  • Differential copies to keep 2

This seems to work correctly; deleting the old FULL backup together with its DIFFERENTIAL 'children'.

2022-05-09 12:09 Deleting a full backup with all its files. Reason: there are 3 non-parked full backups
2022-05-09 12:09 Old backup files to delete: \\AFND\GIT\TEST\Documents 2022-05-09 12;02;39 (Full)
2022-05-09 12:09 Counting the files to delete
2022-05-09 12:09 Number of non-ftp files found to delete: 6
2022-05-09 12:09 Deleting old backups
2022-05-09 12:09 The deleting operation has been successfully completed
2022-05-09 12:09 Deleting a child backup with all its files. Reason: the parent full backup has been deleted
2022-05-09 12:09 Old backup files to delete: \\AFND\GIT\TEST\Documents 2022-05-09 12;04;04 (Differential)
2022-05-09 12:09 Counting the files to delete
2022-05-09 12:09 Number of non-ftp files found to delete: 1
2022-05-09 12:09 Deleting old backups
2022-05-09 12:09 The deleting operation has been successfully completed
2022-05-09 12:09 Deleting a child backup with all its files. Reason: the parent full backup has been deleted
2022-05-09 12:09 Old backup files to delete: \\AFND\GIT\TEST\Documents 2022-05-09 12;04;54 (Differential)
2022-05-09 12:09 Counting the files to delete
2022-05-09 12:09 Number of non-ftp files found to delete: 2
2022-05-09 12:09 Deleting old backups
2022-05-09 12:09 The deleting operation has been successfully completed

When performing INCREMENTAL backups, these 'Deletion' entries were never seen after many runs.

Thanks for your help.
User avatar
cobian
Site Admin
Posts: 4992
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Incremental backups not deleted automatically

Post by cobian »

There is no difference between incremental and differential in this case.

The problem is: it's working perfectly in my tests. Running a test backup 100 times: only 5 full backups and its associates incremental are kept.
Attachments
Capture.PNG
Capture.PNG (40.02 KiB) Viewed 9661 times
--
Luis Cobian
Cobian Backup's creator
Post Reply