Quantcast
Channel: Backup and restore
Viewing all 6662 articles
Browse latest View live

Re: Moodle site back up

$
0
0
by Joanna Beaver.  

Thanks Emma!

I began to download the entire Moodle folder the other day and it was still running after 4 hrs so I stopped it thinking I must have done something wrong! It is only a small site still in development with no learners. Does that sound normal, taking so long?

From the looks of it, all of the files are within the Moodle folder. I will be moving to a Moodle partner to host my site asap...




Re: Moodle site back up

$
0
0
by Emma Richardson.  

The time to download depends on what you have loaded into the site that would affect the size of the moodledata folder (lots of video for example) and your connection speed...  you might just copy it another folder on your host


Restore single section multiple times as section template

$
0
0
by dean bushmiller.  

I have the perfect course section, with all the activities as empty or placeholders. I would like to restore into the same course and create a second copy of that section. When I try to do this I get a single section with duplicate activities.

I need this section to be repeated 30-60 times so by-hand, click and drag is not effective. I need to do this for 20-50 courses.

What I really want is a restore as new name.

Any ideas?

Re: Automated course back-up: 'Save to' location

$
0
0
by Joanna Beaver.  

Hello, I wondered if anybody can help me? I have been talking to my hosting provider since 24/07/2015 but to no avail.

I have explained that I need the URL to a file on the server in which I will direct the automated course back up to store its back up files, and I believe it should look something like this: /srv/clientdata/na01/webinarssb/autobackups. 

At the moment I can only generate an sftp URL from Filezilla that looks something like this: sftp://u78936019@s520393070.websitehome.co.uk/backup. Moodle doesn't seem to accept it (I get the x at the side rather than ✓)

They have said today:

"The automated back up will only be saved in the Moodle dashboard therefore it is not possible to access it via a Web URL. However you can copy the back up files then save it on your PC or you can also manually download the back up copy of the files then reupload it into the webspace place it in the folder /backup. If you really want to access the back up files through a Web URL then we suggest that you can contact Moodle Support about this. Thank you."

I think this is incorrect, that the whole point of entering the URL is to automatically save the files outside of Moodle to protect them, and that I should not need to go in every day and manually download them, and then upload them to my file on the server.

Is the issue that I am on a shared/hosted server and so it is not possible to get an srv URL? I am a bit stuck and would appreciate any advice.


Re: Automated course back-up: 'Save to' location

$
0
0
by Emma Richardson.  

It is most certainly due to your host and really depends on your setup.  However, Moodle, should be able to see a folder on your "server" without a url.  Have you tried creating a folder outside of the website and directing automated backups to that folder?

Re: Automated course back-up: 'Save to' location

$
0
0
by Joanna Beaver.  

The host advised me to create the folder as below (the one called backup): 


when I grab the URL to that it is the sftp url from the previous post which, when inputted to Moodle, gives the x 


Re: Automated course back-up: 'Save to' location

$
0
0
by Emma Richardson.  

What happens if you just put in /backup?

Re: Automated course back-up: 'Save to' location

$
0
0
by Joanna Beaver.  

it looks like it still won't accept it. the X is there after saving changes



mbz file is not regognised by Moodle

$
0
0
by Bernat Martinez.  

Using Moodle 2.87

I have made a backup of a course (.mbz), downloaded, then changed extension  to .zip and unzipped.

Made some translations and zipped again, then extensions changed to .mbz.

The problem is that when uploaded for restoring, a message appears that it is not a Moodle file

What I'm doing wrong?  Where could be the problem?

Thanks in advance

Re: mbz file is not regognised by Moodle

$
0
0
by Bernat Martinez.  

I answer my self 

Before I zipped the directory , now I select all the files and zip them and in this way it works.

Re: Automated course back-up: 'Save to' location

$
0
0
by Emma Richardson.  

I would keep trying - you had mentioned a string earlier with /svr/etc.... did you try that one?  Basically your Moodle folder should be able to see the rest of those folders - check back with your host and ask them what the Path would be (not the url) - if you can get the actual path, that should work...

Re: Automated course back-up: 'Save to' location

$
0
0
by Joanna Beaver.  

The srv link from earlier was just an example that I found on a help-page. I have not managed to obtain one for my folder but think that is what I need.

I will try the host again and see if I can get the actual path as you suggest.

Thank you for your help smile

Re: Automated course back-up: 'Save to' location

$
0
0
by Joanna Beaver.  

Just to close this off, I found the correct web server path, added the target directory to the end of that path, and now have fully functioning automated backups saving themselves in the file specified. Thanks Emma for your support.

