Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(backup): remove incomplete backup feature #42

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ The following sections are devided into:

| Name | Default Value | Description |
| -------------- | ------------- | -----------------------------------|
| `paperless_ngx_backup_on_upgrade` | true | Whether to backup old installation files before upgrade. |
| `paperless_ngx_db_type` | sqlite | Available db types are sqlite and postgresql. If postrgresql is chosen then the other db_ vars must be configured too. |
| `paperless_ngx_dir_force_permission_exclude` | [] | Which directories should be skipped from permission check/setting. See [docs](docs/DIRECTORY_PERMISSION_CHECK.md). |
| `paperless_ngx_dir_installation` | /opt/paperless-ngx | The directory where paperless-ngx static installation files are written to. |
Expand Down
1 change: 0 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
# Role specific variables
paperless_ngx_backup_on_upgrade: true
## Data db
paperless_ngx_db_type: sqlite # or postgresql
## Directories
Expand Down
10 changes: 0 additions & 10 deletions tasks/paperless_ngx/backup.yml

This file was deleted.

8 changes: 0 additions & 8 deletions tasks/paperless_ngx/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
tags: system_user
tags: system_user

- name: Backup existing installation
ansible.builtin.include_tasks:
file: backup.yml
apply:
tags: backup
tags: backup
when: _paperless_ngx_installation_strategy_upgrade

- name: Pre configuration
when: >-
_paperless_ngx_installation_strategy_upgrade
Expand Down