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 » January 12th, 2018, 2:49 am

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: 2479
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Backup nzb including password

Post by safihre » January 12th, 2018, 4:57 am

It would be possible I think.
If you have some Python experience you can give it a go and submit a Pull Request :)

mav19
Newbie
Newbie
Posts: 2
Joined: January 12th, 2018, 2:38 am

Re: Backup nzb including password

Post by mav19 » January 15th, 2018, 7:26 am

Thanks,
i now solved it via post processing script which renames the backed up .gz files.

User avatar
safihre
Administrator
Administrator
Posts: 2479
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Backup nzb including password

Post by safihre » January 15th, 2018, 8:04 am

Also smart, maybe you can share it here so others that also want this can use it? :)

classicMint
Newbie
Newbie
Posts: 2
Joined: February 1st, 2018, 3:08 pm

Re: Backup nzb including password

Post by classicMint » 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.

User avatar
safihre
Administrator
Administrator
Posts: 2479
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Backup nzb including password

Post by safihre » February 2nd, 2018, 1:38 am

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..

classicMint
Newbie
Newbie
Posts: 2
Joined: February 1st, 2018, 3:08 pm

Re: Backup nzb including password

Post by classicMint » February 2nd, 2018, 5:25 am

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