Export Storage Usage Report
FileCloud lets administrator to export storage usage report of a particular user or all users or particular group.
Prerequisite
To use file export tool, mongodb should be enabled in PHP CLI mode.
To enable mongodb, the following line should be added to the end of PHP ini file.
extension=mongo.so
In Linux, PHP ini file should be under /etc/php5/cli/php.ini
In Windows, PHP ini file should be under XAMPP\php\php.ini
Before following the instructions outlined in this article please request the file " storageusagereport.php " from FileCloud support by sending an email to support@codelathe.com.
Exporting storage usage information
In a command line enter:
For Windows:cd c:\xampp\htdocs\resources\backup PATH=%PATH%;C:\xampp\php
For Linux:
cd /var/www/html/resources/backup/
For both Windows and Linux, enter:
To export storage usage information for a single user
The following code shows how to export storage usage information of a user 'simon'.Single Userphp storageusagereport.php -u simon > output.csv
To export storage usage information for all users
The following code shows how to export storage usage information of all users.All usersphp storageusagereport.php > output.csv
To export storage usage information of a Group
The following code shows how to export storage usage information of a group 'testGroup'.Single Groupphp storageusagereport.php -g testGroup > output.csv