mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-09-27 19:59:02 +00:00
docs: backup with sudo
See: https://discuss.overhang.io/t/copying-tutor-gives-permission-denied/3500
This commit is contained in:
parent
8ccc3588e7
commit
758b7d0f73
@ -114,7 +114,7 @@ Upgrading to a new Open edX release
|
|||||||
Major Open edX releases are published twice a year, in June and December, by the Open edX `Build/Test/Release working group <https://discuss.openedx.org/c/working-groups/build-test-release/30>`__. When a new Open edX release comes out, Tutor gets a major version bump (see :ref:`versioning`). Such an upgrade typically includes multiple breaking changes. Any upgrade is final because downgrading is not supported. Thus, when upgrading your platform from one major version to the next, it is strongly recommended to do the following:
|
Major Open edX releases are published twice a year, in June and December, by the Open edX `Build/Test/Release working group <https://discuss.openedx.org/c/working-groups/build-test-release/30>`__. When a new Open edX release comes out, Tutor gets a major version bump (see :ref:`versioning`). Such an upgrade typically includes multiple breaking changes. Any upgrade is final because downgrading is not supported. Thus, when upgrading your platform from one major version to the next, it is strongly recommended to do the following:
|
||||||
|
|
||||||
1. Read the changes listed in the `CHANGELOG.md <https://github.com/overhangio/tutor/blob/master/CHANGELOG.md>`__ file. Breaking changes are identified by a "💥".
|
1. Read the changes listed in the `CHANGELOG.md <https://github.com/overhangio/tutor/blob/master/CHANGELOG.md>`__ file. Breaking changes are identified by a "💥".
|
||||||
2. Perform a backup. On a local installation, this is typically done with::
|
2. Perform a backup (see the :ref:`backup tutorial <backup_tutorial>`). On a local installation, this is typically done with::
|
||||||
|
|
||||||
tutor local stop
|
tutor local stop
|
||||||
sudo rsync -avr "$(tutor config printroot)"/ /tmp/tutor-backup/
|
sudo rsync -avr "$(tutor config printroot)"/ /tmp/tutor-backup/
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
.. _backup_tutorial:
|
||||||
|
|
||||||
Making backups and migrating data
|
Making backups and migrating data
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
@ -10,7 +12,7 @@ With Tutor, all data are stored in a single folder. This means that it's extreme
|
|||||||
|
|
||||||
3. Transfer the configuration, environment, and platform data from server 1 to server 2::
|
3. Transfer the configuration, environment, and platform data from server 1 to server 2::
|
||||||
|
|
||||||
rsync -avr "$(tutor config printroot)/" username@server2:/tmp/tutor/
|
sudo -avr "$(tutor config printroot)/" username@server2:/tmp/tutor/
|
||||||
|
|
||||||
4. On server 2, move the data to the right location::
|
4. On server 2, move the data to the right location::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user