SSTS Blog
Some news and tidbits that we share
Recently I had to copy a directory structure including a mysql database. The problem I ran into was permissions were not preserved (despite using the -a option). I then came across an option to sudo which preserved the permissions.
- time rsync -avh -E --progress --rsync-path="sudo rsync" user@remote_hist:/mnt/database-backups/BAK
Tags: Untagged
Hits: 8546
Comments
Please login first in order for you to submit comments