Ssh_nnect(hostname=pihole,username=scpuser,password=scppw)Ĭursq. Open a second instance of DB4S and open the other database in there. Ssh_t_missing_host_key_policy(paramiko.AutoAddPolicy()) Sftp.get('/etc/pihole/pihole-FTL.db','pihole.db') Import psycopg2, sqlite3, sys, paramiko, sys, os, socket, time This is my current code: #!/usr/bin/env python3 (venv) cd /opt/python_scripts/rpi /usr/bin/env /opt/python_scripts/rpi/venv/bin/python /home/dulanic/.vscode-server/extensions/ms-python.python-2028669/pythonFiles/lib/python/debugpy/launcher 37599 - /opt/python_scripts/rpi/rpdb.pyĪn error occurred: database disk image is malformed The other catch is why am I seeing it as often as I am? Because if I load the sqlite file from my main machine, and it runs the query files?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |