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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lyz
backupninja
Commits
88541957
Commit
88541957
authored
17 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
added local support to rdiff helper
parent
3f2a8266
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
handlers/rdiff.helper.in
+6
-0
6 additions, 0 deletions
handlers/rdiff.helper.in
with
7 additions
and
0 deletions
ChangeLog
+
1
−
0
View file @
88541957
...
@@ -41,6 +41,7 @@ version 0.9.5 -- unreleased
...
@@ -41,6 +41,7 @@ version 0.9.5 -- unreleased
. Handle "keep = yes" to disable old backups removal (Closes: #424633)
. Handle "keep = yes" to disable old backups removal (Closes: #424633)
. Add configuration option to allow you to disable the version check
. Add configuration option to allow you to disable the version check
as in some instances this may be an ok scenario (Closes: #424632)
as in some instances this may be an ok scenario (Closes: #424632)
. Added local destination support to helper (Closes: Trac#4)
rub/rsync
rub/rsync
. Fixed typo in rub handler that caused it to not work
. Fixed typo in rub handler that caused it to not work
. Changed to use lib/vserver code
. Changed to use lib/vserver code
...
...
This diff is collapsed.
Click to expand it.
handlers/rdiff.helper.in
+
6
−
0
View file @
88541957
...
@@ -112,6 +112,7 @@ do_rdiff_dest() {
...
@@ -112,6 +112,7 @@ do_rdiff_dest() {
formItem
"dest_directory"
"
$rdiff_directory
"
formItem
"dest_directory"
"
$rdiff_directory
"
formItem
"dest_host"
"
$rdiff_host
"
formItem
"dest_host"
"
$rdiff_host
"
formItem
"dest_user"
"
$rdiff_user
"
formItem
"dest_user"
"
$rdiff_user
"
formItem
"dest_type"
"
$rdiff_type
"
formDisplay
formDisplay
[
$?
=
0
]
||
return
[
$?
=
0
]
||
return
tmp_array
=(
$REPLY
)
tmp_array
=(
$REPLY
)
...
@@ -119,6 +120,7 @@ do_rdiff_dest() {
...
@@ -119,6 +120,7 @@ do_rdiff_dest() {
rdiff_directory
=
${
tmp_array
[1]
}
rdiff_directory
=
${
tmp_array
[1]
}
rdiff_host
=
${
tmp_array
[2]
}
rdiff_host
=
${
tmp_array
[2]
}
rdiff_user
=
${
tmp_array
[3]
}
rdiff_user
=
${
tmp_array
[3]
}
rdiff_type
=
${
tmp_array
[4]
}
done
done
set
+o noglob
set
+o noglob
...
@@ -133,6 +135,9 @@ do_rdiff_ssh_con() {
...
@@ -133,6 +135,9 @@ do_rdiff_ssh_con() {
if
[
"
$_dest_done
"
=
""
]
;
then
if
[
"
$_dest_done
"
=
""
]
;
then
msgBox
"
$rdiff_title
: error"
"You must first configure the destination."
msgBox
"
$rdiff_title
: error"
"You must first configure the destination."
return
return
elif
[
"
$rdiff_type
"
=
""
]
;
then
msgBox
"
$rdiff_title
: error"
"You must first configure the destination backup type."
return
elif
[
"
$rdiff_user
"
=
""
]
;
then
elif
[
"
$rdiff_user
"
=
""
]
;
then
msgBox
"
$rdiff_title
: error"
"You must first configure the destination user."
msgBox
"
$rdiff_title
: error"
"You must first configure the destination user."
return
return
...
@@ -386,6 +391,7 @@ rdiff_wizard() {
...
@@ -386,6 +391,7 @@ rdiff_wizard() {
_adv_done
=
_adv_done
=
rdiff_keep
=
60D
rdiff_keep
=
60D
rdiff_directory
=
/backup/
`
hostname
`
rdiff_directory
=
/backup/
`
hostname
`
rdiff_type
=
remote
rdiff_user
=
rdiff_user
=
rdiff_host
=
rdiff_host
=
...
...
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