Skip to content

Commit eb5c3c8

Browse files
committed
Update docs for info on rsync error 23
1 parent 8b25fda commit eb5c3c8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/arguments.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,12 @@ There are many `rsync` [arguments](https://linux.die.net/man/1/rsync) that be be
744744
RSYNC_CUSTOM_ARGS=--exclude='*.log' --exclude='*.txt'
745745
```
746746

747+
!!! tip "Symlinks on unsupported filesystems"
748+
If your destination doesn't support symlinks (e.g. SMB, FAT/exFAT), rsync will exit with code 23. All regular files are still backed up — only symlinks are skipped, which is normal. Use `--no-links` to suppress the error.
749+
```properties
750+
RSYNC_CUSTOM_ARGS=--no-links
751+
```
752+
747753
The `RSYNC_CUSTOM_ARGS` will be inserted after the `$DEFAULT_RSYNC_ARGS` as shown:
748754
```bash
749755
rsync $DEFAULT_RSYNC_ARGS $RSYNC_CUSTOM_ARGS $src_dir/ $dest_dir/

0 commit comments

Comments
 (0)