Title: Feature request - Backup before update flag · Issue #13 · BookStackApp/system-cli · GitHub
Open Graph Title: Feature request - Backup before update flag · Issue #13 · BookStackApp/system-cli
X Title: Feature request - Backup before update flag · Issue #13 · BookStackApp/system-cli
Description: Hi. First of all, great work on everything. I've been using Bookstack since about 2017 with very few issues :) I currently run a script monthly via cron that: Check git repo to see if I'm behind (and if so) Backs up db/files Updates Book...
Open Graph Description: Hi. First of all, great work on everything. I've been using Bookstack since about 2017 with very few issues :) I currently run a script monthly via cron that: Check git repo to see if I'm behind (a...
X Description: Hi. First of all, great work on everything. I've been using Bookstack since about 2017 with very few issues :) I currently run a script monthly via cron that: Check git repo to see if I'm b...
Opengraph URL: https://github.com/BookStackApp/system-cli/issues/13
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request - Backup before update flag","articleBody":"Hi. First of all, great work on everything. I've been using Bookstack since about 2017 with very few issues :)\r\n\r\nI currently run a script monthly via cron that:\r\n1. Check git repo to see if I'm behind (and if so)\r\n2. Backs up db/files\r\n3. Updates BookStack\r\n4. Sends me a notification of update/status\r\n\r\nWith system-cli, life is a little easier, and I can run something along the lines of this every month:\r\n```\r\n./BookStack/bookstack-system-cli backup backups/\r\n./BookStack/bookstack-system-cli update\r\n```\r\n\r\nHowever, this means that regardless of whether there's a bookstack update available or not, my instance is backed up.\r\n\r\nIdeally I would be able to run something like below, where If I provide a flag, e.g. --backup, bookstack would backup before it updates to the backup path provided (else default backup path)\r\n```\r\n./BookStack/bookstack-system-cli update --backup backups/\r\n```\r\nThat way, this can be a defined as a standalone cron task \r\n\r\nAdditionally, I noticed that even if you are on the latest version of Bookstack and run update, you receive a \"Your BookStack instance at [path/BookStack] has been updated!\". It would be great if this returned a \"Your BookStack instance is already on the latest version\" instead.","author":{"url":"https://github.com/slimninja","@type":"Person","name":"slimninja"},"datePublished":"2023-07-24T21:35:21Z","url":"https://github.com/BookStackApp/system-cli/issues/13"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2199a6a4-7c4c-c091-8f37-2f6d1a2cfc41 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEF2:3B3584:62F88:843BC:6AFD3CEC |
| html-safe-nonce | 54f43ab9e809ec0fd09f466564cd8df8dad4a1102772c8c86ed578290ae91a0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUYyOjNCMzU4NDo2MkY4ODo4NDNCQzo2QUZEM0NFQyIsInZpc2l0b3JfaWQiOiI4NjgzNTQ0MjA5MTcwMTg1NDUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d7923b4412d4606f2ce507ab304c18235ffdbde707d6f47d689269a318c6dc4f |
| hovercard-subject-tag | issue:1819182211 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/BookStackApp/system-cli/13/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec7a1fd489916b54ec9b77887c4d6d74fc36c5de0886ddf4a6e13be345bd2d92/BookStackApp/system-cli/issues/13 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec7a1fd489916b54ec9b77887c4d6d74fc36c5de0886ddf4a6e13be345bd2d92/BookStackApp/system-cli/issues/13 |
| og:image:alt | Hi. First of all, great work on everything. I've been using Bookstack since about 2017 with very few issues :) I currently run a script monthly via cron that: Check git repo to see if I'm behind (a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | slimninja |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/BookStackApp/system-cli git https://github.com/BookStackApp/system-cli.git |
| octolytics-dimension-user_id | 20912696 |
| octolytics-dimension-user_login | BookStackApp |
| octolytics-dimension-repository_id | 611825433 |
| octolytics-dimension-repository_nwo | BookStackApp/system-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 611825433 |
| octolytics-dimension-repository_network_root_nwo | BookStackApp/system-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width