Line 33:
Line 33:
[src]# scp -r <path-to-images-dir> <dst>:/<path-to-images>
[src]# scp -r <path-to-images-dir> <dst>:/<path-to-images>
+
+
or using rsync
+
+
[src]# rsync -rl <path-to-images-dir>/ <dst>:<path-to-images>
+
+
Note: It is important to enable "copy symlinks as symlinks" (<code>-l</code> for <code>rsync</code>) to ensure that symlinks are preserved between previous directories. When <code>-r</code> is passed to <code>scp</code> it will follow symbolic links encountered in the tree traversal.
=== Restore ===
=== Restore ===