Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computer_science:docker:docker_dokuwiki_portable [2020/07/28 12:50] – Gramamr carlossousa | computer_science:docker:docker_dokuwiki_portable [2023/12/01 12:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 172: | Line 172: | ||
We can easily migrate the data by grabbing everything in the mounted volumes and collecting them into a tar(ball). | We can easily migrate the data by grabbing everything in the mounted volumes and collecting them into a tar(ball). | ||
- | To do that we can create a file called **backtup_to_tar.sh** | + | To do that we can create a file called **backtup_to_tar.sh** which when run will grab everything from // |
<code bash> | <code bash> | ||
#!/bin/bash | #!/bin/bash | ||
SOURCE_PATH="/ | SOURCE_PATH="/ | ||
BACKUP_PATH="/ | BACKUP_PATH="/ | ||
- | tar cvf " | + | BACKUP_NAME=" |
+ | tar cvf " | ||
</ | </ | ||
- | |||
- | |||