8 lines
289 B
Bash
8 lines
289 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
dbname=benjamt_db3
|
||
|
destination=bmen/files/Projekte/Ben/Website/SQL-Dumps
|
||
|
|
||
|
mysqldump --login-path=ben $dbname > /mnt/storage-bx20/data-nextcloud/$destination/$dbname-$(date -d "today" +"%Y%m%d%H%M").sql
|
||
|
docker exec --user www-data nextcloud php occ files:scan -p $destination/
|