Skip to main content
YaBackup
========

YaBackup is a simple Django app to backup your files and database to Yandex.Disk

Requirements
------------


Python >= 3
Django >= 1.11
YaDiskClient >= 0.4.5


Older versions might work too

Install
-------

`pip install django-yabackup`

Quick start
-----------

1. Add "YaBackup" to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
...
'YaBackup',
]


2. Add YABACKUP_SETTINGS to your project settings:

YABACKUP_SETTINGS = {
'DATE_TIME_FORMAT': '%Y-%m-%d_%H-%M-%S', # Will be added to your backup file name
'YADISK_LOGIN': 'login', # Yandex.Disk login
'YADISK_PASSWORD': 'password', # Yandex.Disk password
'YADISK_BACKUP_ROOT': '/BACKUPS/', # path to your backups folder at Yandex.Disk MUST BE CREATED BEFORE RUNNING BACKUPS
}


3. Run `python manage.py migrate` to create the YaBackup models.


Usage
-----

You can create and run your backups from the admin backend. Also, you can run them with management command:

`python manage.py YaBackup`


Cron
----

You can use Chroniker (https://github.com/chrisspen/django-chroniker)
or other apps to schedule your backups by running management command.





Metadata

Release files for django-yabackup 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-yabackup 0.1.2
File Size Uploaded Provenance Actions
django-yabackup-0.1.2.tar.gz 8.4 kB Without provenance Details for django-yabackup-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-yabackup 0.1.2
File Interpreter ABI Platform Actions
django_yabackup-0.1.2-py3-none-any.whl Python 3 none any Details for django_yabackup-0.1.2-py3-none-any.whl

Total release size: 20.9 kB

Release files / django-yabackup-0.1.2.tar.gz

Download URL django-yabackup-0.1.2.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c069fc85eccf47849640e3fac35abc4b044a62c23af15af73f712b567eae084d
BLAKE2b-256 checksum
How to use checksums
6b06b20aa410cf42158911cb3ae259d312bd2719df8adbc7eb3f4e80a3cedb8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_yabackup-0.1.2-py3-none-any.whl

Download URL django_yabackup-0.1.2-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e17d358f4dde7221de14ce5498fb5c6803bad413c6a546578f8cafe6833b288b
BLAKE2b-256 checksum
How to use checksums
b2f03ce299b867aa3024179736a039cc9ea198c04435ade1b613db0b1fba790b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-yabackup 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page