Backing up blobs?

Asked by mark mcdougall

I can back up Data.fs but always get stuck backing up blobs.
There used to be a script for it on the Basic database Administration page.
Can anyone advise me?

Question information

Language:
English Edit question
Status:
Solved
For:
SchoolTool Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Hoffman
Solved:
Last query:
Last reply:
Revision history for this message
Tom Hoffman (tom-hoffman) said :
#1

It is just a regular directory with images, pdf's, etc. You can use tar or whatever.

Revision history for this message
mark mcdougall (mmcdouga) said :
#2

I could if I were literate. But I am absolute basics language wise, and don't know directory protocols .
I should have asked for the command line prompt, not the script.
Should it be the same as for the hot repozo Data.fs just change the Data.fs to be blobs?

Revision history for this message
Best Tom Hoffman (tom-hoffman) said :
#3

If you're not primarily a Linux person, then 'sudo zip -r schooltool-blobs.zip /var/lib/schooltool/blobs' will create a zip file (owned by root) in the current directory.

Revision history for this message
mark mcdougall (mmcdouga) said :
#4

Thanks, done!

Revision history for this message
mark mcdougall (mmcdouga) said :
#5

Thanks Tom Hoffman, that solved my question.