Jump to content
XPEnology Community

The New Active Backup


brauner

Recommended Posts

On 1/1/2023 at 10:51 AM, alx0101 said:

I've created a page that generates the links required.

 

https://alxr0101.github.io/

 

 

Just input your details, hit the Get Links button and then copy each of the two links generated.

 

IMPORTANT:

Need to run these in  a "clean" tab...ie cannot be logged in. Easiest is run a new INCOGNITO WINDOW (chrome) or equivalent in EDGE ("new InPrivate WIndow")/Firefox etc.

Then paste each into the SAME address bar, the LOGIN one first followed by the ACTIVATE.

 

 

I have successfuly activated Active Backup for Business with your link Thank you.

Link to comment
Share on other sites

On 12/13/2022 at 9:44 AM, Gera_Shturman said:

Grifon_A for DSM 7.1.1-42962 Update 2

 

https://dva1622/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=****&passwd=****&format= cookie

https://dva1622/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="****"

 

 

These links work for the latest version of DSM on Xpenology using TCRP ARPL 7.1.1
Thank you!

Link to comment
Share on other sites

  • 3 weeks later...
Has anyone successfully activated Active Backup for G Suite and Active Backup for Microsoft 365? Can you please assist?
No problem, just open an Incognito/InPrivate webbrowser and then run this command to get an authentication cookie.

https://IP-address-of-NAS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=ADMIN-USERNAME&passwd=ADMIN-PASSWORD&format=cookie

Expected respons {"success":true}

In same Incognito/InPrivate session, run the following commands to active each function.

Active Backup
https://IP-address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="DeviceSN"

Expected respons {"success":true}

Active Backup 365
https://IP-Address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DeviceSN"

Expected respons {"success":true}

Active Backup Google G-Suite
https://IP-Adress-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DeviceSN"

Expected respons {"success":true}

Then you should have all functions activated, just make sure not to accidentally create new device serial number when upgrading as it will deactivate Active Backup suite.

Skickat från min LE2113 via Tapatalk

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Piteball said:

No problem, just open an Incognito/InPrivate webbrowser and then run this command to get an authentication cookie.

https://IP-address-of-NAS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=ADMIN-USERNAME&passwd=ADMIN-PASSWORD&format=cookie

Expected respons {"success":true}

In same Incognito/InPrivate session, run the following commands to active each function.

Active Backup
https://IP-address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="DeviceSN"

Expected respons {"success":true}

Active Backup 365
https://IP-Address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DeviceSN"

Expected respons {"success":true}

Active Backup Google G-Suite
https://IP-Adress-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DeviceSN"

Expected respons {"success":true}

Then you should have all functions activated, just make sure not to accidentally create new device serial number when upgrading as it will deactivate Active Backup suite.

Skickat från min LE2113 via Tapatalk
 

 

Thank you for providing such detailed information, Piteball. It was very helpful, and I was able to succeed as well.

Link to comment
Share on other sites

  • 1 month later...
On 1/30/2023 at 12:33 AM, hoppler said:

 

As far is i know, the username and password values have to be urlencoded. A test!"§$ would result in test%21%22%C2%A7%24

 

Makes sense. Will adjust. Meanwhile use simple user/passwords (set up a temp user admin account) just for activation. 

Link to comment
Share on other sites

On 4/8/2023 at 4:36 PM, alx0101 said:

 

Makes sense. Will adjust. Meanwhile use simple user/passwords (set up a temp user admin account) just for activation. 

Made no difference. The page basis set on URL's that also don't use URL encoding.

 

I still found issues with the first authentication step and temporarily resolved by:

a) disable 2FA

b) set a simple password (no symbols..just letters and numbers)

c) ensure to use a user that has admin rights.

 

If you dont see a response "success: true" at first step then review above and retry.

 

Link to comment
Share on other sites

  • 3 weeks later...

For those who haven't figured it out.

 

here is a dsm that i used, to install Baremetal and vmwear xponology and it provide the real serial number and mac pair, no need to try call out api.

for VMwear us this one: https://github.com/AuxXxilium/arc-automated/releases/tag/v23.04.02

 

for baremetal usb or harddrive: https://github.com/AuxXxilium/arc/releases/tag/23.4.2

 

use: https://www.balena.io/etcher for writing usb or hdd for hdd use sata to usb

 

hope you find this helpful

 

Link to comment
Share on other sites

On 3/3/2023 at 6:34 AM, Piteball said:

No problem, just open an Incognito/InPrivate webbrowser and then run this command to get an authentication cookie.

https://IP-address-of-NAS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=ADMIN-USERNAME&passwd=ADMIN-PASSWORD&format=cookie

Expected respons {"success":true}

In same Incognito/InPrivate session, run the following commands to active each function.

Active Backup
https://IP-address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="DeviceSN"

Expected respons {"success":true}

Active Backup 365
https://IP-Address-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DeviceSN"

Expected respons {"success":true}

Active Backup Google G-Suite
https://IP-Adress-of-NAS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DeviceSN"

Expected respons {"success":true}

Then you should have all functions activated, just make sure not to accidentally create new device serial number when upgrading as it will deactivate Active Backup suite.

Skickat från min LE2113 via Tapatalk
 

 

Many thanks for this description. It works. You helped me.

Edited by Sonnenblume
Link to comment
Share on other sites

  • 3 weeks later...
On 27/4/2023 at 14:43, Gera_Shturman said:

 

Para la Actualización 5, esto también funciona.

 

imagen.thumb.png.3e309c633c5d0265b06e4e9380855dbb.png

He probado con varios navegadores de incognito habiendo iniciado sesión, también tengo actualización 5 , consigo pasar el primer paso y me da "true" pero en el segundo paso me da error 119 ¿alguien me puede ayudar? ¿que me falta?  DS2422+  DSM7.1.1-42962

