Project

General

Profile

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

root / bin / d6-all-dump-full.sh @ d52a5b2f

1
#!/bin/sh
2

    
3
. /users/guest/assos/bin/scripts-config.sh
4

    
5
current_date=`date "+%Y-%m-%d-%Hh%Mm%Ss"`
6

    
7
# Dump D6 database with webassos user.
8
mysqldump --single-transaction webassos -h myweb.serv.int -u webassos --password=HBVH2ljgyZCA0AP251DY > $d6_dir_full_backup/webassos/$current_date.webassos.sql
9

    
10
# Dump D6 form database with forum user.
11
mysqldump forum -h myweb.serv.int -u forum --password=dtcAltF12 > $d6_dir_full_backup/forum/$current_date.forum.sql