Backup nzb including password

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
mav19
Newbie
Newbie
Posts: 2
Joined: January 12th, 2018, 2:38 am

Backup nzb including password

Post by mav19 »

Hi,

is it possible to backup nzb files including password when the password ist set after adding the job to SABNZBD?
Backup works fine if the nzb file is renamed (name{{PW}}) before it is added to SABNZD.

Thanks.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Backup nzb including password

Post by safihre »

It would be possible I think.
If you have some Python experience you can give it a go and submit a Pull Request :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
mav19
Newbie
Newbie
Posts: 2
Joined: January 12th, 2018, 2:38 am

Re: Backup nzb including password

Post by mav19 »

Thanks,
i now solved it via post processing script which renames the backed up .gz files.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Backup nzb including password

Post by safihre »

Also smart, maybe you can share it here so others that also want this can use it? :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
classicMint
Newbie
Newbie
Posts: 2
Joined: February 1st, 2018, 3:08 pm

Re: Backup nzb including password

Post by classicMint »

Would be great. :)

And what about automatically adding the manually provided passwords (individual per download) to the password file (or additional file/database)? It will (heavily) increase in size. But that's better than losing all the passwords which could help in the future.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Backup nzb including password

Post by safihre »

classicMint wrote: February 1st, 2018, 3:15 pm Would be great. :)

And what about automatically adding the manually provided passwords (individual per download) to the password file (or additional file/database)? It will (heavily) increase in size. But that's better than losing all the passwords which could help in the future.
Do NOT do this (adding them automatically to the password file you also use in SABnzbd). Because it really takes a lot of CPU power for Unrar to check a password. It can take, with all other processes SAB has to do, up to 5-10 seconds per password. This really starts to add up when you have a lot of them..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
classicMint
Newbie
Newbie
Posts: 2
Joined: February 1st, 2018, 3:08 pm

Re: Backup nzb including password

Post by classicMint »

safihre wrote: February 2nd, 2018, 1:38 am Do NOT do this (adding them automatically to the password file you also use in SABnzbd). Because it really takes a lot of CPU power for Unrar to check a password. It can take, with all other processes SAB has to do, up to 5-10 seconds per password. This really starts to add up when you have a lot of them..
Agreed, but I'd rather wait 1 day until the correct password is found instead of not being able to uncompress it.

I'd pretty much prefer to have logged the nzb file with manual name given and password. This will help if I'm going to re-download after having the content removed after some time.
Post Reply