mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-11-04 19:55:38 +00:00
Rename backup database function
This commit is contained in:
1 parent
a87fad8bba
commit
e270446e84
2 files changed
+2
-2
No files matched your search
@@ -10,7 +10,7 @@ FLUSH PRIVILEGES;
|
||||
_EOF
|
||||
}
|
||||
|
||||
dump_database()
|
||||
backup_database()
|
||||
{
|
||||
sudo mysqldump -u root $DATABASE | gzip > /tmp/$DATABASE.sql.gz
|
||||
sudo mv /tmp/$DATABASE.sql.gz $BACKUP_USER_DATA/
|
||||
|
||||
Reference in new issue
Block a user