Project

General

Profile

Paste
Download (293 Bytes) Statistics
| Branch: | Revision:

root / bin / flush-full-databases-backups.sh @ 20f29eb0

1 d52a5b2f jenselme
#!/bin/sh
2
3 1900469e Julien Enselme
usage() {
4
    echo "ARGS: Drupal version"
5
}
6
7
. /home/assos/bin/print-help-if-required.sh
8 d52a5b2f jenselme
9 1900469e Julien Enselme
. /home/assos/bin/scripts-config.sh
10 d52a5b2f jenselme
11 3e9236bd Julien Enselme
cd "${dir_full_backup}/$1"
12 d52a5b2f jenselme
13 8550e097 Julien Enselme
for dir in $(ls) ; do
14 3e9236bd Julien Enselme
    cd "${dir}"
15 15ed27d8 Julien Enselme
    flush-files.sh -n "${db_full_backup_number}" -m "${email_multi_assos}"
16 d52a5b2f jenselme
    cd -
17
done