mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-12 12:32:58 +01:00
Compare commits
10 Commits
b583385880
...
856d2837c1
Author | SHA1 | Date | |
---|---|---|---|
|
856d2837c1 | ||
|
e22cb1708c | ||
|
b095e6b526 | ||
05e861a371 | |||
7fc7849d96 | |||
|
5158dd2a75 | ||
7d142999d7 | |||
918fb8079b | |||
|
813a1bb9d0 | ||
7f9c8eea59 |
11
.github/dependabot.yml
vendored
11
.github/dependabot.yml
vendored
@ -1,11 +0,0 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "npm" # See documentation for possible values
|
||||
directory: "/nextcloud_backup/rootfs/opt/nextcloud_backup" # Location of package manifests
|
||||
schedule:
|
||||
interval: "daily"
|
2
.github/workflows/build_addon.yml
vendored
2
.github/workflows/build_addon.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
arch_value: linux/arm/v6
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -40,8 +40,8 @@ build/Release
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
.yarn
|
||||
|
||||
**/.yarn/cache
|
||||
**/.yarn/install-state.gz
|
||||
# TypeScript v1 declaration files
|
||||
typings/
|
||||
|
||||
|
785
.yarn/releases/yarn-3.2.0.cjs
vendored
Executable file
785
.yarn/releases/yarn-3.2.0.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
@ -1 +1,3 @@
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-3.2.0.cjs
|
||||
|
26
README.md
26
README.md
@ -35,7 +35,7 @@ Auto backup can be configured via the web interface.
|
||||
- __Restore__ : Upload backed-up snapshot to Home assistant.
|
||||
- __Auto Stop__ : This addon can stop addons before backup and restart them after backup
|
||||
- __Web UI__ : All the configuration is based on an easy-to-use web interface, no yaml needed.
|
||||
- __Home Assistant State Entities__ : This addon create 2 entite in HA : `binary_sensor.nextcloud_backup_error` and `sensor.nextcloud_backup_status`
|
||||
- ~~__Home Assistant State Entities__ : This addon create 2 entite in HA : `binary_sensor.nextcloud_backup_error` and `sensor.nextcloud_backup_status`~~
|
||||
> __Info:__
|
||||
> Auto Clean is executed after every upload and every day at 00h30
|
||||
|
||||
@ -86,30 +86,6 @@ For a full list of all authors and contributors,
|
||||
check [the contributor's page][contributors].
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Sébastien Clément
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
|
||||
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
|
||||
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
|
||||
|
@ -40,7 +40,7 @@ bower_components
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
**/node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# Snowpack dependency directory (https://snowpack.dev/)
|
||||
@ -111,9 +111,9 @@ dist
|
||||
.vscode-test
|
||||
|
||||
# yarn v2
|
||||
.yarn/cache
|
||||
.yarn/unplugged
|
||||
.yarn/build-state.yml
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
**/.yarn/cache
|
||||
**/.yarn/unplugged
|
||||
**/.yarn/build-state.yml
|
||||
**/.yarn/install-state.gz
|
||||
**/.pnp.*
|
||||
|
||||
|
@ -15,6 +15,7 @@ RUN ln -s /usr/bin/node /usr/local/sbin/node
|
||||
# Copy only package*.json
|
||||
COPY rootfs/opt/nextcloud_backup/package*.json /opt/nextcloud_backup/
|
||||
COPY rootfs/opt/nextcloud_backup/.yarnrc.yml /opt/nextcloud_backup/
|
||||
COPY rootfs/opt/nextcloud_backup/.yarn/releases/* /opt/nextcloud_backup/.yarn/releases/
|
||||
|
||||
WORKDIR /opt/nextcloud_backup/
|
||||
|
||||
|
785
nextcloud_backup/rootfs/opt/nextcloud_backup/.yarn/releases/yarn-3.2.0.cjs
vendored
Executable file
785
nextcloud_backup/rootfs/opt/nextcloud_backup/.yarn/releases/yarn-3.2.0.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
@ -1 +1,3 @@
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-3.2.0.cjs
|
||||
|
@ -7,22 +7,22 @@
|
||||
"start": "node ./bin/www.js "
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.1.1",
|
||||
"app-root-path": "^3.0.0",
|
||||
"bootstrap": "^5.0.1",
|
||||
"cookie-parser": "^1.4.6",
|
||||
"cron": "^1.8.2",
|
||||
"debug": "~4.3.4",
|
||||
"ejs": "~3.1.7",
|
||||
"express": "~4.18.1",
|
||||
"form-data": "^4.0.0",
|
||||
"@fortawesome/fontawesome-free": "6.1.1",
|
||||
"app-root-path": "3.0.0",
|
||||
"bootstrap": "5.1.3",
|
||||
"cookie-parser": "1.4.6",
|
||||
"cron": "2.0.0",
|
||||
"debug": "4.3.4",
|
||||
"ejs": "3.1.7",
|
||||
"express": "4.18.1",
|
||||
"form-data": "4.0.0",
|
||||
"got": "12.0.4",
|
||||
"http-errors": "~2.0.0",
|
||||
"jquery": "^3.6.0",
|
||||
"luxon": "^2.3.2",
|
||||
"morgan": "~1.10.0",
|
||||
"webdav": "^4.8.0",
|
||||
"winston": "^3.6.0"
|
||||
"http-errors": "2.0.0",
|
||||
"jquery": "3.6.0",
|
||||
"luxon": "2.3.2",
|
||||
"morgan": "1.10.0",
|
||||
"webdav": "4.9.0",
|
||||
"winston": "3.7.2"
|
||||
},
|
||||
"packageManager": "yarn@3.2.0"
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@fortawesome/fontawesome-free@npm:^6.1.1":
|
||||
"@fortawesome/fontawesome-free@npm:6.1.1":
|
||||
version: 6.1.1
|
||||
resolution: "@fortawesome/fontawesome-free@npm:6.1.1"
|
||||
checksum: adb3c71e0d9e60488401a193cfd1925ad100935ae41c88d3969937b59c182289ecc6f8c0835f0a3fb9cc215348a047a39536e918247381774baf7dcebef94b64
|
||||
@ -116,7 +116,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"app-root-path@npm:^3.0.0":
|
||||
"app-root-path@npm:3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "app-root-path@npm:3.0.0"
|
||||
checksum: ff91a24db2b55070f6b3e22e72ce8fe8ea847e19eb8a3cbb267f9e9ac2a8372db65114dd6798a4ed7897a6f475b90a49330b3e53bf199d47e6abb5c5279aa1d7
|
||||
@ -196,7 +196,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"bootstrap@npm:^5.0.1":
|
||||
"bootstrap@npm:5.1.3":
|
||||
version: 5.1.3
|
||||
resolution: "bootstrap@npm:5.1.3"
|
||||
peerDependencies:
|
||||
@ -393,7 +393,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cookie-parser@npm:^1.4.6":
|
||||
"cookie-parser@npm:1.4.6":
|
||||
version: 1.4.6
|
||||
resolution: "cookie-parser@npm:1.4.6"
|
||||
dependencies:
|
||||
@ -424,12 +424,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cron@npm:^1.8.2":
|
||||
version: 1.8.3
|
||||
resolution: "cron@npm:1.8.3"
|
||||
"cron@npm:2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "cron@npm:2.0.0"
|
||||
dependencies:
|
||||
luxon: ^1.23.x
|
||||
checksum: e0d88005733426a41203846c6c258bb9a928ab2ebfdbd3e12628dec1bca93314b139b5132594d4bd4ea43f1deb2e8b53a135c4b955310d447c3e1f1a5ed09ea4
|
||||
checksum: 179ec137ada4ceb44cafe51c55491e84954308d7012d2a44539f0dadbbb1ffbbe3072c2f7aaa88595d60bd56e0d536aae2e4aaa4430c869317d6c2abd966988b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -449,7 +449,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"debug@npm:~4.3.4":
|
||||
"debug@npm:4.3.4":
|
||||
version: 4.3.4
|
||||
resolution: "debug@npm:4.3.4"
|
||||
dependencies:
|
||||
@ -505,7 +505,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ejs@npm:~3.1.7":
|
||||
"ejs@npm:3.1.7":
|
||||
version: 3.1.7
|
||||
resolution: "ejs@npm:3.1.7"
|
||||
dependencies:
|
||||
@ -553,7 +553,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"express@npm:~4.18.1":
|
||||
"express@npm:4.18.1":
|
||||
version: 4.18.1
|
||||
resolution: "express@npm:4.18.1"
|
||||
dependencies:
|
||||
@ -658,7 +658,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"form-data@npm:^4.0.0":
|
||||
"form-data@npm:4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "form-data@npm:4.0.0"
|
||||
dependencies:
|
||||
@ -784,7 +784,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"http-errors@npm:2.0.0, http-errors@npm:~2.0.0":
|
||||
"http-errors@npm:2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "http-errors@npm:2.0.0"
|
||||
dependencies:
|
||||
@ -865,7 +865,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jquery@npm:^3.6.0":
|
||||
"jquery@npm:3.6.0":
|
||||
version: 3.6.0
|
||||
resolution: "jquery@npm:3.6.0"
|
||||
checksum: 8fd5fef4aa48fd374ec716dd1c1df1af407814a228e15c1260ca140de3a697c2a77c30c54ff1d238b6a3ab4ddc445ddeef9adce6c6d28e4869d85eb9d3951c0e
|
||||
@ -930,6 +930,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"luxon@npm:2.3.2":
|
||||
version: 2.3.2
|
||||
resolution: "luxon@npm:2.3.2"
|
||||
checksum: ba4f9daa56d03771c2ddf00e3bf996ec7937badfdc2f85f5b58d63c75bb511369b3316f54ab9ce5ab42bfc9118513971f6599128529b68620b876a4b7c16570b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"luxon@npm:^1.23.x":
|
||||
version: 1.28.0
|
||||
resolution: "luxon@npm:1.28.0"
|
||||
@ -937,13 +944,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"luxon@npm:^2.3.2":
|
||||
version: 2.3.2
|
||||
resolution: "luxon@npm:2.3.2"
|
||||
checksum: ba4f9daa56d03771c2ddf00e3bf996ec7937badfdc2f85f5b58d63c75bb511369b3316f54ab9ce5ab42bfc9118513971f6599128529b68620b876a4b7c16570b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"md5@npm:^2.3.0":
|
||||
version: 2.3.0
|
||||
resolution: "md5@npm:2.3.0"
|
||||
@ -1033,7 +1033,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"morgan@npm:~1.10.0":
|
||||
"morgan@npm:1.10.0":
|
||||
version: 1.10.0
|
||||
resolution: "morgan@npm:1.10.0"
|
||||
dependencies:
|
||||
@ -1085,22 +1085,22 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "nexcloud-backup@workspace:."
|
||||
dependencies:
|
||||
"@fortawesome/fontawesome-free": ^6.1.1
|
||||
app-root-path: ^3.0.0
|
||||
bootstrap: ^5.0.1
|
||||
cookie-parser: ^1.4.6
|
||||
cron: ^1.8.2
|
||||
debug: ~4.3.4
|
||||
ejs: ~3.1.7
|
||||
express: ~4.18.1
|
||||
form-data: ^4.0.0
|
||||
"@fortawesome/fontawesome-free": 6.1.1
|
||||
app-root-path: 3.0.0
|
||||
bootstrap: 5.1.3
|
||||
cookie-parser: 1.4.6
|
||||
cron: 2.0.0
|
||||
debug: 4.3.4
|
||||
ejs: 3.1.7
|
||||
express: 4.18.1
|
||||
form-data: 4.0.0
|
||||
got: 12.0.4
|
||||
http-errors: ~2.0.0
|
||||
jquery: ^3.6.0
|
||||
luxon: ^2.3.2
|
||||
morgan: ~1.10.0
|
||||
webdav: ^4.8.0
|
||||
winston: ^3.6.0
|
||||
http-errors: 2.0.0
|
||||
jquery: 3.6.0
|
||||
luxon: 2.3.2
|
||||
morgan: 1.10.0
|
||||
webdav: 4.9.0
|
||||
winston: 3.7.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -1488,7 +1488,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"webdav@npm:^4.8.0":
|
||||
"webdav@npm:4.9.0":
|
||||
version: 4.9.0
|
||||
resolution: "webdav@npm:4.9.0"
|
||||
dependencies:
|
||||
@ -1519,7 +1519,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"winston@npm:^3.6.0":
|
||||
"winston@npm:3.7.2":
|
||||
version: 3.7.2
|
||||
resolution: "winston@npm:3.7.2"
|
||||
dependencies:
|
||||
|
@ -2,8 +2,8 @@
|
||||
"name": "hassio-nextcloud-backup",
|
||||
"packageManager": "yarn@3.2.0",
|
||||
"devDependencies": {
|
||||
"auto-changelog": "^2.4.0",
|
||||
"release-it": "^15.0.0"
|
||||
"auto-changelog": "2.4.0",
|
||||
"release-it": "15.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"release": "release-it"
|
||||
|
19
renovate.json
Normal file
19
renovate.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": [
|
||||
"config:base",
|
||||
":prHourlyLimitNone",
|
||||
":prConcurrentLimitNone"
|
||||
],
|
||||
"commitMessagePrefix": ":arrow_up:",
|
||||
"regexManagers": [
|
||||
{
|
||||
"fileMatch": ["nextcloud_backup/.base_version"],
|
||||
"matchStrings": [
|
||||
"(?<currentValue>.*)\\s"
|
||||
],
|
||||
"depNameTemplate": "ghcr.io/hassio-addons/base/amd64",
|
||||
"datasourceTemplate": "docker",
|
||||
"versioningTemplate": "semver"
|
||||
}
|
||||
]
|
||||
}
|
@ -407,7 +407,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"auto-changelog@npm:^2.4.0":
|
||||
"auto-changelog@npm:2.4.0":
|
||||
version: 2.4.0
|
||||
resolution: "auto-changelog@npm:2.4.0"
|
||||
dependencies:
|
||||
@ -1523,8 +1523,8 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "hassio-nextcloud-backup@workspace:."
|
||||
dependencies:
|
||||
auto-changelog: ^2.4.0
|
||||
release-it: ^15.0.0
|
||||
auto-changelog: 2.4.0
|
||||
release-it: 15.0.0
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -2868,7 +2868,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"release-it@npm:^15.0.0":
|
||||
"release-it@npm:15.0.0":
|
||||
version: 15.0.0
|
||||
resolution: "release-it@npm:15.0.0"
|
||||
dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user