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
06b65414
Commit
06b65414
authored
19 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
added the makecd ninjahelper, and updated the Authors
parent
69c09d91
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
+6
-7
6 additions, 7 deletions
AUTHORS
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
handlers/makecd.helper
+101
-0
101 additions, 0 deletions
handlers/makecd.helper
with
109 additions
and
7 deletions
AUTHORS
+
6
−
7
View file @
06b65414
BACKUPNINJA was written by the Riseup Collective: intellectual property is theft.
Contributor
s:
Ninja
s:
elijah@riseup.net -- original code
micah@riseup.net -- debian package, vserver support
stefani@riseup.net -- makecd handler
-- pgsql handler
intrigeri -- dup handler
elijah@riseup.net -- original code, bug fixes, man pages
micah@riseup.net -- debian package, vserver support, bug fixes
stefani@riseup.net -- makecd handler, pgsql handler, man pages
intrigeri -- dup handler, vserver support, bug fixes
Charles Lepple -- trac handler
Petr Klma -- autotools support
Patches:
petr.klima@madeta-group.cz
cmccallum@thecsl.org
Daniel.Bonniot@inria.fr
This diff is collapsed.
Click to expand it.
ChangeLog
+
2
−
0
View file @
06b65414
...
...
@@ -3,6 +3,8 @@ version 0.9.1 -- unreleased
(thanks to Petr Klíma petr.klima@madeta-group.cz)
fixed many bugs in rdiff helper
rdiff handler does not require 'label' (for real this time?)
added makecd ninjahelper
(thanks to Stefani stefani@riseup.net)
version 0.9 -- October 19 2005
*** IMPORTANT CHANGE, UPGRADE AT ONCE ***
...
...
This diff is collapsed.
Click to expand it.
handlers/makecd.helper
0 → 100644
+
101
−
0
View file @
06b65414
HELPERS="$HELPERS makecd:makecd_backup"
wizardname="makecd action wizard"
declare -a makecd_excludes
makecd_wizard() {
inputBox "$wizardname" "specify a burner type cd or dvd:"
[ $? = 1 ] && return
burnertype="burnertype = $REPLY"
#checkBox "makecd action wizard" "check options" \
# "isoonly" "only create iso image do not burn" yes
#status=$?
#[ $status = 1 ] && return;
#isoonly="isoonly = $REPLY"
booleanBox "$wizardname" "Make iso image only? or burn"
if [ $? = 0 ]; then
isoonly="isoonly = yes"
else
isoonly="isoonly = no"
fi
# backupdir
inputBox "$wizardname" "Directory where to store the backups:"
[ $? = 1 ] && return
backupdir="backupdir = $REPLY"
inputBox "$wizardname" "what name to give to the image file?"
[ $? = 1 ] && return
imagefile="imagefile = $REPLY"
inputBox "$wizardname" "specify a burner device:"
[ $? = 1 ] && return
device="device = $REPLY"
# target - root of system to be included
inputBox "$wizardname" "root of filesystem for burn:"
[ $? = 1 ] && return
target="target = $REPLY"
# excludes
formBegin "$wizardname: excludes"
for ((i=0; i < ${#makecd_excludes[@]} ; i++)); do
formItem exclude ${makecd_excludes[$i]}
done
formItem exclude
formItem exclude
formItem exclude
formItem exclude
formItem exclude
formItem exclude
formItem exclude
formItem exclude
formItem exclude
formDisplay
[ $? = 1 ] && return;
unset makecd_excludes
makecd_excludes=($REPLY)
get_next_filename $configdirectory/20.makecd
cat >> $next_filename <<EOF
# TYP is cd or dvd AS WELL AS the disk inside!!
$burnertype
# not yet supported
system = no
# iso or burn to cd/dvd?
$isoonly
# location for image file
$backupdir
# image filename
$imagefile
# cd/dvd burner device
$device
# dirs/files to include in the backup
$target
# directories/files to be excluded
# exclude = /proc
# exclude = /sys
# exclude = /dev
EOF
for ((j=0; j < ${#makecd_excludes[@]} ; j++)); do
echo "exclude = ${makecd_excludes[$j]}" >> $next_filename
done
chmod 600 $next_filename
}
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