Canvas backup and restore

698 views
Skip to first unread message

Zoran

unread,
Apr 13, 2011, 6:50:14 PM4/13/11
to Canvas LMS Users
Hi!

I need some instructions how to backup one Canvas instance and to
restore it to another instance (another server).
I have tried this with just coping the 2 databases from one server to
another, but Canvas reports an error after that.

Are there some settings which need to be changed, so the 2. instance
can use the database from the 1. one?
Do I need to copy any files from Canvas folder?

Thanx.

JT Olds

unread,
Apr 13, 2011, 7:31:16 PM4/13/11
to canvas-l...@googlegroups.com
You should be able to copy just the database files and the
config/*.yml files and that should be it.

Of course, if you're using local storage (not S3), you'll likely want
to backup your tmp/files folder as well.

-JT

JT Olds

unread,
Apr 13, 2011, 7:31:58 PM4/13/11
to canvas-l...@googlegroups.com
If for some reason you are running a newer version of Canvas after the
backup gets restored, you may want to run rake db:migrate to make sure
any recent database changes in the codebase take effect.

Zoran

unread,
Apr 14, 2011, 10:27:59 AM4/14/11
to Canvas LMS Users
Thank you!

I will try it. Perhaps I had a problem with different version of
Canvas.
I'll try to update the database...
Reply all
Reply to author
Forward
0 new messages