Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Affa
(view source)
Revision as of 15:33, 11 January 2022
78 bytes added
,
15:33, 11 January 2022
→Restore single files or directories
Line 1,016:
Line 1,016:
export RDIR=/home/e-smith/files/users/briedlin/Maildir/.orders/ ''# this variable is used to shorten the next command line''
export RDIR=/home/e-smith/files/users/briedlin/Maildir/.orders/ ''# this variable is used to shorten the next command line''
−
rsync -av -e 'ssh -p 2222' /var/affa/primmail/daily.0/$RDIR 10.204.48.1:$RDIR
+
rsync -av -e 'ssh
-i /root/.ssh/id_rsa_affa
-p 2222' /var/affa/primmail/daily.0/$RDIR 10.204.48.1:$RDIR
Line 1,031:
Line 1,031:
export RFILE=/home/e-smith/files/ibays/docs/files/orderform.pdf ''# this variable is used to shorten the next command line''
export RFILE=/home/e-smith/files/ibays/docs/files/orderform.pdf ''# this variable is used to shorten the next command line''
−
rsync -av -e 'ssh -p 2222' /var/affa/prodserv/weekly.1/$RFILE 10.204.48.1:$RFILE
+
rsync -av -e 'ssh
-i /root/.ssh/id_rsa_affa
-p 2222' /var/affa/prodserv/weekly.1/$RFILE 10.204.48.1:$RFILE
Line 1,043:
Line 1,043:
If the servers are configured to use a different ssh port eg 2222, then instead do:
If the servers are configured to use a different ssh port eg 2222, then instead do:
−
rsync -av -e 'ssh -p 2222' "/var/affa/fileshare/daily.4/home/e-smith/files/ibays/mechfiles/files/Valve Control (Design Gr)/VALVE LIST FOR ISSUED.xls" "192.168.1.7:/home/e-smith/files/ibays/mechfiles/files/Valve\\ Control\\ \(Design\\ Gr\)/VALVE\\ LIST\\ FOR\\ ISSUED.xls"
+
rsync -av -e 'ssh
-i /root/.ssh/id_rsa_affa
-p 2222' "/var/affa/fileshare/daily.4/home/e-smith/files/ibays/mechfiles/files/Valve Control (Design Gr)/VALVE LIST FOR ISSUED.xls" "192.168.1.7:/home/e-smith/files/ibays/mechfiles/files/Valve\\ Control\\ \(Design\\ Gr\)/VALVE\\ LIST\\ FOR\\ ISSUED.xls"
====Full restore====
====Full restore====
Gieres
3,069
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version