toniblyx / alfresco-backup-and-recovery-tool

Alfresco BART is a tool written in shell script on top of Duplicity to do Alfresco backups and restore from a local file system, FTP, SCP or Amazon S3.
Apache License 2.0
96 stars 48 forks source link

Not deleting old backups #44

Open monicakumari opened 5 years ago

monicakumari commented 5 years ago

Hello,

I need help in cleaning/deleting old backups. Its not deleting old backups, just printing some messages like :

Local and Remote metadata are synchronized, no sync needed. NOTICE 1 . Local and Remote metadata are synchronized, no sync needed.

Last full backup date: Tue Sep 18 01:35:44 2018 NOTICE 1 . Last full backup date: Tue Sep 18 01:35:44 2018

There are backup set(s) at time(s): Thu Jun 7 11:05:51 2018 Fri Jun 8 01:30:43 2018 Sat Jun 9 01:30:24 2018 Sun Jun 10 01:30:25 2018 Mon Jun 11 01:30:25 2018 Tue Jun 12 01:30:25 2018 Wed Jun 13 01:30:25 2018 Thu Jun 14 01:30:25 2018 Fri Jun 15 01:30:25 2018 Sat Jun 16 01:30:24 2018 Sun Jun 17 01:30:25 2018 Mon Jun 18 01:30:27 2018 Mon Jun 25 01:30:29 2018 Tue Jun 26 01:30:26 2018 Wed Jun 27 01:30:25 2018 Thu Jun 28 01:30:24 2018 Fri Jun 29 01:30:25 2018 Sat Jun 30 01:30:29 2018 Sun Jul 1 01:30:26 2018 Mon Jul 2 01:30:25 2018 Tue Jul 3 01:30:25 2018 Wed Jul 4 01:30:26 2018 Thu Jul 5 01:30:26 2018 Fri Jul 6 01:30:26 2018 Sat Jul 7 01:30:26 2018 Sun Jul 8 01:30:27 2018 Mon Jul 9 01:30:27 2018 Tue Jul 10 01:30:26 2018 Wed Jul 11 01:30:27 2018 Thu Jul 12 01:30:26 2018 Fri Jul 13 01:30:26 2018 Sat Jul 14 01:30:26 2018 Sun Jul 15 01:30:27 2018 Mon Jul 16 01:30:27 2018 Which can't be deleted because newer sets depend on them. WARNING 1 . There are backup set(s) at time(s): . Thu Jun 7 11:05:51 2018 . Fri Jun 8 01:30:43 2018 . Sat Jun 9 01:30:24 2018 . Sun Jun 10 01:30:25 2018 . Mon Jun 11 01:30:25 2018 . Tue Jun 12 01:30:25 2018 . Wed Jun 13 01:30:25 2018 . Thu Jun 14 01:30:25 2018 . Fri Jun 15 01:30:25 2018 . Sat Jun 16 01:30:24 2018 . Sun Jun 17 01:30:25 2018 . Mon Jun 18 01:30:27 2018 . Mon Jun 25 01:30:29 2018 . Tue Jun 26 01:30:26 2018 . Wed Jun 27 01:30:25 2018 . Thu Jun 28 01:30:24 2018 . Fri Jun 29 01:30:25 2018 . Sat Jun 30 01:30:29 2018 . Sun Jul 1 01:30:26 2018 . Mon Jul 2 01:30:25 2018 . Tue Jul 3 01:30:25 2018 . Wed Jul 4 01:30:26 2018 . Thu Jul 5 01:30:26 2018 . Fri Jul 6 01:30:26 2018 . Sat Jul 7 01:30:26 2018 . Sun Jul 8 01:30:27 2018 . Mon Jul 9 01:30:27 2018 . Tue Jul 10 01:30:26 2018 . Wed Jul 11 01:30:27 2018 . Thu Jul 12 01:30:26 2018 . Fri Jul 13 01:30:26 2018 . Sat Jul 14 01:30:26 2018 . Sun Jul 15 01:30:27 2018 . Mon Jul 16 01:30:27 2018 . Which can't be deleted because newer sets depend on them.

No old backup sets found, nothing deleted. NOTICE 1 . No old backup sets found, nothing deleted.

I have saved value 2M for property CLEAN_TIME but its not actually deleting the old backups. Please guide me how it will work or How to make it work ?

Thanks.

douglascrp commented 5 years ago

Please, share your full alfresco-bart.properties file (removing any sensitive information as users and passwords, of course)

monicakumari commented 5 years ago

Thank you. I have attached the file. Please check. alfresco-bart.properties.txt

douglascrp commented 4 years ago

Hello

It's been a while, and I guess you have already fixed this. Anyway, you could try to reduce the number of full backups duplicity keeps, by changing the parameter below: MAXFULL=6 Reduce it to something like 2 and try again.

monicakumari commented 4 years ago

Thanks for your response. but Its not yet resolved. I'll try this.