Here is a link that is specific to my hosting provider (this is by no means an endorsement of them!) but may help others find the correct pathway or at least point them in the right direction for what to look for.

Find the full server path to your webspace

Re: Timeout on large course backup

$
0
0
by Ruth Canton.  

Sorry can you point me in the right direction to find the IIS manager?

my phpinfo file says this:

Server APICGI/FastCGI

So perhaps I have a way to edit it?

M2.9 Restoring a course onto new server, student names + Data

$
0
0
by barbara nance.  

Hi

When restoring a course onto new server and Moodle 2.9; course restores OK, but some of the students who are registered are not shown. Looking carefully the students missing are those with non college email addresses. Any thoughts folks?

Cheers

Barbara


Re: Userdata does not get backed up using manual backups

$
0
0
by Jerry Lorenz.  

This page: https://docs.moodle.org/25/en/Backup_of_user_data

talks about having to be a site admin or at least a manager. 

There is a capability to control the backup of user data moodle/backup:userinfo, separate from the capability to backup courses. By default this capability is allowed for the manager role only.

I am a site admin and also have an account with the manager role and I still cannot backup user data. You can also check for who has that ability by running the Site Administration ->Reports -> Security overview  Then look at the output under backup of user data.

In my case it shows that I can. But on my backup screen it shows a Red X and a gray lock. All this I discovered yesterday. 

There is another post about this type of problem as well. https://moodle.org/mod/forum/discuss.php?d=314852

Setting for retry of creating mbz file

$
0
0
by Josiah Carberry.  

When I enable automated course backups, the backup of the site settings works fine, but the backup of my one and only course fails. What I see in the temp/backup directory is a series of subdirectories with backup attempts made every 3 or 4 hours. This will continue ad inifinitum if I do not disable the backups. Since my automated backup is set to run only once per day, I presume that the system is automatically retrying the backup, since it failed. My question is where that retry is configured and if there is any way to stop it or change it without disabling automated backups as a whole.

As for the failure itself, I am not worried about it because I can rely on site backups or more targeted manual backups, instead.

Re: Newbie? - Backing up a Large (>6G) Course

$
0
0
by Tim Edsell.  

Hi Tim,

Here is what I found in the error_log:

[18-Aug-2015 10:08:23 America/New_York] PHP Notice:  You should really redirect before you start page output<ul style="text-align: left" data-rel="backtrace"><li>line 889 of /lib/outputrenderers.php: call to debugging()</li><li>line 2649 of /lib/weblib.php: call to core_renderer->redirect_message()</li><li>line 279 of /backup/util/ui/base_ui.class.php: call to redirect()</li><li>line 99 of /backup/util/ui/backup_ui_stage.class.php: call to base_ui->cancel_process()</li><li>line 136 of /backup/util/ui/base_ui.class.php: call to backup_ui_stage_initial->process()</li><li>line 113 of /backup/backup.php: call to base_ui->process()</li></ul> in /home/coxnscho/public_html/lib/weblib.php on line 2924

[18-Aug-2015 10:09:02 America/New_York] Default exception handler: A required parameter (contextid) was missing Debug:

Error code: missingparam

* line 463 of /lib/setuplib.php: moodle_exception thrown

* line 548 of /lib/moodlelib.php: call to print_error()

* line 31 of /backup/backupfilesedit.php: call to required_param()

Not being a programmer or a certified sys admin, I'd like to learn what these messages mean and how to correct them.  (I'm ok w/editing php files)

Thanks!

Re: Setting for retry of creating mbz file

$
0
0
by Emma Richardson.  

In the automated course backups, it only backups courses so if your only course is failing, then I would guess that all courses will fail.  I am not sure what you mean about site settings because course backups does not back up site settings...

I always feel better when I have course backups as well, I know that even if my whole site crashed and I couldn't bring it back for some reason or another, I could always rebuild and restore the courses.

I wonder if your permissions are correct on your backup folder?  The temp folder is just that - where are you actually trying to back up to?  Is anything created there?

Re: Setting for retry of creating mbz file

$
0
0
by Josiah Carberry.  

Thanks for your reply, Emma.

In the course table in the database there are two rows. One row corresponds to the definition of the site (for example, the "course" name is, in fact, the site name). It includes all the resources that appear on the front page and are not part of any single course. The other row corresponds to my course. Remember, I am referring to the automated backup whose settings are made under Site Administration, not the manual backup that one can launch under course administration. So, the backup does indeed include non-course objects. And the simple fact that those site-related objects are indeed correctly backed up shows that there is no issue at all with permissions. Anyway, this is not really the issue about which I was asking. I am trying to understand how the retries of the failed backup are managed.

Viewing all 6662 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>