Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aurélien
backupninja
Commits
42b7be61
Commit
42b7be61
authored
Nov 1, 2006
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
sys: closes 396632 for real
parent
b2cda6aa
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+5
-2
5 additions, 2 deletions
ChangeLog
handlers/sys
+5
-3
5 additions, 3 deletions
handlers/sys
with
10 additions
and
5 deletions
ChangeLog
+
5
−
2
View file @
42b7be61
...
...
@@ -7,9 +7,12 @@ version 0.9.5 -- unreleased
sys:
. Fixed typo breaking things for VServers.
. Fix bug when vrootdir is on its own partition (Closes: #395928)
. Hide silly sfdisk error output.
. Better sfdisk error and output handling: should now properly warn
when it does not manage to backup a partition table, and shut up when
it succeeds (Closes: #396632)
pgsql:
. Support configuring PGSQLUSER for real, and document it a bit
. Support configuring PGSQLUSER for real, and document it a bit; this
broken support actually prevented pgsql handler to work for VServers
(Closes: #396578)
fixed automake 'make install' bug that failed if /etc/backup.d already
existed
...
...
This diff is collapsed.
Click to expand it.
handlers/sys
+
5
−
3
View file @
42b7be61
...
...
@@ -444,7 +444,6 @@ fi
if
[
"
$partitions
"
==
"yes"
]
;
then
devices
=
`
$SFDISK
-l
2>/dev/null |
grep
"^Disk /dev"
|
awk
'{print $2}'
|
cut
-d
:
-f1
`
debug
"
$SFDISK
will try to backup partition tables for devices
$devices
"
if
[
"
$devices
"
==
""
]
;
then
warning
"No harddisks found"
fi
...
...
@@ -454,8 +453,11 @@ if [ "$partitions" == "yes" ]; then
label
=
${
dev
#/dev/
}
label
=
${
label
//\//-
}
outputfile
=
${
partitionsfile
//__star__/
$label
}
debug
"
$SFDISK
$sfdisk_options
-d
$dev
>
$outputfile
"
$SFDISK
$sfdisk_options
-d
$dev
>
$outputfile
debug
"
$SFDISK
$sfdisk_options
-d
$dev
>
$outputfile
2>/dev/null"
$SFDISK
$sfdisk_options
-d
$dev
>
$outputfile
2>/dev/null
if
[
$?
-ne
0
]
;
then
warning
"The partition table for
$dev
could not be saved."
fi
done
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment