Skip to content

Commit

Permalink
Update backup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ach1992 authored Mar 3, 2023
1 parent c6e0978 commit 9915027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [[ "$xm" == "m" || "$xm" == "M" ]]; then
ZIP="zip -r /root/ac-backup.zip /root/marzban/* /var/lib/marzban/*"
ACLover="marzban backup"
elif [[ "$xm" == "x" || "$xm" == "X" ]]; then
ZIP="zip /root/ac-backup.zip /etc/x-ui/x-ui.db /usr/local/x-ui/bin/config.json"
ZIP="zip /root/ac-backup.zip /etc/x-ui/x-ui.db /usr/local/x-ui/bin/config.json /root/*.key /root/*.crt"
ACLover="x-ui backup"
else
echo "Please choose m or x only !"
Expand Down

0 comments on commit 9915027

Please sign in to comment.