Skip to main content

Django backup and restore tool. Handle upload files and database

Project description

Installation:

  1. Add snapshot to INSTALLED_APPS in your settings.py within your django project.

Usage

Use management command snap

./manage.py snap

help:

  • snap save - take a snapshot at current time

  • snap restore [i] - restore from [i] snapshot (0 by default)

  • snap list - list all available snapshots

How it works:

Program create *.tar.gz archive with files:

info.json - JSON description of archive’s contents for restore command

directory_backup.2011-01-01.tar - backup of upload directory

database_postgres_backup.2011-01-01.sql - SQL database dump

All files created and restored automatically, you do not need to bother of their structure.

Restrictions:

Django-snapshot works now only with PostgreSQL database. Nor sqlite or MySQL are not supported. If you have any suggestions, email developers. Any feedback is welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-snapshot-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file django-snapshot-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-snapshot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f241851fd0b223f6d3b29449cae7d9cb63d4293829de325852b8f8f5a013020
MD5 d11a5f014138557d26897c0279b70423
BLAKE2b-256 df103ab657d2d072b6811ae0b7d40ba1d18c50f732cafc93be92daac2884147d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page