Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lysator
LYSrdiff
Commits
4b093966
Commit
4b093966
authored
Dec 04, 2008
by
Per Jonsson
Committed by
Per Cederqvist
Jul 25, 2014
Browse files
Updated the config for Lysator.
* fetch-backup-work: For mail, backup from bernadotte instead of lenin.
parent
0b9d6a06
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4b093966
2008-12-04 Per Jonsson <poj@lysator.liu.se>
Updated the config for Lysator.
* fetch-backup-work: For mail, backup from bernadotte instead of
lenin.
2008-09-25 Per Cederqvist <ceder@shafan.lysator.liu.se>
Updated the config for Lysator.
...
...
fetch-backup-work
View file @
4b093966
...
...
@@ -85,15 +85,21 @@ ssh hanna 'cd /export/hanna/ftp/pub && ls -1 | while read d ; do [ -d "$d" ] &&
echo
medreg sqldump wrath /var/lib/mysql-dump
>>
$NT
# Tidigare Mail
echo
lenin root lenin /
>>
$NT
echo
lenin var lenin /var
>>
$NT
echo
lenin var-log lenin /var/log
>>
$NT
echo
lenin var-spool-postfix lenin /var/spool/postfix
>>
$NT
echo
lenin var-lib-mailman lenin /var/lib/mailman
>>
$NT
ssh lenin
'cd /home && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done'
\
# Mail
echo
bernadotte var-log bernadotte /var/log
>>
$NT
echo
bernadotte var-spool-postfix bernadotte /var/spool/postfix
>>
$NT
echo
bernadotte var-lib-mailman bernadotte /var/lib/mailman
>>
$NT
ssh bernadotte
'cd /home && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done'
\
|
grep
-v
DELETE
\
|
awk
'{ print "mail", $1, "
lenin
", "/home/" $1 }'
\
|
awk
'{ print "mail", $1, "
bernadotte
", "/home/" $1 }'
\
|
sort
>>
$NT
# Datorhandbok.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment