1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 12:49:43 +02:00

ref: Rename script files

This commit is contained in:
Maksim Eltyshev 2023-01-17 20:37:27 +01:00
parent c2d1ca8eeb
commit fab623bb52
5 changed files with 6 additions and 6 deletions

View file

@ -26,7 +26,7 @@ RUN apk del vips-dependencies --purge
USER node
WORKDIR /app
COPY --chown=node:node docker-start.sh start.sh
COPY --chown=node:node start.sh .
COPY --chown=node:node server .
RUN mv .env.sample .env

View file

@ -99,7 +99,7 @@ nano .env
6. Copy start script from the root directory to the `server` directory.
```bash
cp ../docker-start.sh start.sh
cp ../start.sh .
```
7. Start the server.
@ -266,10 +266,10 @@ It's already available in Planka, or you can also use the great tool [trello2pla
### Backup and Restore
Planka comes with two scripts that allow for manual backup and restore when running Planka with docker-compose.yml.
Backups can be triggered with `backup.sh` which will export the Database, User Avatars, Project Backgrounds and Attachments into a single tgz file.
Backups can be triggered with `docker-backup.sh` which will export the Database, User Avatars, Project Backgrounds and Attachments into a single tgz file.
```
$ ./backup.sh
$ ./docker-backup.sh
Exporting postgres database ... Success!
Exporting user-avatars ... Success!
Exporting project-background-images ... Success!
@ -279,10 +279,10 @@ Cleaning up temporary files and folders ... Success!
Backup Complete!
```
The resulting backup can be restored using the `restore.sh` script.
The resulting backup can be restored using the `docker-restore.sh` script.
```
$ ./restore.sh 2023-01-17T15-37-22Z-backup.tgz
$ ./docker-restore.sh 2023-01-17T15-37-22Z-backup.tgz
Extracting tarball 2023-01-17T11-10-54Z-backup.tgz ... Success!
Importing postgres database ...