rsync-over-ssh | bash script for the Linux home user | Incremental Backup library
kandi X-RAY | rsync-over-ssh Summary
kandi X-RAY | rsync-over-ssh Summary
Brett Alton brett.jr.alton@gmail.com INFO: * you can either run this script using 'run' then 'push' or 'pull', you can install it using 'install' then 'push' or 'pull' or you can choose the 'uninstall' option to remove previously installed files * if rsync/ssh are both prompting you for your password and it should be automatic, run 'rsync.sh uninstall' and then try again. DIRECTORIES CREATED: * $HOME/ * bin * cron * logs. USAGE: ./rsync.sh ['uninstall' | 'install' | 'run'] ['push' | 'pull'] [local_dir] [remote_user] [remote_host] [remote_dir] [remote_ssh_port].
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rsync-over-ssh
rsync-over-ssh Key Features
rsync-over-ssh Examples and Code Snippets
Community Discussions
Trending Discussions on rsync-over-ssh
QUESTION
I am working on a load balanced WordPress site and am using the Yoast plugin to allow the clients to add redirects to the .htaccess file via the staging admin site.
The problem is that this will only add the redirects to the .htaccess file in the staging admin project (the staging admin site is only on one server).
Is there a recommended way to keep the .htaccess files between the load balanced site in sync so that the redirects are added to each file?
Or is this something I will need to write a program to do?
** Solution Update **
Thanks to veNuker I was able to get a cron job running that copies the modified .htaccess over to the remote servers using rsync. I didn't realise that rsync only works if the file has changes, so this truly is a great solution.
My cron task looked similar to this:
...ANSWER
Answered 2017-Oct-25 at 15:27Add a cron job for it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rsync-over-ssh
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page