Skip to content
Snippets Groups Projects
Commit 6d86bde0 authored by Andy Yates's avatar Andy Yates
Browse files

adding external_synonym into the list of backed up tables

parent a551abf5
No related branches found
No related tags found
No related merge requests found
......@@ -921,8 +921,7 @@ sub backup {
my $mysql_binary = 'mysql';
# my $mysql_binary = '/usr/local/mysql/bin/mysql';
my @tables = qw/gene xref object_xref/;
push(@tables, 'transcript');
my @tables = qw/gene transcript xref object_xref external_synonym/;
foreach my $table (@tables) {
unless (system("$mysql_binary -h$host -P$port -u$user -p$pass -N -e 'select * from $table' $dbname | gzip -c -6 > $backup_dir/$dbname.$table.backup.gz") == 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment