Skip to content

Commit

Permalink
Update docker.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miklosban authored Nov 7, 2023
1 parent 1317151 commit 3f23e90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions official_docs/en/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,12 +489,17 @@ https://github.com/OpenBioMaps/scripts
- use this to set up perodic sql dumps of important tables: archive.sh

#### crontab setting examples for archive.sh

```sh
#dumping normal tables from Monday to Saturday
15 04 * * 1-6 /root/archive.sh normal &
#dumping all tables and whole databases on every Sunday
15 04 * * 7 /root/archive.sh full &
```

# Example settings in obm_archive_settings.sh

```sh
#path of table list
table_list="${HOME}/.archive_list.txt"

Expand All @@ -519,6 +524,7 @@ https://github.com/OpenBioMaps/scripts
#bar 1 * *
#casbla at every 1st day of every June
#casbla * 1 6
```

### Dumping table from the database using docker

Expand Down

0 comments on commit 3f23e90

Please sign in to comment.