A simple Django app to backup your files and database to Yandex.Disk
Project description
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
```
or
> [easy_install](https://pypi.python.org/pypi/setuptools) [YaBackup](https://pypi.python.org/pypi/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.
========
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
```
or
> [easy_install](https://pypi.python.org/pypi/setuptools) [YaBackup](https://pypi.python.org/pypi/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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-yabackup-0.1.1.tar.gz
(8.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-yabackup-0.1.1.tar.gz.
File metadata
- Download URL: django-yabackup-0.1.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cac313b10dedee3dd24cedba3cbcc57817480cb6803319c05b9a0cacdfa854b
|
|
| MD5 |
40fa83636c5de6bab1ddc496c61414c4
|
|
| BLAKE2b-256 |
96fdb39c99617449abedb246cac375812dce3e1bd8e0bbcf8ce0d6ebfa204151
|
File details
Details for the file django_yabackup-0.1.1-py3-none-any.whl.
File metadata
- Download URL: django_yabackup-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f27de9810acdb14cf91398a2ba9de0744da04076cd877a850a4bfc37cdd055f
|
|
| MD5 |
b9a2658d745052fa05ab150a999cc56f
|
|
| BLAKE2b-256 |
7a4155c5bcffdb005dcd2e50f0707674e6f880b442f115ee9f21dda51a423360
|