Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
apisub
Commits
850610eb
Commit
850610eb
authored
Dec 03, 2019
by
Stephane Crozat
Browse files
Changing to apisub for backuping user
parent
c8c0e5e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
sh/apisub_ssh.sh
View file @
850610eb
...
...
@@ -3,8 +3,7 @@
# crontab -e : 5 * * * * /media/stc/data/git/apisub/sql/apisub_ssh.sh
src
=
'/home/apisub/backup/'
dest
=
'/home/apisub/backup/'
#user='apisub'
user
=
'root'
user
=
'apisub'
host
=
'bdu.crzt.fr'
echo
"rsync
$src
/*
$user
@
$host
:
$dest
"
rsync
$src
/
*
$user
@
$host
:/
$dest
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