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
a76cc2f5
Commit
a76cc2f5
authored
16 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
fix location of deleted_on file and add missing destid_file options in maildir handler
parent
c4f2b1d4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+6
-2
6 additions, 2 deletions
ChangeLog
handlers/maildir.in
+3
-3
3 additions, 3 deletions
handlers/maildir.in
with
9 additions
and
5 deletions
ChangeLog
+
6
−
2
View file @
a76cc2f5
version 0.9.7 -- UNRELEASED
version 0.9.7 -- UNRELEASED
backupninja changes
backupninja changes
. fix bug in reportspace, thanks Dan Garthwaite
. fix bug in reportspace, thanks Dan Garthwaite
handler changes
maildir:
. fix location of deleted_on file
. add missing destid_file options to ssh connections
version 0.9.6 -- July 21, 2008
version 0.9.6 -- July 21, 2008
backupninja changes
backupninja changes
...
@@ -216,7 +220,7 @@ version 0.9.4 -- October 6th, 2006
...
@@ -216,7 +220,7 @@ version 0.9.4 -- October 6th, 2006
sshoptions (Closes: #388543)
sshoptions (Closes: #388543)
. Now forbid to (try to) include /.
. Now forbid to (try to) include /.
sys:
sys:
. Many more system checks were added, (thanks to Petr Kl
í
ma)
. Many more system checks were added, (thanks to Petr Kl
ím
a)
. Added warning if no devices were found (thanks Ranier Zocholl)
. Added warning if no devices were found (thanks Ranier Zocholl)
. Enhanced debian package selections to include purged packages (thanks
. Enhanced debian package selections to include purged packages (thanks
Tom Hoover)
Tom Hoover)
...
@@ -337,7 +341,7 @@ version 0.9.2 -- December 29, 2005
...
@@ -337,7 +341,7 @@ version 0.9.2 -- December 29, 2005
version 0.9.1 -- November 05 2005
version 0.9.1 -- November 05 2005
rearranged source so that it is relocatable with autotools
rearranged source so that it is relocatable with autotools
(thanks to Petr Kl
í
ma petr.klima@madeta-group.cz)
(thanks to Petr Kl
ím
a petr.klima@madeta-group.cz)
fixed many bugs in rdiff helper
fixed many bugs in rdiff helper
rdiff handler does not require 'label' (for real this time?)
rdiff handler does not require 'label' (for real this time?)
added makecd ninjahelper
added makecd ninjahelper
...
...
This diff is collapsed.
Click to expand it.
handlers/maildir.in
+
3
−
3
View file @
a76cc2f5
...
@@ -132,12 +132,12 @@ function do_remove() {
...
@@ -132,12 +132,12 @@ function do_remove() {
cd
"
$srcdir
"
cd
"
$srcdir
"
for
userdir
in
`
ls
-d1
*
/
`
;
do
for
userdir
in
`
ls
-d1
*
/
`
;
do
ls
-1
"
$srcdir
/
$userdir
"
|
sort
>
$tmp1
ls
-1
"
$srcdir
/
$userdir
"
|
sort
>
$tmp1
ssh
-p
$destport
$destuser
@
$desthost
ls
-1
"
$destdir
/
$userdir
"
|
sort
>
$tmp2
ssh
-p
$destport
-i
$destid_file
$destuser
@
$desthost
ls
-1
"
$destdir
/
$userdir
"
|
sort
>
$tmp2
for
deluser
in
`
join
-v
2
$tmp1
$tmp2
`
;
do
for
deluser
in
`
join
-v
2
$tmp1
$tmp2
`
;
do
[
"
$deluser
"
!=
""
]
||
continue
[
"
$deluser
"
!=
""
]
||
continue
info
"removing
$destuser
@
$desthost
:
$destdir
/
$userdir$deluser
/"
info
"removing
$destuser
@
$desthost
:
$destdir
/
$userdir$deluser
/"
ssh
-p
$destport
$destuser
@
$desthost
mv
"
$destdir
/
$userdir$deluser
/"
"
$destdir
/deleted"
ssh
-p
$destport
-i
$destid_file
$destuser
@
$desthost
mv
"
$destdir
/
$userdir$deluser
/"
"
$destdir
/deleted"
ssh
-p
$destport
-i
$destid_file
$destuser
@
$desthost
"date +%c%n%s > '
$destdir
/
$userdir
$deluser
/deleted_on'"
ssh
-p
$destport
-i
$destid_file
$destuser
@
$desthost
"date +%c%n%s > '
$destdir
/
deleted/
$deluser
/deleted_on'"
done
done
done
done
rm
$tmp1
rm
$tmp1
...
...
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