Project

General

Profile

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

root / bin / d7-all-dump-full.sh @ master

1
#!/bin/sh
2

    
3
. /home/assos/bin/scripts-config.sh
4
. /home/assos/bin/scripts-utils.sh
5

    
6
current_date=$(date "+%Y-%m-%d-%Hh%Mm%Ss")
7

    
8
# Dump D7 databases at once.
9
mysqldump --defaults-extra-file="${myassos_cnf}" --all-databases | gzip > "${d7_dir_full_backup}/myassos/${current_date}.d7_full.sql.gz"