Updated FAQ Frequently Asked Questions (markdown)

Marcel 2024-04-26 15:34:20 +02:00
parent 3134fa77ee
commit 5a8cf00b27

@ -4,33 +4,6 @@
Yes a docker image is provided by [passivelemmon](https://github.com/PassiveLemon), you can find more information in the [docker readme](https://github.com/tobychui/zoraxy/blob/main/docker/README.md)!
# Backup / Restore
Zoraxy has now a builtin Backup and Restore function under the utilities tab! It is recommended to use this function, but if you can do a manual backup too.
## Manual transfer Zoraxy / perform Backup / Restore
If you want to move Zoraxy to a new server, or just want to do a backup, this can be easily done.
1. Go to config folder of Zoraxy (/zoraxy/src/conf for example)
2. Create a backup file with:
`sudo tar -czf zoraxy-backup.tar.gz *`
3. Move your zoraxy-backup.tar.gz to your new server or backup destination
4. If you want to run Zoraxy on a new machine, install it on the new machine start Zoraxy once to create config files and stop it afterwards.
5. Move your backup file to the new config folder of Zoraxy and extract it with:
`tar -xvf zoraxy-backup.tar.gz`
6. Start Zoraxy as usual
### IMPORTANT NOTES
Riscv64 and mipsle builds cannot be transferred cross platform with the above method as the platform is conditional build with FS based database (instead of key-value DB) to save system memory.
# Create a systemd-service for Zoraxy
@ -52,7 +25,7 @@ Make it executable with
`chmod +x start.sh`
Create systemd-service with
Create systemd-service file with
`sudo nano /etc/systemd/system/zoraxy.service`
@ -72,10 +45,10 @@ Type=simple
User=root
Group=root
#Folder where zoraxy is
WorkingDirectory=/zoraxy/src/
#Folder where zoraxy is located
WorkingDirectory=/zoraxy
#absolute path for start.sh
ExecStart=/bin/bash /zoraxy/src/start.sh
ExecStart=/bin/bash /zoraxy/start.sh
[Install]
WantedBy=multi-user.target