Closed YRS200 closed 1 year ago
Reinstall it again.
if i reinstall it i need to add all of users again how i can backup data of users from the server to other server?
You have to back up ocpasswd file inside /etc/ocserv/ocpasswd
.
can you explain it how to backup it? if possible
Use cp
or mv
command to have that file with other name like passwd.bak
or passwd2
, then whenever you want you can replace that file with changing its name.
can you explain it clearly sterp by step plz! i am not good at bash scripting thanks!
cp /etc/ocserv/ocpasswd ~/ocpasswd
rm -rf /etc/ocserv/ocpasswd
cp ~/ocpasswd /etc/ocserv/ocpasswd
when i want to backup users it is saying this
Can I see the result of cp /etc/ocserv/ocpasswd ~/ocpasswd
?
And also you can make sure files copied successfully by using ls ~/
command. If you can see ocpasswd file, It means you backup file successfully.
After rebooting server vpn is connecting but the download speed is showing zero and can not open anything is there any solution solve this problem?