diff --git a/docs/awesome-remnawave/index.md b/docs/awesome-remnawave/index.md index 2bd3cfe..1f6ad84 100644 --- a/docs/awesome-remnawave/index.md +++ b/docs/awesome-remnawave/index.md @@ -54,6 +54,67 @@ After install, use `remnanode help` for more information. RemnaNode script +--- + +### Remnawave Backup Script + +A bash script to create backups of the Remnawave database and configurations. Backups are sent to a Telegram chat for easy access. The script backs up the following: + +- The Remnawave database as `db_backup.sql` +- Either the entire specified folder (e.g., `/opt/remnawave` or user-defined) or specific files: + - `docker-compose.yml` + - `.env` + - `app-config.json` (custom file for the subscription page, see [instructions](https://remna.st/subscription-templating/client-configuration)) + +Author: [DigneZzZ](https://github.com/DigneZzZ) + +#### Install and Run + +```bash +sudo bash -c "$(curl -sL https://github.com/DigneZzZ/remnawave-scripts/raw/main/remnawave-backup.sh)" +``` + +
+
+
+ +
+ Remnawave Backup Script +
+ +--- + +### Remnawave Restore Script (BETA) + +A bash script to restore Remnawave backups, either fully (files and database) or database-only, from a `.tar.gz` archive to a specified directory. **Warning: This is a beta version. Use with extreme caution, especially on a live Remnawave panel, as it may overwrite critical data or cause instability.** + +The script performs the following: +- Clears all existing data in the specified database and restores it from `db_backup.sql` +- Restores files to the chosen directory (e.g., `/opt/remnawave` or user-defined), including: + - `docker-compose.yml` + - `.env` + - `app-config.json` (custom file for the subscription page, see [instructions](https://remna.st/subscription-templating/client-configuration)) +- Starts containers to ensure the restored setup is operational + +Author: [DigneZzZ](https://github.com/DigneZzZ) + +#### Install and Run + +```bash +sudo bash -c "$(curl -sL https://github.com/DigneZzZ/remnawave-scripts/raw/main/restore.sh)" +``` + +
+
+
+ +
+ Remnawave Restore Script +
+ + --- ## Add project to the list