Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
django-dbbackup-admin
Advanced tools
get backup from database through admin panel
This is a simple and useful method to get backup from database through admin panel
pip install django-dbbackup-admin
INSTALLED_APPS = [
# ...
'dbbackup',
'solo',
'dbbackup_admin'
# ...
]
https://django-dbbackup.readthedocs.io/en/master/
DBBACKUP_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
DBBACKUP_STORAGE_OPTIONS = {
'access_key': config("S3_ACCESS_KEY"),
'secret_key':config("S3_SECRET_KEY"),
'bucket_name': config("S3_BUCKET_NAME"),
'default_acl': config("S3_DEFAULT_ACL"),
'location':config("S3_BACKUP_FOLDER_NAME")
}
Note: If you use s3 storage you should install boto3 package.
python manage.py migrate dbbackup_admin
when you pass this missions toy will see this in your admin panel:
when you click on save button backup will be saved on your desired bucket or directory.
Thanks for attention
FAQs
Get Backup From Database Through Admin Panel
We found that django-dbbackup-admin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.