Jump to content
XPEnology Community

The New Active Backup


brauner

Recommended Posts

 

 

Got it working:

https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie

at the end leave a space between format =cookie

so dont use format=cookie, rather format= cookie

 

https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno

 

 

  • Like 3
  • Thanks 4
Link to comment
Share on other sites

В 12.04.2022 в 17:00, Hemps сказал:

 

 

Got it working:

https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie

at the end leave a space between format =cookie

so dont use format=cookie, rather format= cookie

 

https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno

 

 

Works on 7.1-42661, thanks!

Link to comment
Share on other sites

Has anyone been able to get this to work on Active Backup Microsoft 365?  I have used the above method successfully for the Standard version of backup but can't get this working.  I have tried replacing the phrase ActiveBackup with:

activebackupforoffice365

activebackup-office365

activebackupoffice365

 

in the activation url but keep getting error 102 (unknown API)

......ActiveBackup.Activation&method=set&version=1......

 

I got these variations from the activation window of the actual package.

 

Any help would be appreciated.

Link to comment
Share on other sites

Has anyone been able to get this to work on Active Backup Microsoft 365?  I have used the above method successfully for the Standard version of backup but can't get this working.  I have tried replacing the phrase ActiveBackup with:
activebackupforoffice365
activebackup-office365
activebackupoffice365
 
in the activation url but keep getting error 102 (unknown API)
......ActiveBackup.Activation&method=set&version=1......
 
I got these variations from the activation window of the actual package.
 
Any help would be appreciated.
This is what worked for me. Replace ADDRESS, DEVICESERIALNUMBER and port number if you use non default ports.

Authentication
https://ADDRESS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASSWORD&format=cookie

Activate Active Backup 365
https://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER"

Activate Active Backup G-Suite
https://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER"

Skickat från min LE2113 via Tapatalk

  • Like 2
Link to comment
Share on other sites

  • 2 months later...

need help after try on this method, Task List and Activities are empty

On 4/20/2022 at 11:43 AM, Piteball said:

This is what worked for me. Replace ADDRESS, DEVICESERIALNUMBER and port number if you use non default ports.

Authentication
https://ADDRESS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASSWORD&format=cookie

Activate Active Backup 365
https://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER"

Activate Active Backup G-Suite
https://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER"

Skickat från min LE2113 via Tapatalk
 

 

Link to comment
Share on other sites

  • 2 months later...
On 12/29/2020 at 9:11 AM, vortexxx said:

its work, but you need make:

 

1 - login on DSM, in browser address line, after https://youripsyno:5001/  paste /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS and ENTER.

 

efter ENTER you see 

 

{"success":true}

 

2- after https://youripsyno:5001/ paste  /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

 

after ENTER you see

 

{"data":{"activated":true},"success":true}

 

3 - if you want verefy after https://youripsyno:5001/ paste /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1

 

after ENTER if it OK you see

 

{"data":{"activated":true,"serial_number":"SERIALNUMBER"},"success":true}

 

I try paste complete address from forum, not work, but my metod work fine, not close page.

 

 

 

Thank you this worked prefect for me,

 

Be aware, I was writing in the serial number the activation request number and was giving me error for obvious reasons, so I went to the info center and copy pasted the serial number and Wala, worked.

 

This is on xpenology DSM 6.2.3-25426 Update 3

 

Package version 2.4.1-2321

 

Best regards

Link to comment
Share on other sites

On 4/12/2022 at 4:00 AM, Hemps said:

 

 

Got it working:

https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie

at the end leave a space between format =cookie

so dont use format=cookie, rather format= cookie

 

https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno

 

 

Thank you, changing the url for step 1 to include the "version=3" and "format=cookie" fixed the problem where i was getting failed activation. 

I was then able to use step 2 and 3 url from original solution to activate and verify, no more activation prompt. Thanks!

Link to comment
Share on other sites

  • 1 month later...

Got it working:

https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie

at the end leave a space between format =cookie

so dont use format=cookie, rather format= cookie

 

https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno

 

 

works fine thanks

Link to comment
Share on other sites

  • 3 weeks later...

I *had* no luck on the latest DSM 7.1.1-42962 Update 1. But in the end this is how it worked on my side

 

 

When i follow the suggested steps in here i can get the auth cookie (no matter if with or without a space in the url which makes no difference on my side)

 

I tried it in initially with *firefox*

 

MYIP = your xpenology IP

MYUSER = the user on the synology

MYPASSWORD = the password on the synology

MYXPENOLOGYSERIAL = the serial as copied from the control panel info about

 

https://MYIP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=MYUSER&passwd=MYPASSWORD&format=cookie

{

    "data": {
        "did": "somecrypticpayload",
        "sid": "anothercrypticpayload"
    },
    "success": true
}

 

https://MYIP:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=MYXPENOLOGYSERIAL

{

 

    "error": {
        "code": 119
    },
    "success": false
}

 

From the offical documenation it says 119 SID not found

https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/FileStation/All/enu/Synology_File_Station_API_Guide.pdf

 

So i assumed the auth information is not passed from the first to the second request in firefox.

So i tried it in chrome and *voila*

 

{
    "data": {
        "activated": true
    },
    "success": true
}

 

*Cheers* 🍻

 

Edited by HorstHoden
  • Like 5
Link to comment
Share on other sites

  • 2 weeks later...

К сожалению никак не работает даже в Хроме, версия 7.1.1-42962 Update 1. Второй пункт не выполняется, пишет {"error":{"code":119},"success":false}

Edited by tsauf
Link to comment
Share on other sites

On 10/20/2022 at 5:54 PM, HorstHoden said:

I *had* no luck on the latest DSM 7.1.1-42962 Update 1. But in the end this is how it worked on my side

 

 

When i follow the suggested steps in here i can get the auth cookie (no matter if with or without a space in the url which makes no difference on my side)

 

I tried it in initially with *firefox*

 

MYIP = your xpenology IP

MYUSER = the user on the synology

MYPASSWORD = the password on the synology

MYXPENOLOGYSERIAL = the serial as copied from the control panel info about

 

https://MYIP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=MYUSER&passwd=MYPASSWORD&format=cookie

{

    "data": {
        "did": "somecrypticpayload",
        "sid": "anothercrypticpayload"
    },
    "success": true
}

 

https://MYIP:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=MYXPENOLOGYSERIAL

{

 

    "error": {
        "code": 119
    },
    "success": false
}

 

From the offical documenation it says 119 SID not found

https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/FileStation/All/enu/Synology_File_Station_API_Guide.pdf

 

So i assumed the auth information is not passed from the first to the second request in firefox.

So i tried it in chrome and *voila*

 

{
    "data": {
        "activated": true
    },
    "success": true
}

 

*Cheers* 🍻

 

This works for me. I tried on Firefox and it done. Thank you very much.

Link to comment
Share on other sites

В общем, сработала у меня тоже активация, через смартфон активировал. На компьютере, наверное, какие-то расширения препятствовали успешному прохождению второго пункта.

Edited by tsauf
Link to comment
Share on other sites

  • 4 weeks later...
On 4/12/2022 at 6:00 PM, Hemps said:

Due to different HTML URL encoding for different browsers, confusion arises as to why some steps are not working.  If Chrome does not work, try Edge or Firefox
 

Below are the step that works for me :


Step 1
https://myIP:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=myUser&passwd=myPassword&format=%20cookie


Step 2
https://myIP:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=%22mySerial_no.%22

 

myIP = your xpenology IP
myUser = the admin on the synology
myPassword = the password on the synology
mySerial_no. = the serial as copied from the control panel info 


Side Note :
In HTML URL encoding, 
space = %20
"  =  %22

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...