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
Custom issue tracker
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
e3454782
Commit
e3454782
authored
17 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
add patch to ignore rdiff minor version levels
parent
2b522785
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
AUTHORS
+2
-1
2 additions, 1 deletion
AUTHORS
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
handlers/rdiff
+2
-2
2 additions, 2 deletions
handlers/rdiff
with
5 additions
and
3 deletions
AUTHORS
+
2
−
1
View file @
e3454782
...
...
@@ -21,4 +21,5 @@ garcondumonde@riseup.net
Martin Krafft madduck@debian.org -- admingroup patch
Anarcat -- lotsa patches
Jamie McClelland -- cstream patches
ale -- ldap cleanup
\ No newline at end of file
ale -- ldap cleanup
Sami Haahtinen <ressu@ressukka.net>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ChangeLog
+
1
−
0
View file @
e3454782
...
...
@@ -24,6 +24,7 @@ version 0.9.5 -- unreleased
rdiff:
. Added cstream support to allow for bandwidth limiting
. Handle "keep = yes" to disable old backups removal (Closes: #424633)
. Ignore rdiff-backup minor versions (thanks Sami Haahtinen)
rub
. Fixed typo in rub handler that caused it to not work
. Changed to use lib/vserver code
...
...
This diff is collapsed.
Click to expand it.
handlers/rdiff
+
2
−
2
View file @
e3454782
...
...
@@ -32,12 +32,12 @@ function get_version() {
# if user or host is missing, returns the local version.
if
[
"$#"
-lt
2
]
;
then
debug
"
$RDIFFBACKUP
-V"
echo
`
$RDIFFBACKUP
-V
`
echo
`
$RDIFFBACKUP
-V
|
cut
-d
.
-f1
,2
`
else
local
user
=
$1
local
host
=
$2
debug
"ssh
$sshoptions
$host
-l
$user
'
$RDIFFBACKUP
-V'"
echo
`
ssh
$sshoptions
$host
-l
$user
"
$RDIFFBACKUP
-V | grep rdiff-backup"
`
echo
`
ssh
$sshoptions
$host
-l
$user
"
$RDIFFBACKUP
-V | grep rdiff-backup
| cut -d. -f1,2
"
`
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