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

Remove the --force, as this can cause data loss #50

Open douglascrp opened 4 years ago

douglascrp commented 4 years ago

As stated by the duplicity's manual, the force option can be dangerous:

--force
    Proceed even if data loss might result. Duplicity will let the user know when this option is required. 

Because of that, I believe it should be removed from the script.

douglascrp commented 4 years ago

I am not sure how to deal with this option, as it is required to be included when the users want to have the old backups excluded in order to free disk space. Does anyone have any opinion on the topic?