Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iml-backup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
IML Open Source
iml-backup
Commits
4c00dce0
Commit
4c00dce0
authored
4 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
localdump - change headers
parent
c01bb32d
No related branches found
No related tags found
1 merge request
!9
Version 2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
localdump.sh
+2
-2
2 additions, 2 deletions
localdump.sh
with
2 additions
and
2 deletions
localdump.sh
+
2
−
2
View file @
4c00dce0
...
...
@@ -68,7 +68,7 @@
# cleanup a backup dir: remove old files and delete empty dirs
function
cleanup_backup_target
(){
echo
h
2
"CLEANUP
${
BACKUP_TARGETDIR
}
older
$BACKUP_KEEP_DAYS
days ..."
h
3
"CLEANUP
${
BACKUP_TARGETDIR
}
older
$BACKUP_KEEP_DAYS
days ..."
if
[
-d
"
${
BACKUP_TARGETDIR
}
"
]
;
then
echo
find
"
${
BACKUP_TARGETDIR
}
"
-mtime
+
$BACKUP_KEEP_DAYS
-delete
-print
color cmd
...
...
@@ -138,7 +138,7 @@
function
show_info_backup_target
(){
echo
h
2
"INFO about backup target
${
BACKUP_TARGETDIR
}
"
h
3
"INFO about backup target
${
BACKUP_TARGETDIR
}
"
if
[
-d
"
${
BACKUP_TARGETDIR
}
"
]
;
then
echo
-n
"used space: "
...
...
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