Moodle

back up/restore blogs when backing up site course

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.1
  • Component/s: Backup
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

Thanks, Eloy! $

Show
Martin Dougiamas added a comment - Thanks, Eloy! $
Hide
Eloy Lafuente (stronk7) added a comment -

Just guessing when and where blogs should be exported or no.

Under Moodle, blogs are user-based and I really think we should respect that. So, what about this:

1) New setting "Backup Blogs"
2) If the site is being exported with users and the setting above is enabled, export blogs for those users (obviously, if no users are being exported or the setting above is off, no blogs will be exported).

Question A: This way, we'll make blogs independent from SITE and dependent from users being exported. How does hat sound?

Question B: And next step is restore... I really know how to restore blogs themselves... although I've some doubts about how to play with the setting existing in the destination server and how they affect to the settings being imported (or don't they affect? ). Any insight about combinations would be really great!

Question C: Also, what happens with blog tags? Should I import/export them together with each blog entry and rebuild them on destination?

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Just guessing when and where blogs should be exported or no. Under Moodle, blogs are user-based and I really think we should respect that. So, what about this: 1) New setting "Backup Blogs" 2) If the site is being exported with users and the setting above is enabled, export blogs for those users (obviously, if no users are being exported or the setting above is off, no blogs will be exported). Question A: This way, we'll make blogs independent from SITE and dependent from users being exported. How does hat sound? Question B: And next step is restore... I really know how to restore blogs themselves... although I've some doubts about how to play with the setting existing in the destination server and how they affect to the settings being imported (or don't they affect? ). Any insight about combinations would be really great! Question C: Also, what happens with blog tags? Should I import/export them together with each blog entry and rebuild them on destination? Ciao
Hide
Martin Dougiamas added a comment -

A: as long as this is only included for the SITE/FRONTPAGE backup and not ordinary courses, then this sounds fine.

B: I suggest: if blogs are disabled on the destination then don't show the Blogs settings on the restore page at all (otherwise do).

C: Ouch, that complicates things a little ... but yes I think we need to also backup/restore the blog tags with the blogs. I don't think there's a need for a separate "Restore blog tags" settings though.

Show
Martin Dougiamas added a comment - A: as long as this is only included for the SITE/FRONTPAGE backup and not ordinary courses, then this sounds fine. B: I suggest: if blogs are disabled on the destination then don't show the Blogs settings on the restore page at all (otherwise do). C: Ouch, that complicates things a little ... but yes I think we need to also backup/restore the blog tags with the blogs. I don't think there's a need for a separate "Restore blog tags" settings though.
Hide
Martin Dougiamas added a comment -

Bumping to later

Show
Martin Dougiamas added a comment - Bumping to later
Hide
Charles Kelly added a comment -

If you are moving a course from one server to another server, then being able to backup all the content and data of that course would be a very useful feature.

Show
Charles Kelly added a comment - If you are moving a course from one server to another server, then being able to backup all the content and data of that course would be a very useful feature.
Hide
Eloy Lafuente (stronk7) added a comment -

Hi Charles,

I just commented about this at:

http://tracker.moodle.org/browse/MDL-13911?focusedCommentId=44668#action_44668

about the intrinsics of avoiding to backup that info in normal courses, doing that only in site backups.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Hi Charles, I just commented about this at: http://tracker.moodle.org/browse/MDL-13911?focusedCommentId=44668#action_44668 about the intrinsics of avoiding to backup that info in normal courses, doing that only in site backups. Ciao
Hide
Eloy Lafuente (stronk7) added a comment -

Updated: Backup done (both manual and scheduled). Going to work on restore now... ciao

Show
Eloy Lafuente (stronk7) added a comment - Updated: Backup done (both manual and scheduled). Going to work on restore now... ciao
Hide
Eloy Lafuente (stronk7) added a comment -

Restore of blogs + tags working. Resolving. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Restore of blogs + tags working. Resolving. Ciao
Hide
Michael Blake added a comment -

tested on 20080422
created 2 blog entries. Did a Front Page backup (including blogs). Dropped all tables from this moodle. Restored. Blogs are attached to the user. Tags are there too.

Show
Michael Blake added a comment - tested on 20080422 created 2 blog entries. Did a Front Page backup (including blogs). Dropped all tables from this moodle. Restored. Blogs are attached to the user. Tags are there too.

People

Dates

  • Created:
    Updated:
    Resolved: