Skip to content

Commit 4532607

Browse files
Add docs for commands
1 parent 50d242c commit 4532607

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

docs/pages/.vitepress/config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ export default defineConfig({
1212
sidebar: [
1313
{
1414
text: "Introduction",
15-
items: [{ text: "Getting started", link: "/getting-started.md" }],
15+
items: [
16+
{ text: "Getting started", link: "/getting-started.md" },
17+
{ text: "Commands", link: "/commands.md" },
18+
],
1619
},
1720
{
1821
text: "Configuration",
@@ -26,6 +29,7 @@ export default defineConfig({
2629
items: [
2730
{ text: "Pipeline", link: "/pipeline.md" },
2831
{ text: "Notifications", link: "/notifications.md" },
32+
{ text: "Metadata", link: "/metadata.md" },
2933
],
3034
},
3135
],

docs/pages/commands.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Commands
2+
3+
Statamic backup comes with a few commands to help you manage backups from a cli.
4+
5+
| Command | Description |
6+
| ---------------------------------------- | ------------------------------------------------------------ |
7+
| `php artisan statamic:backup` | Run the backup process |
8+
| `php artisan statamic:backup:temp-clean` | Clean up leftover temporary backup files, like upload chunks |
9+
| `php artisan statamic:backup:restore` | Restore your site to chosen backup |

0 commit comments

Comments
 (0)