Page 1 of 1

Backup nzb including password

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

Re: Backup nzb including password

Posted: January 12th, 2018, 4:57 am
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 :)

Re: Backup nzb including password

Posted: January 15th, 2018, 7:26 am
by mav19
Thanks,
i now solved it via post processing script which renames the backed up .gz files.

Re: Backup nzb including password

Posted: January 15th, 2018, 8:04 am
by safihre
Also smart, maybe you can share it here so others that also want this can use it? :)

Re: Backup nzb including password

Posted: February 1st, 2018, 3:15 pm
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.

Re: Backup nzb including password

Posted: February 2nd, 2018, 1:38 am
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..

Re: Backup nzb including password

Posted: February 2nd, 2018, 5:25 am
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.