Skip to content

Commit

Permalink
Remove old backup stuff
Browse files Browse the repository at this point in the history
TODO: document new backup system
  • Loading branch information
bfirsh authored and jessykate committed Mar 8, 2019
1 parent db8d51b commit bd12ea1
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 237 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ local_settings.py
.DS_Store
local_templates/
local_templates_hidden/
backups
backup/
django.log
.vagrant
modernomad.komodoproject
Expand Down
8 changes: 0 additions & 8 deletions core/tasks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from core.models import Location, Subscription, Use
from core.emails.messages import guests_residents_daily_update, admin_daily_update, guest_welcome, goodbye_email
from django.conf import settings
from modernomad.backup import BackupManager
from modernomad.log import catch_exceptions
from django.contrib.sites.models import Site
import datetime
Expand Down Expand Up @@ -54,13 +53,6 @@ def send_departure_email():
goodbye_email(use)


@catch_exceptions
def make_backup():
logger.info("Running task: make_backup")
manager = BackupManager()
manager.make_backup()


@catch_exceptions
def generate_subscription_bills():
logger.info("Running task: generate_subscription_bills")
Expand Down
149 changes: 0 additions & 149 deletions modernomad/backup.py

This file was deleted.

32 changes: 0 additions & 32 deletions modernomad/management/commands/make_backup.py

This file was deleted.

23 changes: 0 additions & 23 deletions modernomad/management/commands/remove_old_backups.py

This file was deleted.

21 changes: 0 additions & 21 deletions modernomad/management/commands/restore_backup.py

This file was deleted.

2 changes: 0 additions & 2 deletions modernomad/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
environ.Env.read_env(str(BASE_DIR / '.env'))
env = environ.Env()

BACKUP_ROOT = BASE_DIR / 'backups'

ADMINS = ((
env('ADMIN_NAME', default='Unnamed'),
env('ADMIN_EMAIL', default='[email protected]')
Expand Down

0 comments on commit bd12ea1

Please sign in to comment.