Support » Plugin: WP2Cloud » restrict allowed storage space

  • Hi,

    I am running a large wp multisite network (more than 10.000 subsites) and I am planning to use the wp2cloud plugin to move gigas of media on S3.

    So I installed a test server with Clouse and WP2cloud and ran some tests and it really seams to work fine 🙂

    However some issues have yet raised and I will open (different) tickets for each one of them.

    Here is the first.

    The occupied storage space on disk calculated by wordpress seams to ignore the size of moved media (so I would not be able to limit this use with quota).

    Am I right or is there something I have to setup for that ?

    https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Artem Livshits

    (@artemlivshits)

    You’re right — the storage space on disk wouldn’t include the size of media stored in the cloud.

    Thank you for your quick answer.

    That’s very unfortunate because we have to be able to restrict used space. So we must find a way to measure it.

    We already use our own plugin hooking the pre_get_space_used filter so that we customize the way wp calculate used space (for instance by adding some otherwise forgotten folders, as the deprecated /blogs.dir/ folder).

    Would it be a way to know, by coding, the space used by the moved media of a user ?

    I see wp2cloud creates some tables as wp_cloud_media_content and wp_cloud_moved_media. Perhaps some SQL query could do the trick?

    Thanks for helping.

    Plugin Author Artem Livshits

    (@artemlivshits)

    Handling this this as a feature request on the support email.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘restrict allowed storage space’ is closed to new replies.