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

Question/Issue: duplicity .cache #48

Closed mwallach closed 4 years ago

mwallach commented 5 years ago

duplicity creates files, uses a lot of space in the .cache/duplicity directory. Is there a preferred may to clean this up (as part of the BART process)?

douglascrp commented 5 years ago

Hello I guess you should not be cleaning it, as it is going to be recreated on the next execution. If you have problem with space, what you can do is to configure it to use another partition, with more free space. The way to do so it by using the option GLOBAL_DUPLICITY_CACHE_PARMS

mwallach commented 5 years ago

ok, ty. How would this option be used? GLOBAL_DUPLICITY_CACHE_PARMS="--archive-dir /some/other/duplicity"?

douglascrp commented 5 years ago

Yes, exactly. I have this in one of my servers

GLOBAL_DUPLICITY_CACHE_PARMS="--archive-dir=/home/backup/cache/duplicity"
douglascrp commented 4 years ago

@mwallach Is it ok to close this one? Is it working for you?

mtwallach commented 4 years ago

yes. please close. Thank you!