-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0da747a
commit 1f42046
Showing
3 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Downgrades | ||
:octicons-server-24: Self-Hosted | ||
|
||
<span style="color:red;">:octicons-heart-fill-24: Pro only</span> | ||
|
||
!!! info | ||
|
||
Downgrading requires a backup from the version that you want downgrade to. | ||
|
||
|
||
1. Create a backup | ||
|
||
Create a [backup](backups.md) before downgrading. | ||
|
||
2. Change directory to your previous version | ||
|
||
The update script creates a backup of your prior version's configuration. The directory is usually named `sysreptor-backup-<date>`. | ||
Enter the `deploy` directory within that folder. | ||
|
||
```bash | ||
cd sysreptor-backup-<date>/deploy | ||
``` | ||
|
||
3. Restore the backup | ||
|
||
```bash | ||
cat <your-backup-file>.zip | docker compose run --rm --no-TTY app python3 manage.py restorebackup | ||
``` | ||
|
||
!!! warning | ||
|
||
This command deletes all present data an restores data from the backup. | ||
Do not run without having made a backup. | ||
|
||
|
||
4. Launch the old SysReptor version | ||
|
||
```bash | ||
docker compose up -d | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters