Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
70eeafd6
Commit
70eeafd6
authored
Nov 04, 2003
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of -9 arg to gzip calls since we have more space, and it
really eats the CPU!
parent
782caff4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
db/backup.in
db/backup.in
+4
-4
No files found.
db/backup.in
View file @
70eeafd6
...
...
@@ -136,7 +136,7 @@ if (system("mysqldump --all --flush-logs --lock-tables $DBNAME > $backname")) {
#
# Compress the files.
#
if
(
system
("
nice gzip
-9
$backname
"))
{
if
(
system
("
nice gzip
$backname
"))
{
fatal
("
gzip
$backname
failed!
");
}
...
...
@@ -149,15 +149,15 @@ if (! chdir($LOGDIR)) {
fatal
("
Could not chdir to
$LOGDIR
: $!
");
}
if
(
-
e
"
$basename
"
&&
system
("
nice gzip
-9
$basename
"))
{
if
(
-
e
"
$basename
"
&&
system
("
nice gzip
$basename
"))
{
fatal
("
gzip
$basename
failed!
");
}
if
(
-
e
"
$updname
"
&&
system
("
nice gzip
-9
$updname
"))
{
if
(
-
e
"
$updname
"
&&
system
("
nice gzip
$updname
"))
{
fatal
("
gzip
$updname
failed!
");
}
if
(
-
e
"
$slowname
"
&&
system
("
nice gzip
-9
$slowname
"))
{
if
(
-
e
"
$slowname
"
&&
system
("
nice gzip
$slowname
"))
{
fatal
("
gzip
$slowname
failed!
");
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment