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
Package registry
Model registry
Operate
Terraform modules
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
raT
backupninja
Commits
ea79f006
Commit
ea79f006
authored
17 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
add example.rsync and updated rsync handler from rhatto
parent
421c1bb7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
examples/Makefile.am
+1
-1
1 addition, 1 deletion
examples/Makefile.am
handlers/rsync.in
+4
-3
4 additions, 3 deletions
handlers/rsync.in
with
6 additions
and
4 deletions
ChangeLog
+
1
−
0
View file @
ea79f006
...
@@ -45,6 +45,7 @@ version 0.9.5 -- unreleased
...
@@ -45,6 +45,7 @@ version 0.9.5 -- unreleased
. Renamed handler to 'rsync', replaces outdated rub handler
. Renamed handler to 'rsync', replaces outdated rub handler
. updated examples/Makefile.am and handlers/Makefile.am to include
. updated examples/Makefile.am and handlers/Makefile.am to include
rsnap/rsync (Closes: #440554)
rsnap/rsync (Closes: #440554)
. Added example.rsync configuration file
sys:
sys:
. Fixed typo breaking things for VServers.
. Fixed typo breaking things for VServers.
. Fix bug when vrootdir is on its own partition (Closes: #395928)
. Fix bug when vrootdir is on its own partition (Closes: #395928)
...
...
This diff is collapsed.
Click to expand it.
examples/Makefile.am
+
1
−
1
View file @
ea79f006
EXAMPLES
=
example.dup example.ldap example.makecd example.mysql
\
EXAMPLES
=
example.dup example.ldap example.makecd example.mysql
\
example.pgsql example.rdiff example.sh
\
example.pgsql example.rdiff example.sh
example.rsync
\
example.svn example.sys example.trac
example.svn example.sys example.trac
EXTRA_DIST
=
$(
EXAMPLES
)
EXTRA_DIST
=
$(
EXAMPLES
)
...
...
This diff is collapsed.
Click to expand it.
handlers/rsync.in
+
4
−
3
View file @
ea79f006
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
# backupdir = folder relative do $mountpoint where the backup should be stored
# backupdir = folder relative do $mountpoint where the backup should be stored
# days = number of backup increments (min = 5)
# days = number of backup increments (min = 5)
# lockfile = lockfile to be kept during backup execution
# lockfile = lockfile to be kept during backup execution
# nicelevel = rsync command nice level
# enable_mv_timestamp_bug = set to "yes" if your system isnt handling timestamps correctly
# enable_mv_timestamp_bug = set to "yes" if your system isnt handling timestamps correctly
# tmp = temp folder
# tmp = temp folder
#
#
...
@@ -34,7 +35,7 @@
...
@@ -34,7 +35,7 @@
# numericids = when set to 1, use numeric ids instead of user/group mappings on rsync
# 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)
# compress = if set to 1, compress data on rsync (remote source only)
# bandwidthlimit = set a badnwidth limit in kbps (remote source only)
# bandwidthlimit = set a badnwidth limit in kbps (remote source only)
# remote_rsync = remo
v
e rsync program (remote source only)
# remote_rsync = remo
t
e rsync program (remote source only)
#
#
# [services]
# [services]
# initscripts = absolute path where scripts are located
# initscripts = absolute path where scripts are located
...
@@ -63,7 +64,7 @@ getconf mv mv
...
@@ -63,7 +64,7 @@ getconf mv mv
getconf fsck fsck
getconf fsck fsck
setsection general
setsection general
getconf log /var/log/backup
ninja-
rsync.log
getconf log /var/log/backup
/
rsync.log
getconf partition
getconf partition
getconf fscheck
getconf fscheck
getconf read_only
getconf read_only
...
@@ -100,7 +101,7 @@ getconf service
...
@@ -100,7 +101,7 @@ getconf service
function rotate {
function rotate {
if [[ "$2"
-lt
4 ]]; then
if [[ "$2"
<
4 ]]; then
error "Rotate: minimum of 4 rotations"
error "Rotate: minimum of 4 rotations"
exit 1
exit 1
fi
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