Don't dump events
This commit is contained in:
parent
f169a3298a
commit
7eea370fea
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ cd /var/backups/databases
|
|||
for i in $(lxc list --format csv -c n); do
|
||||
if lxc exec "$i" -- which mysql >/dev/null 2>&1; then
|
||||
echo "Dumping $i"
|
||||
lxc exec "$i" -- mysqldump --opt --all-databases --force --events --hex-blob | cat > "${i}.sql"
|
||||
lxc exec "$i" -- mysqldump --opt --all-databases --force --hex-blob | cat > "${i}.sql"
|
||||
fi
|
||||
if lxc exec "$i" -- which psql >/dev/null 2>&1; then
|
||||
if lxc exec "$i" -- id postgres >/dev/null 2>&1; then
|
||||
|
|
Reference in a new issue