Talk:Backup SME Server Remotely Using cURL

From SME Server
Jump to navigationJump to search

as per 9.2 updates the correct command should be similar to this :

curl -s -k  -F username='admin' -F password='MYPASSWORDGOESHERE' \
'https://MYSERVERNAME/server-common/cgi-bin/login' \
-e 'https://MYSERVERNAME/server-common/cgi-bin/login?t=1&back=https%3A%2F%2FMYSERVERNAME%2Fserver-manager' \
--cookie "auth_probe=1" \
-F back='https%3A%2F%2FMYSERVERNAME%2Fserver-manager%2F'