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
a74db16e
Commit
a74db16e
authored
13 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
Fix typos.
parent
7c4d7e4d
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
examples/example.rsync
+2
-2
2 additions, 2 deletions
examples/example.rsync
handlers/rsync.in
+2
-2
2 additions, 2 deletions
handlers/rsync.in
handlers/wget
+3
-3
3 additions, 3 deletions
handlers/wget
with
7 additions
and
7 deletions
examples/example.rsync
+
2
−
2
View file @
a74db16e
...
...
@@ -116,7 +116,7 @@ exclude_vserver = excluded_vserver2
# if set to 1, compress data on rsync (remote source only)
#compress = 0
# set a ba
d
nwidth limit in KB/s (remote source only)
# set a ban
d
width limit in KB/s (remote source only)
#bandwidthlimit =
# remote rsync program (remote source only)
...
...
@@ -169,7 +169,7 @@ exclude_vserver = excluded_vserver2
# ssh key file (remote destination only)
#id_file = /root/.ssh/id_dsa
# set a ba
d
nwidth limit in KB/s (remote destination only)
# set a ban
d
width limit in KB/s (remote destination only)
#bandwidthlimit =
# remote rsync program (remote dest only)
...
...
This diff is collapsed.
Click to expand it.
handlers/rsync.in
+
2
−
2
View file @
a74db16e
...
...
@@ -60,7 +60,7 @@
# exclude_vserver = vserver-name (valid only if vservers = yes on backupninja.conf)
# numericids = when set to 1, use numeric ids instead of user/group mappings on rsync
# compress = if set to 1, compress data on rsync (remote source only)
# bandwidthlimit = set a ba
d
nwidth limit in KB/s (remote source only)
# bandwidthlimit = set a ban
d
width limit in KB/s (remote source only)
# remote_rsync = remote rsync program (remote source only)
# id_file = ssh key file (remote source only)
# batch = set to "yes" to rsync use a batch file as source
...
...
@@ -79,7 +79,7 @@
# port = remote port number (remote destination only)
# user = remote user name (remote destination only)
# id_file = ssh key file (remote destination only)
# bandwidthlimit = set a ba
d
nwidth limit in KB/s (remote destination only)
# bandwidthlimit = set a ban
d
width limit in KB/s (remote destination only)
# remote_rsync = remote rsync program (remote dest only)
# batch = set to "yes" to rsync write a batch file from the changes
# batchbase = folder where the batch file should be written
...
...
This diff is collapsed.
Click to expand it.
handlers/wget
+
3
−
3
View file @
a74db16e
...
...
@@ -26,7 +26,7 @@
# wget = wget program
# wget_options = wget command options
# url = remote data url
# bandwidthlimit = set a ba
d
nwidth limit in kbps (remote source only)
# bandwidthlimit = set a ban
d
width limit in kbps (remote source only)
#
# [destination]
# folder = local folder
...
...
@@ -182,8 +182,8 @@ echo "Rotating $backupdir/$folder/$folder..." >> $log
rotate
$backupdir
/
$folder
/
$folder
$keep
info
"Wget'ing
$SECTION
on
$backupdir
/
$folder
/
$folder
.0..."
if
[
!
-z
"
$ba
d
nwidth
"
]
;
then
limit_rate
=
"--limit-rate=
$ba
d
nwidth
""k"
if
[
!
-z
"
$ban
d
width
"
]
;
then
limit_rate
=
"--limit-rate=
$ban
d
width
""k"
fi
cd
$backupdir
/
$folder
/
$folder
.0
...
...
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