Talk:Backup SME Server Remotely Using cURL

From SME Server
Revision as of 22:52, 25 March 2017 by Unnilennium (talk | contribs) (Created page with "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/cg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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'