diff --git a/Quickstart.md b/Quickstart.md index d3868ef..1a6ae90 100644 --- a/Quickstart.md +++ b/Quickstart.md @@ -89,3 +89,14 @@ Must be run with superuser rights ('sudo'). - [A short guide](https://gist.github.com/szepeviktor/2c6a19cb91c4bb561369707f22bcf413) for registering a new account with signal-cli on windows, and linking it with signal-desktop. - [Guide](https://community.signalusers.org/t/using-signal-desktop-without-android-device/390) for old version of signal-desktop (pre-electron). To get to the html source described there in the current signal-desktop, go to View -> Toggle Developer Tools +### Upgrades + +#### Backup + +It is advised to backup the account databases before upgrading to a newer version which might migrate the database and therefore prevents a downgrade in case of issues. + +This little snippet will take care (requires `squlite3`). + +```bash +find /folder/to/signal-cli/data -type f -name account.db | xargs -L1 -I{} sqlite3 {} ".backup {}.$(date +%Y%m%d%H%M)" +``` \ No newline at end of file