Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
da90b498
Commit
da90b498
authored
Jun 19, 2014
by
Igor Pečovnik
Browse files
backup vmail
parent
d5ae0f01
Changes
1
Hide whitespace changes
Inline
Side-by-side
backup and restore/backup.sh
View file @
da90b498
...
@@ -66,6 +66,15 @@ service samba stop
...
@@ -66,6 +66,15 @@ service samba stop
/etc/init.d/vpnserver stop
/etc/init.d/vpnserver stop
# backup only minimum
# backup only minimum
tar
cvPfz
$COPY_TO
/
$FILEBACKUPNAME
-allfiles
.tgz
-T
filelist.txt
--exclude
=
'*.sock'
tar
cvPfz
$COPY_TO
/
$FILEBACKUPNAME
-allfiles
.tgz
-T
filelist.txt
--exclude
=
'*.sock'
echo
""
;
echo
"************************************"
;
echo
" MAIL BACKUP"
;
echo
"************************************"
;
echo
""
;
#
tar
cvPfz
$COPY_TO
/
$FILEBACKUPNAME
-mail
.tgz /var/vmail
#
#
service dovecot start
service dovecot start
service cups start
service cups start
...
...
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