mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-01 13:17:21 +02:00
Updated FAQ Frequently Asked Questions (markdown)
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)!
|
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
|
# Create a systemd-service for Zoraxy
|
||||||
|
|
||||||
@ -52,7 +25,7 @@ Make it executable with
|
|||||||
|
|
||||||
`chmod +x start.sh`
|
`chmod +x start.sh`
|
||||||
|
|
||||||
Create systemd-service with
|
Create systemd-service file with
|
||||||
|
|
||||||
`sudo nano /etc/systemd/system/zoraxy.service`
|
`sudo nano /etc/systemd/system/zoraxy.service`
|
||||||
|
|
||||||
@ -72,10 +45,10 @@ Type=simple
|
|||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
|
|
||||||
#Folder where zoraxy is
|
#Folder where zoraxy is located
|
||||||
WorkingDirectory=/zoraxy/src/
|
WorkingDirectory=/zoraxy
|
||||||
#absolute path for start.sh
|
#absolute path for start.sh
|
||||||
ExecStart=/bin/bash /zoraxy/src/start.sh
|
ExecStart=/bin/bash /zoraxy/start.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user