Protecting the backup folder from deletion

Hi - I was cleaning up some test files from a new installation of FileCloud. I clicked the checkbox to select all and was about to hit delete and realized the backup folder was automatically selected. No big deal to unselect it, but I almost missed it. Since I’ve set up CE for family members to use, I wouldn’t expect them to catch this so it seems like a big risk. Is there a way to either hide that folder or protect it from deletion? (To be clear, this seems to be a folder containing media backups from an android device). I was surprised that it would be automatically selected like this.

Hi,

Could you please confirm if you are checking this through Admin Portal or User Portal? A screenshot would be helpful

This was on the Android app. It was the backup folder for Android media. (Not the backup folder that’s hidden in the Appdata directory on Windows)

Hi

Thank you for the details.

To prevent users from deleting backup files:

  1. Open cloudconfig.php:
    Windows Location: XAMPP DIRECTORY/htdocs/config/cloudconfig.php
    Linux Location: /var/www/config/cloudconfig.php
  2. Add:

define("TONIDOCLOUD_DISABLE_BACKUP_FILES_DELETION", true);

  1. To return to the default, change true to false or remove the setting