Link to comment
Share on other sites

Hi folks, I'm really struggling....

The authentication step is failing {"error":{"code":400},"success":false}

I've turned off 2FA, using new incognito tabs in chrome.

My management console ports are 5501 and 5500

So for authentication step I've tried 

https://192.168.1.35:5501/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=******&passwd=******

 

Any ideas what I'm doing wrong?

DSM 7.1-42661 Update 3 baremetal

Edited by MrPlow
Link to comment
Share on other sites

В 20.05.2023 в 10:20, MrPlow сказал:

Привет, ребята, я действительно испытываю трудности....

Сбой на этапе аутентификации {"ошибка":{"код":400},"успех": false}

Я отключил 2FA, используя новые вкладки инкогнито в Chrome.

Мои порты консоли управления - 5501 и 5500

Итак, для шага аутентификации я попробовал

https://192.168.1.35:5501/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=******&passwd=******

 

Есть идеи, что я делаю не так?

DSM 7.1-42661 Обновление 3 baremetal

https://192.168.1.35:5501

https://192.168.1.35:5500

Edited by Gera_Shturman
Link to comment
Share on other sites

В 20.05.2023 в 10:20, MrPlow сказал:

Any ideas what I'm doing wrong?

check login/pass. if there are large / small letters in the password, then it should be indicated. If there are special characters, then convert them to hexadecimal format (for example, "%2E" instead of ".")

 

Link to comment
Share on other sites

On 5/20/2023 at 1:20 PM, MrPlow said:

Hi folks, I'm really struggling....

The authentication step is failing {"error":{"code":400},"success":false}

I've turned off 2FA, using new incognito tabs in chrome.

My management console ports are 5501 and 5500

So for authentication step I've tried 

https://192.168.1.35:5501/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&format=%20cookie&account=******&passwd=******

 

Any ideas what I'm doing wrong?

DSM 7.1-42661 Update 3 baremetal

Created a simpler admin user login & password (temporary), it worked - thanks

Link to comment
Share on other sites

Created a simpler admin user login & password (temporary), it worked - thanks
Yeah, make sure you don't have any "?" or other special characters in your password as that's going to f*ck up passing auth through URL.

Skickat från min LE2113 via Tapatalk

Link to comment
Share on other sites

Ok just succeeded using Piteball's explanation above

If you are not technical like me, then bare the following in mind

 - I did turn 2-factor authentication off for my admin account while doing this

- I did have to use a private/incognito browser window to enter the two sequential URLs

- Best to ensure your admin password has no special characters (to avoid encoding issues in the url)

- In the second URL when you enter the DEVICE_SN needs to be in double quotations "SDEVICE_SN"

 

It then finally it worked for me

But very unimpressed Synology UI still broken for authentication !

 

Thanks for the advice here

Andrew

Edited by Andrewg
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

Hello, this tutorial works perfectly, but I only want to say that if you have the 2FA enabled, you don't need to disable it, only add &otp_code=YOUROTPCODE to the url and it will work. The full url has to be like this:
http://YOURIP:YOURPORT/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASSWORD&otp_code=YOUROTPCODE&format=cookie

 

The underlined words are the parts you have to change with your own options depending on your configuration.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

https://alxr0101.github.io/

 

(DSM 6/7)

I have updated the above page to generate required login session and URL to activate the app/s :-

 

1. LOGIN link (supports 2FA codes as well..just leave blank if no 2FA used)

2. ACTIVATION for each ActiveBackup app:  Business, Google Workspace(GSuite) or Office365

 

a) First install the app/s required to activate (does not appear to pre-activate.."success:false")

b) open a new INCOGNITO mode tab to ensure clean "session" from current logged in tab

c) generate the LOGIN link and paste that to the tab (check plenty of 2FA code time left..only need 2FA time for this step)

(at the end of the result line, should see "{"success":true}"

 

d) copy each/all of the required activation codes for the required app/s and paste into same tab

(should see "success:true" message)

 

Ensure to use an incognito tab.

 

TESTED on DSM 7.1.1-42962 Update 6  for a 2FA and a non-2FA account

TESTED on DSM 6.2.3-25426 Update 3

 

NOT TESTED with complex passwords but have URL-encoded the user/password.

 

 

Link to comment
Share on other sites

  • 2 months later...
On 11/25/2021 at 2:42 PM, le.pipo007 said:

hello,

the api url change

try this (it's working for me)

 

 https://your-ip:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie

 

the other url (for activation) not change

 

https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER"

 

regards

 

Thanks to all involved. I waded through most of this and tried so many different things. Eventually this saved the day. I do have a 'special' charater in my password and it worked just fine. I would ask if the above post could be moved to the second position in the thread as a working solution as it has become buried. 

Link to comment
Share on other sites

Well, I have tried everything I have found here and still end up with

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

on Step 2.  

 

I do receive a

"success":true}

after the initial link (I've done this manually, using https, http, and also used the github link provided by @alx0101

 

I am wondering if something has happened in using the latest DSM 7.2-64570 Update 1 for my latest build (DS918+)

 

- I have confirmed no 2FA or MFA enabled

- I have confirmed no special characters in the admin account password (I also created a new admin account to test this with, with same error results)

- I have also tried the For Business, GSuite and Office365 links, all with an error outcome of 102

 

Any thoughts or assistance is appreciated!

After scrolling up just two comments from the bottom and re-reading @alx0101's comment about "getting this result if the application is not installed" - I did the BIGGEST face-palm and realized I had not, in fact, installed Active Backup for anything.  I need more coffee.

 

Thank you, Thank you!

Edited by Agent942
  • Haha 2
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...