Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6586

Re: Automated backups not working and not showing

$
0
0
by Marius S.  

Hello Emma,

I have tryed to TRUNCATE mdl_backup_courses table.
Set  course > auto backups to Manual, unchecked hidden  course skipping and Never skip not modified courses, because I wanted to make ALL courses backups.
Disabled sheduled tasks auto backup.
Purged all cache.

When I ran /usr/bin/php admin/cli/automated_backups.php

It was making backups, made ~30 backups from beginning, but I got another error...
At first debugging was disabled, so second time I enabled it to track error:

....
Backing up <span lang="en" class="multilang">Theatre (online course)</span>...
instantiating backup controller cb83be92a0faaacc2f5989cc467bd7a3
setting controller status to 100
loading controller plan
setting controller status to 300
applying plan defaults
setting controller status to 400
setting file inclusion to 1
checking plan security
setting controller status to 700
saving controller to db
calculating controller checksum 8941dcdbc12f7fb5cef5bc64dc7a4c58
loading controller from db
setting controller status to 700
saving controller to db
calculating controller checksum ac3ab736859893c3fd309381c3a6e385
loading controller from db
setting controller status to 800
setting controller status to 1000
saving controller to db
Default exception handler: Error processing archive file Debug: Header does not have POSIX ustar magic string
Error code: errorprocessingarchive
* line 290 of /lib/filestorage/tgz_extractor.php: moodle_exception thrown
* line 223 of /lib/filestorage/tgz_extractor.php: call to tgz_extractor->process_header()
* line 142 of /lib/filestorage/tgz_extractor.php: call to tgz_extractor->extract_or_list()
* line 645 of /lib/filestorage/tgz_packer.php: call to tgz_extractor->extract()
* line 104 of /lib/filestorage/mbz_packer.php: call to tgz_packer->extract_to_pathname()
* line 268 of /backup/util/helper/backup_general_helper.class.php: call to mbz_packer->extract_to_pathname()
* line 605 of /backup/util/helper/backup_cron_helper.class.php: call to backup_general_helper::get_backup_information_from_mbz()
* line 209 of /backup/util/helper/backup_cron_helper.class.php: call to backup_cron_automated_helper::remove_excess_backups()
* line 94 of /admin/cli/automated_backups.php: call to backup_cron_automated_helper::run_automated_backup()

!!! Error processing archive file !!!
!! Header does not have POSIX ustar magic string
Error code: errorprocessingarchive !!
!! Stack trace: * line 290 of /lib/filestorage/tgz_extractor.php: moodle_exception thrown
* line 223 of /lib/filestorage/tgz_extractor.php: call to tgz_extractor-&gt;process_header()
* line 142 of /lib/filestorage/tgz_extractor.php: call to tgz_extractor-&gt;extract_or_list()
* line 645 of /lib/filestorage/tgz_packer.php: call to tgz_extractor-&gt;extract()
* line 104 of /lib/filestorage/mbz_packer.php: call to tgz_packer-&gt;extract_to_pathname()
* line 268 of /backup/util/helper/backup_general_helper.class.php: call to mbz_packer-&gt;extract_to_pathname()
* line 605 of /backup/util/helper/backup_cron_helper.class.php: call to backup_general_helper::get_backup_information_from_mbz()
* line 209 of /backup/util/helper/backup_cron_helper.class.php: call to backup_cron_automated_helper::remove_excess_backups()
* line 94 of /admin/cli/automated_backups.php: call to backup_cron_automated_helper::run_automated_backup()
 !!

It's strange that actually this backup was made successfully, but next course backup didn't started because I got this error.
This was course ID 49 and it was made, it record was stored in mdl_backup_controllers.
However I didn't get line: complete - next execution: ....., instead I got that error message.

Do you have any idea what why we get this error?
How can we fix this?


Thanks,
M.


Viewing all articles
Browse latest Browse all 6586

Trending Articles



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