Last active
June 14, 2019 16:42
-
-
Save Mohitsharma44/61ab169a7574a6458bcc0d2e7c3d2ed5 to your computer and use it in GitHub Desktop.
Rsync backup for NFS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use this instead of -a when backing up to NFS drive since the NFS server | |
| # doesn't always have same UID or GID as the system that the drive is mounted on. | |
| # This will preserve time but not ownership | |
| rsync -rlptDP --ignore-existing source/ dest/ |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get files with particular extensions: