Rsync backup issues using relative paths and LVM snapshots

Henri Shustak henri.shustak at gmail.com
Mon Jul 19 16:17:46 MDT 2010


>> I did think about remotely executing a mkdir before the backup, but one blocker is that I will be using Thecus NAS boxes as some off-site locations and I don't have shell access.
> 
> You could mkdir the directory locally somewhere (anywhere), and rsync
> just that directory to the remote side, affectively doing a remote mkdir
> via rsync.  Repeat for deeper directories. If the remote directory
> already exist, it shouldn't do any harm.



Great thinking! That would certainly work. Such an elegant approach!

This would even work if you want to create a hierarchy you just need to use the rsync --recursive option.


---------------------------------------------------------------------
This email is protected by LBackup, an open source backup solution. 
Free as in freedom; LBackup is licensed under the GNU GPL
http://www.lbackup.org



More information about the rsync mailing list