Can we use single moodledata folder for two websites?

Can we use single moodledata folder for two websites?

SIERRA TEC發表於
Number of replies: 8

Hi Team,

We have two sites 

1. Live site (http://xxxtest.com) - Version 3.5
2. Demo Site (http://xxxtest.com/demo)- Version 4.4

Can we use single moodledata folder for both websites?

Please suggest.

評比平均分數: -
In reply to SIERRA TEC

Re: Can we use single moodledata folder for two websites?

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片
I'm intrigued to know why you want to?
評比平均分數:Useful (1)
In reply to Howard Miller

Re: Can we use single moodledata folder for two websites?

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
Oh, there is a big demand - to run a copy of a site without duplicating moodledata, for example.
眨眼
In reply to Visvanath Ratnaweera

Re: Can we use single moodledata folder for two websites?

Ken Task發表於
Particularly helpful Moodlers的相片

Or ... one could stand up the clone with cloned code - change config.php - actually installs a fresh site of same build date ... then make a few course backups from production site .. user or no user, restore them to the cloned site.

Kinda depends upon purpose of the clone, me thinks. 微笑

'SoS', Ken

In reply to SIERRA TEC

Re: Can we use single moodledata folder for two websites?

Dan Marsden發表於
Core developers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Plugins guardians的相片 Testers的相片 Translators的相片

You can share an object storage bucket between multiple sites using our object storage plugin. You can set them to never delete objects or give one read/write access(eg production) and the other only read access (eg demo)

In reply to SIERRA TEC

Re: Can we use single moodledata folder for two websites?

Ken Task發表於
Particularly helpful Moodlers的相片

Here's the link the to plugin suggested:

https://moodle.org/plugins/tool_objectfs

Sigh!   No Google Bucket. 傷心 And no, don't have the funds nor the 'know how' to develop one. 傷心 傷心

'SoS', Ken

In reply to Ken Task

Re: Can we use single moodledata folder for two websites?

Dan Marsden發表於
Core developers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Plugins guardians的相片 Testers的相片 Translators的相片
In reply to Dan Marsden

Re: Can we use single moodledata folder for two websites?

Ken Task發表於
Particularly helpful Moodlers的相片

How did I miss that!   Thanks, Dan.

Alas, the service account creation is not something documented for the Google end.   Have a 'customer' that is already a Google Edu and they could explore the use of this plugin, but their Google Admin won't pursue.

There are a few teachers already taking advantage of their google drive and linking to shared files from their space - which is restricted to members of the Google Domain for the school only.

Backups of their courses are small compared to others who don't use Google Drive.   Do know that backups of those courses that use Google Drive in such a fashion must be restored to other moodles configured the same or it's busted.

So the original question was for entire moodledata ... I'd still say no ... due to cache/sessions in moodledata.

'SoS', Ken